yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #94945
[Bug 2089603] [NEW] The request you have made requires authentication. (HTTP 401)
Public bug reported:
When try to deploy an instance, i have this error in nova.
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi [req-c0f23237-681c-455a-a14c-cf13cbb3fe02 3dad170ac7494401ac0d9f0d93db9c2b 9761d88102694fa790923d8c28c94500 - default default] Unexpected exception in API method: keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-3b2c86cf-c5ce-47fe-82a6-3b6dbdba3b15)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi Traceback (most recent call last):
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/openstack/wsgi.py", line 658, in wrapped
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return f(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/validation/__init__.py", line 110, in wrapper
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/validation/__init__.py", line 110, in wrapper
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/validation/__init__.py", line 110, in wrapper
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi [Previous line repeated 9 more times]
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/openstack/compute/servers.py", line 769, in create
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi (instances, resv_id) = self.compute_api.create(context,
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/compute/api.py", line 2049, in create
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self._create_instance(
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/compute/api.py", line 1510, in _create_instance
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi network_metadata = self._validate_and_build_base_options(
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/compute/api.py", line 1036, in _validate_and_build_base_options
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi result = self.network_api.create_resource_requests(
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 2114, in create_resource_requests
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi port_numa_policy) = self._get_port_vnic_info(
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 2054, in _get_port_vnic_info
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi port = self._show_port(
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 1811, in _show_port
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi result = neutron_client.show_port(port_id, fields=fields)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 182, in wrapper
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi ret = obj(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 804, in show_port
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self.get(self.port_path % (port), params=_params)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 182, in wrapper
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi ret = obj(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 352, in get
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self.retry_request("GET", action, body=body,
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 182, in wrapper
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi ret = obj(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 329, in retry_request
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self.do_request(method, action, body=body,
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 182, in wrapper
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi ret = obj(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 280, in do_request
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi resp, replybody = self.httpclient.do_request(action, method, body=body,
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/client.py", line 339, in do_request
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi self._check_uri_length(url)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/client.py", line 332, in _check_uri_length
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi uri_len = len(self.endpoint_url) + len(url)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/client.py", line 346, in endpoint_url
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self.get_endpoint()
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/adapter.py", line 291, in get_endpoint
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self.session.get_endpoint(auth or self.auth, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 1243, in get_endpoint
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return auth.get_endpoint(self, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/base.py", line 375, in get_endpoint
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi endpoint_data = self.get_endpoint_data(
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/base.py", line 271, in get_endpoint_data
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi service_catalog = self.get_access(session).service_catalog
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/base.py", line 134, in get_access
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi self.auth_ref = self.get_auth_ref(session)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/generic/base.py", line 208, in get_auth_ref
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self._plugin.get_auth_ref(session, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/v3/base.py", line 187, in get_auth_ref
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi resp = session.post(token_url, json=body, headers=headers,
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 1149, in post
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self.request(url, 'POST', **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 986, in request
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi raise exceptions.from_response(resp, method, url)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-3b2c86cf-c5ce-47fe-82a6-3b6dbdba3b15)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi
2024-11-25 16:33:10.361 68673 INFO nova.api.openstack.wsgi [req-c0f23237-681c-455a-a14c-cf13cbb3fe02 3dad170ac7494401ac0d9f0d93db9c2b 9761d88102694fa790923d8c28c94500 - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneauth1.exceptions.http.Unauthorized'>
2024-11-25 16:33:10.363 68673 INFO nova.osapi_compute.wsgi.server [req-c0f23237-681c-455a-a14c-cf13cbb3fe02 3dad170ac7494401ac0d9f0d93db9c2b 9761d88102694fa790923d8c28c94500 - default default] 192.168.9.30 "POST /v2.1/servers HTTP/1.1" status: 500 len: 651 time: 1.5440252
Openstack Wallaby in Ubuntu 20.04
** Affects: nova
Importance: Undecided
Status: New
--
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/2089603
Title:
The request you have made requires authentication. (HTTP 401)
Status in OpenStack Compute (nova):
New
Bug description:
When try to deploy an instance, i have this error in nova.
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi [req-c0f23237-681c-455a-a14c-cf13cbb3fe02 3dad170ac7494401ac0d9f0d93db9c2b 9761d88102694fa790923d8c28c94500 - default default] Unexpected exception in API method: keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-3b2c86cf-c5ce-47fe-82a6-3b6dbdba3b15)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi Traceback (most recent call last):
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/openstack/wsgi.py", line 658, in wrapped
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return f(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/validation/__init__.py", line 110, in wrapper
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/validation/__init__.py", line 110, in wrapper
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/validation/__init__.py", line 110, in wrapper
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return func(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi [Previous line repeated 9 more times]
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/openstack/compute/servers.py", line 769, in create
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi (instances, resv_id) = self.compute_api.create(context,
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/compute/api.py", line 2049, in create
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self._create_instance(
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/compute/api.py", line 1510, in _create_instance
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi network_metadata = self._validate_and_build_base_options(
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/compute/api.py", line 1036, in _validate_and_build_base_options
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi result = self.network_api.create_resource_requests(
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 2114, in create_resource_requests
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi port_numa_policy) = self._get_port_vnic_info(
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 2054, in _get_port_vnic_info
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi port = self._show_port(
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 1811, in _show_port
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi result = neutron_client.show_port(port_id, fields=fields)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 182, in wrapper
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi ret = obj(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 804, in show_port
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self.get(self.port_path % (port), params=_params)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 182, in wrapper
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi ret = obj(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 352, in get
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self.retry_request("GET", action, body=body,
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 182, in wrapper
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi ret = obj(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 329, in retry_request
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self.do_request(method, action, body=body,
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 182, in wrapper
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi ret = obj(*args, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 280, in do_request
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi resp, replybody = self.httpclient.do_request(action, method, body=body,
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/client.py", line 339, in do_request
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi self._check_uri_length(url)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/client.py", line 332, in _check_uri_length
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi uri_len = len(self.endpoint_url) + len(url)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/client.py", line 346, in endpoint_url
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self.get_endpoint()
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/adapter.py", line 291, in get_endpoint
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self.session.get_endpoint(auth or self.auth, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 1243, in get_endpoint
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return auth.get_endpoint(self, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/base.py", line 375, in get_endpoint
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi endpoint_data = self.get_endpoint_data(
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/base.py", line 271, in get_endpoint_data
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi service_catalog = self.get_access(session).service_catalog
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/base.py", line 134, in get_access
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi self.auth_ref = self.get_auth_ref(session)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/generic/base.py", line 208, in get_auth_ref
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self._plugin.get_auth_ref(session, **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/v3/base.py", line 187, in get_auth_ref
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi resp = session.post(token_url, json=body, headers=headers,
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 1149, in post
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi return self.request(url, 'POST', **kwargs)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 986, in request
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi raise exceptions.from_response(resp, method, url)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-3b2c86cf-c5ce-47fe-82a6-3b6dbdba3b15)
2024-11-25 16:33:10.356 68673 ERROR nova.api.openstack.wsgi
2024-11-25 16:33:10.361 68673 INFO nova.api.openstack.wsgi [req-c0f23237-681c-455a-a14c-cf13cbb3fe02 3dad170ac7494401ac0d9f0d93db9c2b 9761d88102694fa790923d8c28c94500 - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneauth1.exceptions.http.Unauthorized'>
2024-11-25 16:33:10.363 68673 INFO nova.osapi_compute.wsgi.server [req-c0f23237-681c-455a-a14c-cf13cbb3fe02 3dad170ac7494401ac0d9f0d93db9c2b 9761d88102694fa790923d8c28c94500 - default default] 192.168.9.30 "POST /v2.1/servers HTTP/1.1" status: 500 len: 651 time: 1.5440252
Openstack Wallaby in Ubuntu 20.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2089603/+subscriptions