Replacing ceph by ceph-mon leaves old ceph IP in /etc/ceph/ceph.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Cinder Charm |
Triaged
|
High
|
Unassigned |
Bug Description
Environment:
* trusty-mitaka using latest charmstore revs
* single cinder unit, with "vip" set and related to hacluster
* single ceph unit, with no osd devices
When I run the following steps, taken from [1]:
"""
juju deploy --config no-bootstrap=True cs:trusty/ceph-mon
juju add-unit -n2 ceph-mon
# wait until ceph-mon units settle
juju add-relation ceph ceph-mon
# wait until units settle
juju add-relation ceph-mon ceph-osd
# wait until units settle
juju add-relation ceph-mon cinder
juju add-relation ceph-mon glance
juju add-relation ceph-mon nova-compute
# wait until units settle
juju remove-application ceph
"""
When I check glance's /etc/ceph/
juju run --unit cinder/0 hooks/config-
Changed in charm-cinder: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: charm-upgrade |
tags: | removed: charm-upgrade |
Sorry, the above hooks/config- changed run fixed ceph.conf, but the rbd driver could not be initialized. I had to remove/add the relation between cinder and ceph-mon to fix it.