Merge lp:~james-page/charms/trusty/nova-compute/lp1509267-stable into lp:~openstack-charmers-archive/charms/trusty/nova-compute/trunk

Proposed by James Page on 2015-11-23
Status: Merged
Merged at revision: 144
Proposed branch: lp:~james-page/charms/trusty/nova-compute/lp1509267-stable
Merge into: lp:~openstack-charmers-archive/charms/trusty/nova-compute/trunk
Diff against target: 12 lines (+1/-1)
1 file modified
hooks/nova_compute_context.py (+1/-1)
To merge this branch: bzr merge lp:~james-page/charms/trusty/nova-compute/lp1509267-stable
Reviewer Review Type Date Requested Status
Liam Young 2015-11-23 Approve on 2015-11-23
Review via email: mp+278286@code.launchpad.net

Description of the change

Fix issue with version detection with libvirt rbd backend is in use.

To post a comment you must log in.
Liam Young (gnuoy) wrote :

Approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/nova_compute_context.py'
2--- hooks/nova_compute_context.py 2015-11-11 00:12:22 +0000
3+++ hooks/nova_compute_context.py 2015-11-23 08:45:19 +0000
4@@ -166,7 +166,7 @@
5
6 def assert_libvirt_imagebackend_allowed():
7 os_rel = "Juno"
8- os_ver = get_os_version_package('nova-compute')
9+ os_ver = get_os_version_package('nova-common')
10 if float(os_ver) < float(get_os_version_codename(os_rel.lower())):
11 msg = ("Libvirt RBD imagebackend only supported for openstack >= %s" %
12 os_rel)

Subscribers

People subscribed via source and target branches