yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64474
[Bug 1694897] Re: neutron tag xxx.xxx doesn't work correctly
Reviewed: https://review.openstack.org/470016
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=527468be33407d65a940f1cd1e7a5a0bbbe12795
Submitter: Jenkins
Branch: master
commit 527468be33407d65a940f1cd1e7a5a0bbbe12795
Author: Ihar Hrachyshka <ihrachys@xxxxxxxxxx>
Date: Thu Jun 1 21:08:20 2017 +0000
api: work around Routes cutting off suffix from resource id
Routes allows for auxiliary format suffix. Sadly it doesn't distinguish
between an actual format suffix (.json) and any other suffix that may be
part of the id. (like for first.second resource tag). To work this
behavior around, we will reattach the 'format' suffix if it is not of a
supported format (json only at the time of writing).
This of course leaves a corner case where there is a tag where .json is
a part of its id. This seems to be a reasonable balance to leave it
unfixed, because an alternative would probably be not backwards
compatible.
Closes-Bug: #1694897
Change-Id: I271107150166f0ee680faaa2e3ca6044cf4e8d4f
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1694897
Title:
neutron tag xxx.xxx doesn't work correctly
Status in neutron:
Fix Released
Status in Zun:
Invalid
Bug description:
Steps to reproduce:
$ neutron tag-add --resource-type network --resource private --tag first.second
$ neutron net-show private
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+-------------------------+--------------------------------------+
| Field | Value |
+-------------------------+--------------------------------------+
...
| tags | first |
...
+-------------------------+--------------------------------------+
The second half of the tag is not there.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1694897/+subscriptions