yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #79139
[Bug 1706592] Re: Fix for 1694897 broke existing agent function
Marking as fixed, Ocata has been maintenance-only for some time now (and
Pike too) and newer releases are not affected
** Changed in: neutron
Status: Confirmed => 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/1706592
Title:
Fix for 1694897 broke existing agent function
Status in neutron:
Fix Released
Bug description:
Due to change made for 1694897 -
(https://github.com/openstack/neutron/commit/b50fed17fa338f4137646c9c8d8e47634b7f5ff7
#diff-47274e5d515466fd8a373b382009b419) broke existing functionality.
From neutron server log :
2017-07-26 08:17:35.737 4946 INFO neutron.wsgi [req-13b37d24-f287-44e1-964b-89a740148970 09190e437c2fd33046047c5458396ba91f2468cc22a1c33bbc12a0148d0885e4 5f0805bffd4349c4a53a81a5516c5631 - - -] 127.0.0.1 - - [26/Jul/2017 08:17:35] "GET /v2.0/networks.json HTTP/1.1" 200 936 19.272352
2017-07-26 08:17:46.385 4949 ERROR neutron.api.v2.resource [req-8669ee8b-eb35-4178-8a30-bd99bdd9efa7 09190e437c2fd33046047c5458396ba91f2468cc22a1c33bbc12a0148d0885e4 5f0805bffd4349c4a53a81a5516c5631 - - -] index failed: No details.
2017-07-26 08:17:46.385 4949 ERROR neutron.api.v2.resource Traceback (most recent call last):
2017-07-26 08:17:46.385 4949 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 91, in resource
2017-07-26 08:17:46.385 4949 ERROR neutron.api.v2.resource args['id'] = '.'.join([args['id'], fmt])
2017-07-26 08:17:46.385 4949 ERROR neutron.api.v2.resource KeyError: 'id'
2017-07-26 08:17:46.385 4949 ERROR neutron.api.v2.resource
args variable is empty dictionary : {}
It is due to this code in the same resource.py resource method:
route_args = request.environ.get('wsgiorg.routing_args')
if route_args:
args = route_args[1].copy()
else:
args = {}
args can be empty dictionary. args['id'] will be invalid.
This problem is found in ocata release of OpenStack.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1706592/+subscriptions
References