Object create/destroy/save methods should be remotable
Bug #1434571 reported by
Thang Pham
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Thang Pham |
Bug Description
Object create/destroy/save methods should be remotable. This means that if you use volume.save() it will use the stashed context in the object, or if you use volume.
Changed in cinder: | |
assignee: | nobody → Thang Pham (thang-pham) |
Changed in cinder: | |
status: | New → In Progress |
Changed in cinder: | |
assignee: | Thang Pham (thang-pham) → Walt Boring (walter-boring) |
Changed in cinder: | |
assignee: | Walt Boring (walter-boring) → Thang Pham (thang-pham) |
Changed in cinder: | |
milestone: | none → kilo-rc1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | kilo-rc1 → 2015.1.0 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/164764 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=982c423dfef e85d498887d5d57 ef6b5c8e4105cf
Committed: https:/
Submitter: Jenkins
Branch: master
commit 982c423dfefe85d 498887d5d57ef6b 5c8e4105cf
Author: Thang Pham <email address hidden>
Date: Mon Mar 16 11:48:07 2015 -0400
Create unit tests for volume objects
This is a follow up patch to cinder objects that adds
missing unit tests for volume objects. It also adds
a @base.remotable decorator to the volume save method,
which makes sure a context is properly supplied to the
method, whether it is passed in or taken from the
context stashed in the object.
Change-Id: I9febfdf94c4d8c 82defedf0ceaec0 3800552affe
Implements: blueprint cinder-objects
Closes-Bug: #1434571