[Yahoo-eng-team] [Bug 1694897] Re: neutron tag xxx.xxx doesn't work correctly

2017-06-01 Thread OpenStack Infra
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 
Date:   Thu Jun 1 21:08:20 2017 +

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1694897] Re: neutron tag xxx.xxx doesn't work correctly

2017-06-01 Thread Armando Migliaccio
Workaround for now would be to use anything other than a '.' as
delimiter. The server freaks out when it sees one in tags.

** Changed in: python-neutronclient
   Importance: Critical => Low

** Also affects: neutron
   Importance: Undecided
   Status: New

** No longer affects: python-neutronclient

** Changed in: neutron
   Status: New => Confirmed

** Changed in: neutron
   Importance: Undecided => Low

-- 
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:
  Confirmed
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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp