yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #63059
[Bug 1680660] Re: empty string server tag can be created
Thanks for the report.
What do you mean by empty string? My tests show the following:
put tags [] => no tags created
put tags [''] => u'' is too short
put tags [' '] => ok
Looks like it corresponds with docs. http://ix.io/pTo
** Changed in: nova
Status: New => Invalid
--
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/1680660
Title:
empty string server tag can be created
Status in OpenStack Compute (nova):
Invalid
Bug description:
Description
===========
In compute api description "Server tags (servers, tags)¶
Tag is a non-empty string."
But actually we can create empty string server tags via api Replace Tags:
PUT /servers/{server_id}/tags
Steps to reproduce
==================
PUT /servers/{server_id}/tags with empty string
Expected result
===============
Fail to create, or we need to modify the api doc
Actual result
=============
Update successfully, but api doc says it it not allowed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1680660/+subscriptions
References