make get_flavor_id to work if input is flavor id

Bug #1227255 reported by Vijendar Komalla
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Vijendar Komalla

Bug Description

Few resources (server, instance) have 'flavor' property and that could be either flavor_id or flavor_name. If the input is flavor_id, current implementation would throw 'FlavorMissing' exception. make get_flavor_id to work even if input is flavor_id.

Changed in heat:
assignee: nobody → Vijendar Komalla (vijendar-komalla)
summary: - make get_flavor_id to work if input is flavor_id
+ make get_flavor_id to work if input is flavor id
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

Changed in heat:
status: New → In Progress
Steven Hardy (shardy)
Changed in heat:
importance: Undecided → Medium
milestone: none → havana-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/47214
Committed: http://github.com/openstack/heat/commit/b9cc7aba48b720b2714f7c5acca914a8b73d15cb
Submitter: Jenkins
Branch: master

commit b9cc7aba48b720b2714f7c5acca914a8b73d15cb
Author: Vijendar Komalla <email address hidden>
Date: Wed Sep 18 12:27:33 2013 -0500

    make get_flavor_id to work if input is flavor id

    Current implementation of get_flavor_id throws exception if input
    value is a flavor id. This method is used in couple of resources
    where input flavor could be flavor id. This change is to avoid
    throwing exception if the input is flavor id.

    Fixes bug #1227255

    Change-Id: I11054d5f3a34a7e2afea140f8f37a21cb8eba419

Changed in heat:
status: In Progress → Fix Committed
Revision history for this message
JunJie Nan (nanjj) wrote :

This fixed bug #1226473 also.

Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: havana-rc1 → 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.