Can use volume_id in nova.volume.cinder.API to reduce roundtrips with Cinder
Bug #1172297 reported by
Oleg Bondarev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Oleg Bondarev |
Bug Description
Currently volume.cinder.API methods accept volume object as a parameter while the majority of them only needs volume_id.
So API users need to do a redundant roundtrip with Cinder: first to get volume object and then pass it to another method (which only needs volume_id).
For example:
nova.api.
...
try:
vol = self.volume_
...
while volume_api.delete() method is just:
def delete(self, context, volume):
Changed in nova: | |
assignee: | Oleg Bondarev (obondarev) → Mark McLoughlin (markmc) |
Changed in nova: | |
assignee: | Mark McLoughlin (markmc) → Oleg Bondarev (obondarev) |
Changed in nova: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/27537
Review: https:/