This error occurs when the ceph-relation-joined hook executes, and happens because the package name 'nova-compute' that gets passed to get_os_version_package from assert_libvirt_imagebackend_allowed doesn't match the package name 'nova-common' used in PACKAGE_CODENAMES in charmhelpers.contrib.openstack.utils. This also happens in part due to the incorrect indexing into OPENSTACK_PACKAGES in the nested else clause in get_os_version_package.
*** To replicate this issue, add a relation from nova-compute to ceph.
*** To remedy this issue I have corrected the package name being passed to get_os_version_package in nova_compute_context.py, and touched up the indexing and parsing in charmhelpers.contrib.openstack.utils.
Happening in nova-compute trunk from charm store.
This error occurs when the ceph-relation- joined hook executes, and happens because the package name 'nova-compute' that gets passed to get_os_ version_ package from assert_ libvirt_ imagebackend_ allowed doesn't match the package name 'nova-common' used in PACKAGE_CODENAMES in charmhelpers. contrib. openstack. utils. This also happens in part due to the incorrect indexing into OPENSTACK_PACKAGES in the nested else clause in get_os_ version_ package.
*** To replicate this issue, add a relation from nova-compute to ceph.
*** To remedy this issue I have corrected the package name being passed to get_os_ version_ package in nova_compute_ context. py, and touched up the indexing and parsing in charmhelpers. contrib. openstack. utils.