create_cgsnapshot and create_consistencygroup_from_src can not update metadata of volume/snapshot

Bug #1605852 reported by jiamin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Undecided
Unassigned

Bug Description

Make create_consistencygroup_from_src as an example, volumes metadata returned by the driver will be not updated into DB by create_consistencygroup_from_src, because it only calls the volume_update to update the volume, but no volume_metadata_update.

if volumes_model_update:
    for update in volumes_model_update:
        self.db.volume_update(context, update['id'], update)

some users think that it is helpful to show the volume metadata, such as volume ID or data type of the volume. so it would be better to support it.

jiamin (shljia)
Changed in cinder:
assignee: nobody → jiamin (shljia)
status: New → In Progress
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/346358

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by jiamin (<email address hidden>) on branch: master
Review: https://review.openstack.org/346358

jiamin (shljia)
Changed in cinder:
assignee: jiamin (shljia) → nobody
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.