From b2c153bb4f24a530a6cc13163878da11ed059c90 Mon Sep 17 00:00:00 2001 From: James Beedy Date: Fri, 23 Oct 2015 02:13:01 -0700 Subject: [PATCH] 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 --- hooks/nova_compute_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/nova_compute_context.py b/hooks/nova_compute_context.py index 59f824fa..564e79d8 100644 --- a/hooks/nova_compute_context.py +++ b/hooks/nova_compute_context.py @@ -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)