Changed 'nova-compute' to 'nova-common' to match charmhelpers.

The parsing of 'nova-compute' instead of 'nova-common' was causing 
the ceph-relation-joined hook to error when relations to ceph:client
were made.

Partially fixes Bug #1509267
This commit is contained in:
James Beedy 2015-10-23 02:13:01 -07:00
parent 5e06a36617
commit 66a7812f53

View File

@ -157,7 +157,7 @@ class NovaComputeVirtContext(context.OSContextGenerator):
def assert_libvirt_imagebackend_allowed():
os_rel = "Juno"
os_ver = get_os_version_package('nova-compute')
os_ver = get_os_version_package('nova-common')
if float(os_ver) < float(get_os_version_codename(os_rel.lower())):
msg = ("Libvirt RBD imagebackend only supported for openstack >= %s" %
os_rel)