~james-page/charms/trusty/nova-compute/lp1531102

« back to all changes in this revision

Viewing changes to hooks/nova_compute_context.py

  • Committer: David Ames
  • Date: 2015-10-26 21:34:30 UTC
  • mfrom: (177.1.1 nova-compute)
  • Revision ID: david.ames@canonical.com-20151026213430-ukcf4m2brutzxcjn
[jamesbeedy, r=thedac] Fix Bug #1509267

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
 
158
158
def assert_libvirt_imagebackend_allowed():
159
159
    os_rel = "Juno"
160
 
    os_ver = get_os_version_package('nova-compute')
 
160
    os_ver = get_os_version_package('nova-common')
161
161
    if float(os_ver) < float(get_os_version_codename(os_rel.lower())):
162
162
        msg = ("Libvirt RBD imagebackend only supported for openstack >= %s" %
163
163
               os_rel)