create_cgsnapshot and create_consistencygroup_from_src can not update metadata of volume/snapshot

Bug #1605852 reported by jiamin on 2016-07-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
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) on 2016-07-23
Changed in cinder:
assignee: nobody → jiamin (shljia)
status: New → In Progress

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

jiamin (shljia) on 2017-02-03
Changed in cinder:
assignee: jiamin (shljia) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers