Charm doesn't reacts to new ceph units
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cinder-ceph (Juju Charms Collection) |
Expired
|
High
|
Unassigned | ||
glance (Juju Charms Collection) |
Expired
|
High
|
Unassigned | ||
nova-compute (Juju Charms Collection) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Environment]
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
[Deployment]
cinder:
branch: lp:~openstack-charmers/charms/trusty/cinder/next
constraints: mem=1G
options:
cinder-ceph:
branch: lp:charms/cinder-ceph
ceph:
branch: lp:~openstack-charmers/charms/trusty/ceph/next
num_units: 3
constraints: mem=1G
options:
fsid: 6547bd3e-
relations:
[ Reproduction ]
1) After deployment, all the cinder units have a correct ceph mon settings:
root@juju-
#######
# [ WARNING ]
# cinder configuration file maintained by Juju
# local changes may be overwritten.
#######
[global]
auth_supported = cephx
keyring = /etc/ceph/
mon host = 10.5.0.163 10.5.0.164 10.5.0.165
log to syslog = none
err to syslog = none
clog to syslog = none
2) After raising 'juju add-unit -n 3 ceph', the new 3 ceph units are not correctly added to the cinder units and
the file /etc/ceph/ceph.conf remains unchanged.
[Workaround]
$ juju remove-relation cinder cinder-ceph
$ juju add-relation cinder cinder-ceph
I think this might be due to the changes made to the charm to support the ceph pool broker; the configuration file is not always written out and I think it should be.