yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #06432
[Bug 1245700] Re: nova boot via invalid neutron port raises 500
** Changed in: nova
Status: Fix Committed => Fix Released
--
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/1245700
Title:
nova boot via invalid neutron port raises 500
Status in OpenStack Compute (Nova):
Fix Released
Status in Python client library for Neutron:
Fix Committed
Bug description:
2013-10-28 15:46:38.470 ERROR nova.api.openstack [req-e405f8e2-95a1-4748-8f9f-c642080e16b3 demo demo] Caught error: local variable 'port' referenced before assignment
2013-10-28 15:46:38.470 TRACE nova.api.openstack Traceback (most recent call last):
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/__init__.py", line 119, in __call__
2013-10-28 15:46:38.470 TRACE nova.api.openstack return req.get_response(self.application)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
2013-10-28 15:46:38.470 TRACE nova.api.openstack application, catch_exc_info=False)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
2013-10-28 15:46:38.470 TRACE nova.api.openstack app_iter = application(self.environ, start_response)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-10-28 15:46:38.470 TRACE nova.api.openstack return resp(environ, start_response)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 571, in __call__
2013-10-28 15:46:38.470 TRACE nova.api.openstack return self.app(env, start_response)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-10-28 15:46:38.470 TRACE nova.api.openstack return resp(environ, start_response)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-10-28 15:46:38.470 TRACE nova.api.openstack return resp(environ, start_response)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2013-10-28 15:46:38.470 TRACE nova.api.openstack response = self.app(environ, start_response)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-10-28 15:46:38.470 TRACE nova.api.openstack return resp(environ, start_response)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2013-10-28 15:46:38.470 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2013-10-28 15:46:38.470 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 939, in __call__
2013-10-28 15:46:38.470 TRACE nova.api.openstack content_type, body, accept)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 998, in _process_stack
2013-10-28 15:46:38.470 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 1079, in dispatch
2013-10-28 15:46:38.470 TRACE nova.api.openstack return method(req=request, **action_args)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/compute/servers.py", line 924, in create
2013-10-28 15:46:38.470 TRACE nova.api.openstack legacy_bdm=legacy_bdm)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/opt/stack/nova/nova/hooks.py", line 105, in inner
2013-10-28 15:46:38.470 TRACE nova.api.openstack rv = f(*args, **kwargs)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/opt/stack/nova/nova/compute/api.py", line 1218, in create
2013-10-28 15:46:38.470 TRACE nova.api.openstack legacy_bdm=legacy_bdm)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/opt/stack/nova/nova/compute/api.py", line 859, in _create_instance
2013-10-28 15:46:38.470 TRACE nova.api.openstack block_device_mapping, auto_disk_config, reservation_id)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/opt/stack/nova/nova/compute/api.py", line 673, in _validate_and_build_base_options
2013-10-28 15:46:38.470 TRACE nova.api.openstack self._check_requested_networks(context, requested_networks)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/opt/stack/nova/nova/compute/api.py", line 437, in _check_requested_networks
2013-10-28 15:46:38.470 TRACE nova.api.openstack self.network_api.validate_networks(context, requested_networks)
2013-10-28 15:46:38.470 TRACE nova.api.openstack File "/opt/stack/nova/nova/network/neutronv2/api.py", line 553, in validate_networks
2013-10-28 15:46:38.470 TRACE nova.api.openstack if not port:
2013-10-28 15:46:38.470 TRACE nova.api.openstack UnboundLocalError: local variable 'port' referenced before assignment
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1245700/+subscriptions