yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #63050
[Bug 1680660] [NEW] empty string server tag can be created
Public bug reported:
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.
** Affects: nova
Importance: Undecided
Status: 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/1680660
Title:
empty string server tag can be created
Status in OpenStack Compute (nova):
New
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
Follow ups