Object create/destroy/save methods should be remotable

Bug #1434571 reported by Thang Pham
6
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.save(context) it will use the context passed on. The volume save method is missing the remotable decorator.

Thang Pham (thang-pham)
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)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/164764
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=982c423dfefe85d498887d5d57ef6b5c8e4105cf
Submitter: Jenkins
Branch: master

commit 982c423dfefe85d498887d5d57ef6b5c8e4105cf
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: I9febfdf94c4d8c82defedf0ceaec03800552affe
    Implements: blueprint cinder-objects
    Closes-Bug: #1434571

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → kilo-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: kilo-rc1 → 2015.1.0
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.