[Openstack] [bug] I found the key of metadata in aggregate accept empty string, Is this a bug?

黎林果 lilinguo8212 at gmail.com
Wed Dec 18 07:12:59 UTC 2013


Hello,

everyone


   When I set aggregate's metadata, I use

 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'} |
+----+---------------+-------------------+-------+--------------------------+


   Does the empty key value is meaningful? If we should add a limit to this?

Thanks!

Best regards,
Lee




More information about the Openstack mailing list