Missing implementation to get, delete, and update volume metadata

Bug #1296164 reported by Thang Pham
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Thang Pham

Bug Description

There are four methods in nova/nova/volume/cinder.py which are NotImplemented. They are as follows:
1. get_volume_metadata
2. delete_volume_metadata
3. update_volume_metadata
4. get_volume_metadata_value

These methods are required in cases where nova needs to modify a cinder volume's metadata, e.g. attach and detach time.

The latest code in nova's master branch shows these methods as NotImplemented.

Tags: volumes
Thang Pham (thang-pham)
Changed in nova:
assignee: nobody → Thang Pham (thang-pham)
tags: added: volumes
Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Thang Pham (thang-pham)
Changed in nova:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/82411
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=46d8dcfa5807ef84d6b96b056957a1b9aa0daff7
Submitter: Jenkins
Branch: master

commit 46d8dcfa5807ef84d6b96b056957a1b9aa0daff7
Author: Thang Pham <email address hidden>
Date: Sun Mar 23 21:33:43 2014 -0400

    Implement methods to modify volume metadata.

    There are four methods in nova/volume/cinder.py which are
    NotImplemented. They are as follows:
      1. get_volume_metadata
      2. delete_volume_metadata
      3. update_volume_metadata
      4. get_volume_metadata_value
    These methods are required in cases where nova needs to modify
    a cinder volume's metadata, e.g. attach and detach time. It also
    completes the cinder.API class.

    Change-Id: I360076ae28db43e661466f556425947813c9040e
    Closes-Bug: #1296164

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-3 → 2014.2
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.