[Expired for OpenStack Compute (nova) because there has been no activity for 60 days.]
** Changed in: nova Status: Incomplete => Expired -- 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/2072433 Title: "keystoneauth1.exceptions.http.Unauthorized" Status in OpenStack Compute (nova): Expired Bug description: when create instance: openstack server create --flavor m1 --image cirros --nic net-id=provider --security-group default --key-name mykey provider-instance1 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'> (HTTP 500) (Request-ID: req-b3dd497b-73b9-4ae3-8c15-e1d074f6de33) 2024-07-07 23:15:06.847 52501 INFO nova.osapi_compute.wsgi.server [-] 10.10.145.144 "GET /v2.1 HTTP/1.1" status: 200 len: 783 time: 0.0013983 2024-07-07 23:15:07.063 52501 INFO nova.osapi_compute.wsgi.server [req-e5313e04-fd68-41f6-97f6-1a786e90173f e74c48113a304c0c8cc057321530f6aa 8efcd3d0862d4ae7abc4d0febcb76e9b - default default] 10.10.145.144 "POST /v2.1/flavors HTTP/1.1" status: 200 len: 789 time: 0.2144532 2024-07-07 23:15:21.124 52501 INFO nova.api.openstack.wsgi [req-4a088bb9-af24-4665-bbac-477db8b10773 e74c48113a304c0c8cc057321530f6aa 8efcd3d0862d4ae7abc4d0febcb76e9b - default default] HTTP exception thrown: Flavor m1 could not be found. 2024-07-07 23:15:21.125 52501 INFO nova.osapi_compute.wsgi.server [req-4a088bb9-af24-4665-bbac-477db8b10773 e74c48113a304c0c8cc057321530f6aa 8efcd3d0862d4ae7abc4d0febcb76e9b - default default] 10.10.145.144 "GET /v2.1/flavors/m1 HTTP/1.1" status: 404 len: 495 time: 0.0072858 2024-07-07 23:15:21.143 52501 INFO nova.osapi_compute.wsgi.server [req-499fffd2-96c2-4bfa-bef4-8791530213f7 e74c48113a304c0c8cc057321530f6aa 8efcd3d0862d4ae7abc4d0febcb76e9b - default default] 10.10.145.144 "GET /v2.1/flavors HTTP/1.1" status: 200 len: 581 time: 0.0164435 2024-07-07 23:15:21.149 52501 INFO nova.osapi_compute.wsgi.server [req-043cb16e-c3d2-408f-af4e-31f78ae529b4 e74c48113a304c0c8cc057321530f6aa 8efcd3d0862d4ae7abc4d0febcb76e9b - default default] 10.10.145.144 "GET /v2.1/flavors/0 HTTP/1.1" status: 200 len: 747 time: 0.0048816 2024-07-07 23:15:21.244 52501 WARNING oslo_config.cfg [req-b3dd497b-73b9-4ae3-8c15-e1d074f6de33 e74c48113a304c0c8cc057321530f6aa 8efcd3d0862d4ae7abc4d0febcb76e9b - default default] Deprecated: Option "api_servers" from group "glance" is deprecated for removal ( Support for image service configuration via standard keystoneauth1 Adapter options was added in the 17.0.0 Queens release. The api_servers option was retained temporarily to allow consumers time to cut over to a real load balancing solution. ). Its value may be silently ignored in the future. 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi [req-b3dd497b-73b9-4ae3-8c15-e1d074f6de33 e74c48113a304c0c8cc057321530f6aa 8efcd3d0862d4ae7abc4d0febcb76e9b - default default] Unexpected exception in API method: keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-fdede7d2-631b-449c-9f43-992191586cf1) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi Traceback (most recent call last): 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/openstack/wsgi.py", line 658, in wrapped 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return f(*args, **kwargs) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/validation/__init__.py", line 110, in wrapper 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return func(*args, **kwargs) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/validation/__init__.py", line 110, in wrapper 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return func(*args, **kwargs) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/validation/__init__.py", line 110, in wrapper 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return func(*args, **kwargs) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi [Previous line repeated 10 more times] 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/api/openstack/compute/servers.py", line 784, in create 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi instances, resv_id = self.compute_api.create( 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/compute/api.py", line 2148, in create 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return self._create_instance( 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/compute/api.py", line 1631, in _create_instance 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi ) = self._validate_and_build_base_options( 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/compute/api.py", line 1101, in _validate_and_build_base_options 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi result = self.network_api.create_resource_requests( 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 2302, in create_resource_requests 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi self.has_extended_resource_request_extension(context, neutron)) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 1411, in has_extended_resource_request_extension 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return self._has_extension( 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 1385, in _has_extension 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi self._refresh_neutron_extensions_cache(client) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 1369, in _refresh_neutron_extensions_cache 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi extensions_list = client.list_extensions()['extensions'] 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 197, in wrapper 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi ret = obj(*args, **kwargs) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 804, in list_extensions 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return self.get(self.extensions_path, params=_params) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 197, in wrapper 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi ret = obj(*args, **kwargs) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 356, in get 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return self.retry_request("GET", action, body=body, 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 197, in wrapper 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi ret = obj(*args, **kwargs) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 333, in retry_request 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return self.do_request(method, action, body=body, 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/nova/network/neutron.py", line 197, in wrapper 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi ret = obj(*args, **kwargs) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 284, in do_request 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi resp, replybody = self.httpclient.do_request(action, method, body=body, 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/client.py", line 341, in do_request 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi self._check_uri_length(url) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/client.py", line 334, in _check_uri_length 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi uri_len = len(self.endpoint_url) + len(url) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/neutronclient/client.py", line 348, in endpoint_url 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return self.get_endpoint() 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/adapter.py", line 291, in get_endpoint 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return self.session.get_endpoint(auth or self.auth, **kwargs) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 1243, in get_endpoint 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return auth.get_endpoint(self, **kwargs) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/service_token.py", line 61, in get_endpoint 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return self.user_auth.get_endpoint(*args, **kwargs) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/base.py", line 375, in get_endpoint 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi endpoint_data = self.get_endpoint_data( 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/base.py", line 271, in get_endpoint_data 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi service_catalog = self.get_access(session).service_catalog 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/base.py", line 134, in get_access 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi self.auth_ref = self.get_auth_ref(session) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/generic/base.py", line 208, in get_auth_ref 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return self._plugin.get_auth_ref(session, **kwargs) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/identity/v3/base.py", line 187, in get_auth_ref 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi resp = session.post(token_url, json=body, headers=headers, 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 1149, in post 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi return self.request(url, 'POST', **kwargs) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi File "/usr/lib/python3/dist-packages/keystoneauth1/session.py", line 986, in request 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi raise exceptions.from_response(resp, method, url) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-fdede7d2-631b-449c-9f43-992191586cf1) 2024-07-07 23:15:22.126 52501 ERROR nova.api.openstack.wsgi 2024-07-07 23:15:22.136 52501 INFO nova.api.openstack.wsgi [req-b3dd497b-73b9-4ae3-8c15-e1d074f6de33 e74c48113a304c0c8cc057321530f6aa 8efcd3d0862d4ae7abc4d0febcb76e9b - 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-07-07 23:15:22.139 52501 INFO nova.osapi_compute.wsgi.server [req-b3dd497b-73b9-4ae3-8c15-e1d074f6de33 e74c48113a304c0c8cc057321530f6aa 8efcd3d0862d4ae7abc4d0febcb76e9b - default default] 10.10.145.144 "POST /v2.1/servers HTTP/1.1" status: 500 len: 649 time: 0.9055891 To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/2072433/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp