CG driver interface should be changed so that driver doesn't have to access db

Bug #1501466 reported by Xing Yang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Xing Yang

Bug Description

Currently the following CG driver interfaces don't pass in volumes or snapshots to the driver. As a result, drivers have to retrieve info from db. These interfaces should be changed so that drivers don't have to access db.

create_consistencygroup
delete_consistencygroup
create_cgsnapshot
delete_cgsnapshot

Tags: cg
Xing Yang (xing-yang)
Changed in cinder:
assignee: nobody → Xing Yang (xing-yang)
status: New → In Progress
importance: Undecided → Low
tags: added: cg
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
milestone: none → mitaka-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

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

commit f18cb6374e68e4d904125e9d99b809354fbdf9ee
Author: Xing Yang <email address hidden>
Date: Tue Aug 25 00:46:53 2015 -0400

    CG driver function should not access db

    Currently the following CG driver interfaces don't pass in volumes
    or snapshots to the driver. As a result, drivers have to retrieve info
    from db. In this patch, these interfaces are changed so that drivers
    don't have to access db.

    Removing the access to db from driver CG functions will be handled by
    separate patches.

    * create_consistencygroup
    * delete_consistencygroup
    * create_cgsnapshot
    * delete_cgsnapshot

    Change-Id: I63287fd43927fc09dad77292ecfe561917f7bda5
    Closes-Bug: #1501466

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/cinder 8.0.0.0b1

This issue was fixed in the openstack/cinder 8.0.0.0b1 development milestone.

Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → 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.