Image property filter can't handle old vm_modes

Bug #1276773 reported by Brian Elliott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Unassigned

Bug Description

The ImagePropertyFilter fails if it encounters an old "vm_mode" metadata on an older image. Examples: "pv" or "hv". In such cases, the instance will fail to build.

See the notes in nova.compute.vm_mode on backward compatibility.

Brian Elliott (belliott)
description: updated
Andrew Laski (alaski)
Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Brian Elliott (belliott) wrote :

https://review.openstack.org/#/c/71349/

Not sure why review didn't auto-link here.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/71349
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=818353e8c88694a7ccfaa2fd18e1e89add0ca8b7
Submitter: Jenkins
Branch: master

commit 818353e8c88694a7ccfaa2fd18e1e89add0ca8b7
Author: Brian Elliott <email address hidden>
Date: Fri Jan 10 19:44:44 2014 +0000

    Make image props filter handle old vm_modes

    The ImagePropertyFilter would fail to build an instance if the image
    used an older style vm_mode (e.g. 'pv') as described in
    nova.compute.vm_mode. This change will convert the vm mode string to
    the current form.

    Change-Id: Ibde37e28b02d9e866b286ea14c47a6a8411d94b4
    Closes-Bug: #1276773

Changed in nova:
status: Confirmed → Fix Committed
Changed in nova:
milestone: none → icehouse-3
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-3 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.