yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #21449
[Bug 1268828] Re: Nova network doesn't work with neutron_url being None
** Changed in: nova
Status: Incomplete => Won't Fix
--
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/1268828
Title:
Nova network doesn't work with neutron_url being None
Status in OpenStack Compute (Nova):
Won't Fix
Bug description:
when configure neutron_url to None or neutron_url param is None, Nova
network will throw error:
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py", line 992, in _process_stack
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi action_result = self.dispatch(meth, request, action_args)
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py", line 1073, in dispatch
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi return method(req=request, **action_args)
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/nova/api/openstack/compute/contrib/os_tenant_networks.py", line 99, in index
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi networks = self.network_api.get_all(context)
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/nova/network/neutronv2/api.py", line 673, in get_all
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi networks = client.list_networks().get('networks')
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 108, in with_params
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi ret = self.function(instance, *args, **kwargs)
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 325, in list_networks
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi **_params)
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1197, in list
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi for r in self._pagination(collection, path, **params):
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1210, in _pagination
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi res = self.get(path, params=params)
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1183, in get
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi headers=headers, params=params)
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1168, in retry_request
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi headers=headers, params=params)
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line 1097, in do_request
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi self.httpclient.authenticate_and_fetch_endpoint_url()
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/neutronclient/client.py", line 179, in authenticate_and_fetch_endpoint_url
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi self.endpoint_url = self._get_endpoint_url()
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi File "/usr/lib/python2.6/site-packages/neutronclient/client.py", line 253, in _get_endpoint_url
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi url = self.auth_url + '/tokens/%s/endpoints' % self.auth_token
2014-01-13 03:37:23.121 18582 TRACE nova.api.openstack.wsgi TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1268828/+subscriptions
References