Charm doesn't reacts to new ceph units

Bug #1446793 reported by Jorge Niedbalski
6
This bug affects 1 person
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:
        openstack-origin: cloud:trusty-kilo
        block-device: 'None'
        glance-api-version: 1

    cinder-ceph:
      branch: lp:charms/cinder-ceph

    ceph:
      branch: lp:~openstack-charmers/charms/trusty/ceph/next
      num_units: 3
      constraints: mem=1G
      options:
        monitor-count: 3
        fsid: 6547bd3e-1397-11e2-82e5-53567c8d32dc
        monitor-secret: AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ==
        osd-devices: /dev/vdb
        osd-reformat: 'yes'
        ephemeral-unmount: /mnt
  relations:

[ Reproduction ]

1) After deployment, all the cinder units have a correct ceph mon settings:

root@juju-niedbalski2-machine-32:/home/ubuntu# more /etc/ceph/ceph.conf
###############################################################################
# [ WARNING ]
# cinder configuration file maintained by Juju
# local changes may be overwritten.
###############################################################################
[global]
auth_supported = cephx
 keyring = /etc/ceph/$cluster.$name.keyring
 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

Revision history for this message
James Page (james-page) wrote :

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.

Changed in cinder-ceph (Juju Charms Collection):
importance: Undecided → High
Revision history for this message
James Page (james-page) wrote :

Confirmed; new monitors are not correctly written to the ceph.conf file.

Changed in cinder-ceph (Juju Charms Collection):
status: New → Confirmed
milestone: none → 15.10
Revision history for this message
James Page (james-page) wrote :

I suspect this will also impact nova-compute and glance - so raising tasks there as well

Changed in glance (Juju Charms Collection):
status: New → Triaged
importance: Undecided → High
Changed in cinder-ceph (Juju Charms Collection):
status: Confirmed → Triaged
Changed in glance (Juju Charms Collection):
milestone: none → 15.10
Changed in nova-compute (Juju Charms Collection):
status: New → Invalid
Revision history for this message
James Page (james-page) wrote :

nova-compute is not impacted - but glance is.

Revision history for this message
James Page (james-page) wrote :

Its possible that the proposed fixes for bug 1453940 will also resolve this problem.

Revision history for this message
Edward Hope-Morley (hopem) wrote :

Since the fix for bug 1453940 has now landed, please retest and let us know if the problem still exists.

Changed in cinder-ceph (Juju Charms Collection):
milestone: 15.10 → none
Changed in glance (Juju Charms Collection):
milestone: 15.10 → none
status: Triaged → Incomplete
Changed in cinder-ceph (Juju Charms Collection):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cinder-ceph (Juju Charms Collection) because there has been no activity for 60 days.]

Changed in cinder-ceph (Juju Charms Collection):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for glance (Juju Charms Collection) because there has been no activity for 60 days.]

Changed in glance (Juju Charms Collection):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.