← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1262943] [NEW] the key of aggregate's metadata accepts empty string

 

Public bug reported:

Use command: nova aggregate-set-metadata llg_aggregate
''='test_key_empty'


it returns:

+----+---------------+-------------------+-------+--------------------------+
| Id | Name          | Availability Zone | Hosts | Metadata                 |
+----+---------------+-------------------+-------+--------------------------+
| 1  | llg_aggregate | None              | []    | {u'': u'test_key_empty'} |
+----+---------------+-------------------+-------+--------------------------+

The empty key value is not meaningful, so we should add a limit to this.

** Affects: nova
     Importance: Undecided
     Assignee: Lee Li (lilinguo)
         Status: New


** Tags: aggregate nova

** Changed in: nova
     Assignee: (unassigned) => Lee Li (lilinguo)

-- 
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/1262943

Title:
  the key of aggregate's metadata accepts empty string

Status in OpenStack Compute (Nova):
  New

Bug description:
  Use command: nova aggregate-set-metadata llg_aggregate
  ''='test_key_empty'

  
  it returns:

  +----+---------------+-------------------+-------+--------------------------+
  | Id | Name          | Availability Zone | Hosts | Metadata                 |
  +----+---------------+-------------------+-------+--------------------------+
  | 1  | llg_aggregate | None              | []    | {u'': u'test_key_empty'} |
  +----+---------------+-------------------+-------+--------------------------+

  The empty key value is not meaningful, so we should add a limit to
  this.

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


Follow ups

References