← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1197021] Re: volume metadata structure represented as list instead of key/value pairs

 

And it looks like I spoke too soon again. john-griffith as confirmed
that if a metadata key already exists for a volume its updated, not
added as a duplicate.

** Changed in: nova
       Status: Invalid => New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1197021

Title:
  volume metadata structure represented as list instead of key/value
  pairs

Status in OpenStack Compute (Nova):
  New

Bug description:
  The current implementation of volume_metadata in nova/volume/cinder.py
  stores each piece of metadata as a list of dicts with key names of
  "key" and "value". The only piece of code that uses the metadata does
  extra work to unravel this into simple key/value pairs before using
  the data.

  The implementation in nova/volume/cinder.py should be updated to store
  the metadata as simple key/value pairs.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1197021/+subscriptions