gnocchi not able to connect to ceph cluster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Monitor Charm |
Fix Released
|
High
|
James Page |
Bug Description
Following stacktrace is seen when gnocchi attempts to sync its ceph storage:
unit-gnocchi-0: 11:06:57 DEBUG unit.gnocchi/
unit-gnocchi-0: 11:06:57 DEBUG unit.gnocchi/
unit-gnocchi-0: 11:06:57 DEBUG unit.gnocchi/
unit-gnocchi-0: 11:06:57 DEBUG unit.gnocchi/
unit-gnocchi-0: 11:06:57 DEBUG unit.gnocchi/
unit-gnocchi-0: 11:06:57 DEBUG unit.gnocchi/
unit-gnocchi-0: 11:06:57 DEBUG unit.gnocchi/
unit-gnocchi-0: 11:06:57 DEBUG unit.gnocchi/
unit-gnocchi-0: 11:06:57 DEBUG unit.gnocchi/
unit-gnocchi-0: 11:06:57 DEBUG unit.gnocchi/
unit-gnocchi-0: 11:06:57 DEBUG unit.gnocchi/
unit-gnocchi-0: 11:06:57 DEBUG unit.gnocchi/
unit-gnocchi-0: 11:06:57 DEBUG unit.gnocchi/
unit-gnocchi-0: 11:07:57 DEBUG unit.gnocchi/
unit-gnocchi-0: 11:07:57 DEBUG unit.gnocchi/
This is not actually due to the gnocchi charm; the ceph-mon charm executes the client_relation handler outside of the original hook context for the gnocchi/ceph-mon relation instance - in this case its done inside of the ceph-osd relation - the key on the side has an id of 'ceph-osd' but is created with an id of 'gnocchi' on the consuming side resulting in it being rejected.
affects: | charm-gnocchi → charm-ceph-mon |
Changed in charm-ceph-mon: | |
milestone: | none → 19.04 |
Changed in charm-ceph-mon: | |
status: | Fix Committed → Fix Released |
https:/ /review. openstack. org/#/c/ 643006/