File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint 2023-05-22 12:11:00.079 10244 ERROR nova return self.session.get_endpoint(auth or self.auth, **kwargs) 2023-05-22 12:11:00.079 10244 ERROR nova File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 1218, in get_endpoint 2023-05-22 12:11:00.079 10244 ERROR nova return auth.get_endpoint(self, **kwargs) 2023-05-22 12:11:00.079 10244 ERROR nova File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 380, in get_endpoint 2023-05-22 12:11:00.079 10244 ERROR nova allow_version_hack=allow_version_hack, **kwargs) 2023-05-22 12:11:00.079 10244 ERROR nova File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 271, in get_endpoint_data 2023-05-22 12:11:00.079 10244 ERROR nova service_catalog = self.get_access(session).service_catalog 2023-05-22 12:11:00.079 10244 ERROR nova File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 134, in get_access 2023-05-22 12:11:00.079 10244 ERROR nova self.auth_ref = self.get_auth_ref(session) 2023-05-22 12:11:00.079 10244 ERROR nova File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py", line 208, in get_auth_ref 2023-05-22 12:11:00.079 10244 ERROR nova return self._plugin.get_auth_ref(session, **kwargs) 2023-05-22 12:11:00.079 10244 ERROR nova File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 188, in get_auth_ref 2023-05-22 12:11:00.079 10244 ERROR nova authenticated=False, log=False, **rkwargs) 2023-05-22 12:11:00.079 10244 ERROR nova File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 1124, in post 2023-05-22 12:11:00.079 10244 ERROR nova return self.request(url, 'POST', **kwargs) 2023-05-22 12:11:00.079 10244 ERROR nova File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 961, in request 2023-05-22 12:11:00.079 10244 ERROR nova raise exceptions.from_response(resp, method, url) 2023-05-22 12:11:00.079 10244 ERROR nova Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-009eabd5-6dd8-42fe-80ea-2fc398
时间: 2024-01-31 14:01:45 浏览: 148
grpc-python-demos
这似乎是一个 Python 代码的错误信息,出现了未授权的 HTTP 401 请求错误。你需要检查代码中是否有正确的认证信息,以确保请求可以被授权访问。同时,你也需要检查是否有其他可能导致请求错误的问题,例如 URL 或参数是否正确。如果问题仍然存在,你可以尝试查看 API 的文档或联系 API 的开发者以获取更多帮助。
阅读全文