yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #63063
[Bug 1680660] Re: empty string server tag can be created
hi Andrey,
try to put tags [""], and then put tags/abc.
Then you with get {"tags":["","abc"]}
And the doc link I mean is:
https://developer.openstack.org/api-ref/compute/?expanded=add-a-single-tag-detail,list-extra-specs-for-a-flavor-detail,list-keypairs-detail,id324-detail,show-console-output-os-getconsoleoutput-action-detail,delete-all-tags-detail,check-tag-existence-detail#server-tags-servers-tags
** Changed in: nova
Status: Invalid => In Progress
--
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):
In Progress
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