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

Sean Dague sean at dague.net
Thu Dec 19 11:48:24 UTC 2013


On 12/18/2013 02:12 AM, 黎林果 wrote:
> 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
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 

I would consider this a bug. Please file a bug report at
https://bugs.launchpad.net/nova/+bugs

And if you are up for providing a patch to gerrit, that would be
welcomed as well.

	-Sean

-- 
Sean Dague
Samsung Research America
sean at dague.net / sean.dague at samsung.com
http://dague.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131219/5d520ff4/attachment.sig>


More information about the Openstack mailing list