ComputeCapabilitiesFilter may eat an extra_spec

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

Bug Description

If you use a flavor extra_spec called 'capabilities', the ComputeCapabilitiesFilter will improperly ignore it. This is due to a slight logic error in the filter code when checking to see if there is a scope in use.

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/36074

Changed in nova:
assignee: nobody → Russell Bryant (russellb)
status: New → In Progress
Changed in nova:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/36074
Committed: http://github.com/openstack/nova/commit/e0024580d2360d84486a7387df82c2f6a4d3de37
Submitter: Jenkins
Branch: master

commit e0024580d2360d84486a7387df82c2f6a4d3de37
Author: Russell Bryant <email address hidden>
Date: Mon Jul 8 08:55:19 2013 -0400

    Don't ignore 'capabilities' flavor extra_spec

    The ComputeCapabilitiesFilter would improperly ignore an extra spec of
    'capabilities' since it matched the scope name. When it's not scoped,
    it should be treated as an unscoped extra_spec.

    Fix bug 1198941.

    Change-Id: I781754ae0cb9b2a9f7e7e973f4531f2a99a98d86

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