yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #57588
[Bug 1611054] Re: mitaka release tags + tags-any causing internal server error
[Expired for neutron because there has been no activity for 60 days.]
** Changed in: neutron
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1611054
Title:
mitaka release tags + tags-any causing internal server error
Status in neutron:
Expired
Bug description:
Internal server error when query neutron network resources using --tags and tags-any combination.
This is found at Mitaka release.
stack@falcon-devstack ~
$ net-list -c id -c name --tenant-id f900b2f993234d31b450ca58d0cae025 -c tags
+--------------------------------------+----------------------------------+----------------------------------------------+
| id | name | tags |
+--------------------------------------+----------------------------------+----------------------------------------------+
| 64d91f98-9a39-44dc-809f-e82c8107a15d | tempest-test-network--1990720236 | [u'gold', u'production', u'ab', u'west'] |
| 1ddfab2f-c568-40e1-b5a4-e57f8e3eac1c | tempest-test-network--1607343301 | [u'testing', u'silver', u'south'] |
| d48c067e-1404-45d1-9cb0-d528bd67ddce | tempest-test-network--631383401 | [u'testing', u'brown', u'south', u'a'] |
| bdc417a7-7be2-4f3b-9853-4efeec71e1e5 | tempest-test-network--1353891402 | [u'production', u'east', u'gold'] |
| 95bb24f4-a883-4d3a-a2a9-24be4851646c | tempest-test-network--2110769294 | [u'north', u'production', u'gold'] |
| cf52380e-8441-49bc-ba76-dd4bf3ea6888 | tempest-test-network--1898004147 | [u'north', u'brown', u'development', u'abc'] |
| 75ce347c-30fd-4310-b997-0d73d0e3f4c0 | tempest-test-network--971498530 | [u'testing', u'east', u'silver'] |
| c55d9b0d-fb35-4d57-8704-cfcb73f549e7 | tempest-test-network--1254291480 | [u'west', u'development', u'silver'] |
+--------------------------------------+----------------------------------+----------------------------------------------+
stack@falcon-devstack ~
$ T_ID=f900b2f993234d31b450ca58d0cae025
stack@falcon-devstack ~
$ net-list -c id -c name --tenant-id $T_ID -c tags
+--------------------------------------+----------------------------------+----------------------------------------------+
| id | name | tags |
+--------------------------------------+----------------------------------+----------------------------------------------+
| 1ddfab2f-c568-40e1-b5a4-e57f8e3eac1c | tempest-test-network--1607343301 | [u'testing', u'silver', u'south'] |
| d48c067e-1404-45d1-9cb0-d528bd67ddce | tempest-test-network--631383401 | [u'testing', u'brown', u'south', u'a'] |
| bdc417a7-7be2-4f3b-9853-4efeec71e1e5 | tempest-test-network--1353891402 | [u'production', u'east', u'gold'] |
| 95bb24f4-a883-4d3a-a2a9-24be4851646c | tempest-test-network--2110769294 | [u'north', u'production', u'gold'] |
| cf52380e-8441-49bc-ba76-dd4bf3ea6888 | tempest-test-network--1898004147 | [u'north', u'brown', u'development', u'abc'] |
| 75ce347c-30fd-4310-b997-0d73d0e3f4c0 | tempest-test-network--971498530 | [u'testing', u'east', u'silver'] |
| 64d91f98-9a39-44dc-809f-e82c8107a15d | tempest-test-network--1990720236 | [u'production', u'ab', u'west', u'gold'] |
| c55d9b0d-fb35-4d57-8704-cfcb73f549e7 | tempest-test-network--1254291480 | [u'west', u'development', u'silver'] |
+--------------------------------------+----------------------------------+----------------------------------------------+
stack@falcon-devstack ~
$ net-list -c id -c name --tenant-id $T_ID -c tags --tags production
+--------------------------------------+----------------------------------+------------------------------------------+
| id | name | tags |
+--------------------------------------+----------------------------------+------------------------------------------+
| 64d91f98-9a39-44dc-809f-e82c8107a15d | tempest-test-network--1990720236 | [u'west', u'gold', u'production', u'ab'] |
| bdc417a7-7be2-4f3b-9853-4efeec71e1e5 | tempest-test-network--1353891402 | [u'gold', u'production', u'east'] |
| 95bb24f4-a883-4d3a-a2a9-24be4851646c | tempest-test-network--2110769294 | [u'production', u'gold', u'north'] |
+--------------------------------------+----------------------------------+------------------------------------------+
stack@falcon-devstack ~
$ net-list -c id -c name --tenant-id $T_ID -c tags --tags production --tags-any west --tags-any east
Request Failed: internal server error while processing your request.
Neutron server returns request_ids: ['req-4a7f0626-01df-4534-96a6-614676e14ff2']
stack@falcon-devstack ~
$ net-list -c id -c name --tenant-id $T_ID -c tags --tags production --tags-any west
Request Failed: internal server error while processing your request.
Neutron server returns request_ids: ['req-c12bd8e0-4bf0-4e80-b030-607af32616d2']
stack@falcon-devstack ~
$
tags with not-tags-any and not-tags are OK:
===========================================
$ net-list -c id -c name --tenant-id $T_ID -c tags --tags production --not-tags-any east
+--------------------------------------+----------------------------------+------------------------------------------+
| id | name | tags |
+--------------------------------------+----------------------------------+------------------------------------------+
| 64d91f98-9a39-44dc-809f-e82c8107a15d | tempest-test-network--1990720236 | [u'ab', u'west', u'gold', u'production'] |
| 95bb24f4-a883-4d3a-a2a9-24be4851646c | tempest-test-network--2110769294 | [u'north', u'production', u'gold'] |
+--------------------------------------+----------------------------------+------------------------------------------+
stack@falcon-devstack /opt/stack/neutron {marvin}
$ net-list -c id -c name --tenant-id $T_ID -c tags --tags production --not-tags east
+--------------------------------------+----------------------------------+------------------------------------------+
| id | name | tags |
+--------------------------------------+----------------------------------+------------------------------------------+
| 95bb24f4-a883-4d3a-a2a9-24be4851646c | tempest-test-network--2110769294 | [u'north', u'production', u'gold'] |
| 64d91f98-9a39-44dc-809f-e82c8107a15d | tempest-test-network--1990720236 | [u'west', u'gold', u'production', u'ab'] |
+--------------------------------------+----------------------------------+------------------------------------------+
stack@falcon-devstack /opt/stack/neutron {marvin}
$
my neutron commit info:
=======================
$ git log -n 20 --oneline
d5a550e Policy: enable tennat to create distroibuted router
8eb8dfb Minimum osprofiler requirement version for stable/mitaka is 1.2.0
826da55 Neutron db migration from kermit to marvin
255b711 Add OSprofiler support
17d4165 Merge remote-tracking branch 'origin/kermit' into marvin
6d1037c Merge "Fix SR-IOV binding when two NICs mapped to one physnet" into stable/mitaka
2410de3 Merge "DVR: Fix TypeError in arp update with allowed_address_pairs" into stable/mitaka
1ddf2f0 Merge "Don't log warning for missing resource_versions" into stable/mitaka
94b49f1 Merge "Fix test failure against latest oslo.* from master" into stable/mitaka
ca690cc DVR: Fix TypeError in arp update with allowed_address_pairs
41e0fcd DVR: Handle unbound allowed_address_pair port with FIP
8759c26 Merge "Use correct session in update_allocation_pools" into stable/mitaka
b39f833 Merge "Add exponential back-off RPC client" into stable/mitaka
30a849e Fix SR-IOV binding when two NICs mapped to one physnet
e25e000 Merge "Fix update target tenant RBAC external path" into stable/mitaka
84d28d7 Merge "IPtables firewall prevent ICMPv6 spoofing" into stable/mitaka
be17143 Merge "DVR: Clear SNAT namespace when agent restarts after router move" into stable/mitaka
98b200b Fix broken Tempest conf options in API tests
c98c866 Fix update target tenant RBAC external path
64bddf0 Imported Translations from Zanata
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1611054/+subscriptions
References