auth_url was not provided to the Neutron client
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| OpenStack Compute (nova) |
Low
|
Manas Ranjan Biswal | |||
Bug Description
I got the following error in nova-api:
2015-02-05 14:50:59.176 13279 ERROR nova.api.openstack [req-d2a7c982-
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack Traceback (most recent call last):
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack return req.get_
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack application, catch_exc_
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack app_iter = application(
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack return resp(environ, start_response)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack return self._call_app(env, start_response)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack return self._app(env, _fake_start_
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack return resp(environ, start_response)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack return resp(environ, start_response)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack response = self.app(environ, start_response)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack return resp(environ, start_response)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack content_type, body, accept)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack request, action_args)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack **action_args)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack self._extend_
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack servers))
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack ports = self._get_
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack ports.extend(
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack ret = self.function(
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack **_params)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack for r in self._paginatio
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack res = self.get(path, params=params)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack headers=headers, params=params)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack headers=headers, params=params)
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack content_
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack self.authenticate()
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack self._authentic
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack File "/usr/lib/
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack raise exceptions.
2015-02-05 14:50:59.176 13279 TRACE nova.api.openstack NoAuthURLProvided: auth_url was not provided to the Neutron client
"/usr/lib/
def _get_client(
params = {
'timeout': CONF.neutron.
'insecure': CONF.neutron.
'ca_cert': CONF.neutron.
'token': token,
}
if admin:
if CONF.neutron.
else:
if CONF.neutron.
else:
return clientv20.
The caller:
"/usr/lib/
class SecurityGroupAP
id_is_uuid = True
def create_
neutron = neutronv2.
The version of nova:
class VersionInfo(
release = "1.el7.centos"
version = "2014.2.1"
"master" has the same problem, but the code is moved to "nova/network/
| Changed in nova: | |
| assignee: | nobody → Manas Ranjan Biswal (manas-biswal06) |
| Changed in nova: | |
| status: | New → Confirmed |
| importance: | Undecided → Low |
| Jordan Pittier (jordan-pittier) wrote : | #2 |
I have the exact same issue.
For me the caller is :
TRACE oslo.messaging.
TRACE oslo.messaging.
TRACE oslo.messaging.
TRACE oslo.messaging.
The neutron object is instantiated in the 'deallocate_
get_client is defined in nova/network/
TRACE oslo.messaging.
TRACE oslo.messaging.
TRACE oslo.messaging.
I have short lived token (1hour). I am on OpenStack Juno.
We see this problem a lot during scale testing with juno/stable. Sometimes as many as 10% of instances fail to come up. I suspect a race condition in either the nova neutronv2 code or the python neutronclient.
| Davanum Srinivas (DIMS) (dims-v) wrote : | #4 |
Hi,
So this bug should have been fixed already by the following review in trunk/kilo:
https:/
Please try that and let us know if you still see this.
-- dims
| tags: | added: customer-found support |


Moved to nova, not a heat bug