Flavor resource does not implement delete()

Bug #1102645 reported by Jay Pipes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Undecided
Unassigned

Bug Description

Unlike other resource like server, the flavor resource does not implement delete(), so you cannot, for example do this:

flavor = client.flavors.create(...)
flavor.delete()

Instead, you need to do this:

flavor = client.flavors.create(...)
client.flavors.delete(flavor.id)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

Changed in python-novaclient:
assignee: nobody → Jay Pipes (jaypipes)
status: New → In Progress
Revision history for this message
xiaohanyu (xiaohanyu1988) wrote :

This has been fixed in latest havana release.

Joe Gordon (jogo)
Changed in python-novaclient:
assignee: Jay Pipes (jaypipes) → nobody
status: In Progress → New
status: New → Fix Released
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.