Cells ImagePropertiesFilter can raise exceptions

Bug #1343462 reported by Christopher Lefelhocz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Christopher Lefelhocz

Bug Description

In a misconfigured scenario the ImagePropertiesFilter can raise an exception which causes the image to be unbuildable in the region. This happens when the capabilities is set for prominent_hypervisor_version to '[]' or an empty list. We should be resilient to this case and handle the exception.

Changed in nova:
importance: Undecided → Medium
assignee: nobody → Christopher Lefelhocz (christopher-lefelhoc)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/107808

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/107808
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=70e0d3f13bd2ffaa19ddb6a50074723a7dbb0226
Submitter: Jenkins
Branch: master

commit 70e0d3f13bd2ffaa19ddb6a50074723a7dbb0226
Author: Christopher Lefelhocz <email address hidden>
Date: Thu Jul 17 14:17:47 2014 -0500

    Fix Cells ImagePropertiesFilter can raise exceptions

    In a misconfigured scenario the ImagePropertiesFilter can raise an
    exception which causes the image to be unbuildable in the region. This
    happens when the capabilities is set for prominent_hypervisor_version
    to an empty list.

    Change-Id: I17bd9d87fa69ad34b19591018543a34dfd050978
    Closes-Bug: 1343462

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → juno-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-2 → 2014.2
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.