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:
parent
5e06a36617
commit
66a7812f53
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user