Comment 0 for bug 1453940

Revision history for this message
Andreas Hasenack (ahasenack) wrote : OSA run: glance related to ceph got an empty ceph.conf

This is almost identical to https://bugs.launchpad.net/charms/+source/cinder/+bug/1453934. The same thing happened, but this time with glance.

After an OSA run, where we relate glance to ceph, glance image upload failed. Further inspection showed that /etc/ceph/ceph.conf on all 3 glance units was basically empty:
"""
###############################################################################
# [ WARNING ]
# glance configuration file maintained by Juju
# local changes may be overwritten.
###############################################################################
[global]
log to syslog =
 err to syslog =
 clog to syslog =
"""

After I manually destroyed the ceph-glance relation, and created it back again, then /etc/ceph/ceph.conf on the 3 glance units had valid configuration:
"""
###############################################################################
# [ WARNING ]
# glance configuration file maintained by Juju
# local changes may be overwritten.
###############################################################################
[global]
auth_supported = cephx
 #keyring = /etc/ceph/$cluster.$name.keyring
 keyring = /etc/ceph/ceph.$name.keyring
 mon host = 10.1.4.142 10.1.4.152 10.1.4.158
log to syslog = false
 err to syslog = false
 clog to syslog = false
"""

And glance was working.

Logs and glance.conf attached.