Comment 6 for bug 1398874

Revision history for this message
Edward Hope-Morley (hopem) wrote : Re: cinder charm fails to install correctly

Having now looked at the deployment I understand what has happened. The errors in the cinder-volume logs about db connections and volume-groups not found are from the time between cinder being installed (install hook) and cinder being configured i.e. config-changed and ceph-relation-joined since you have added ceph as a relation. So, your cinder service is actually working - I was able create a volume successfully and checked that it was created in ceph. The errors you were seeing are a red herring. While things do not appear to actually be broken, we could improve things by ensuring that the cinder-volume service is only started once the config-changed hook has run but, in your case it would not have stopped the errors since you needed the ceph relation to complete for cinder-volume to work properly.