开发者社区> 问答> 正文

openstack neutron命令无法使用,各位大咖看一下问题原因呢

在阿里云服务器上,部署openstack-train单节点,部署完成,服务已正常启动,但是在执行 neutron命令时报错:HttpException: 500: Server Error for url: http://controller:9696/v2.0/agents, Internal Server Error,日志信息如下: 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors [-] An error occurred during processing the request: GET /v2.0/agents HTTP/1.0 Accept: application/json Accept-Encoding: gzip, deflate Connection: keep-alive Content-Type: text/plain Host: controller:9696 User-Agent: openstacksdk/0.36.5 keystoneauth1/3.17.4 python-requests/2.21.0 CPython/2.7.5 X-Auth-Token: *****: SSLError: SSL exception connecting to https://127.0.0.1:35357: HTTPSConnectionPool(host='127.0.0.1', port=35357): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, u'[SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:618)'),)) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors Traceback (most recent call last): 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/oslo_middleware/catch_errors.py", line 40, in call 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors response = req.get_response(self.application) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/webob/request.py", line 1314, in send 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors application, catch_exc_info=False) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/webob/request.py", line 1278, in call_application 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors app_iter = application(self.environ, start_response) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/webob/dec.py", line 129, in call 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors resp = self.call_func(req, *args, **kw) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/webob/dec.py", line 193, in call_func 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors return self.func(req, *args, **kwargs) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/osprofiler/web.py", line 112, in call 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors return request.get_response(self.application) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/webob/request.py", line 1314, in send 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors application, catch_exc_info=False) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/webob/request.py", line 1278, in call_application 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors app_iter = application(self.environ, start_response) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/webob/dec.py", line 129, in call 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors resp = self.call_func(req, *args, **kw) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/webob/dec.py", line 193, in call_func 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors return self.func(req, *args, **kwargs) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/init.py", line 338, in call 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors response = self.process_request(req) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/init.py", line 659, in process_request 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors resp = super(AuthProtocol, self).process_request(request) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/init.py", line 411, in process_request 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors allow_expired=allow_expired) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/init.py", line 445, in _do_fetch_token 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors data = self.fetch_token(token, **kwargs) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/init.py", line 754, in fetch_token 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors allow_expired=allow_expired) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/_identity.py", line 178, in verify_token 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors auth_ref = self._request_strategy.verify_token( 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/_identity.py", line 128, in _request_strategy 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors strategy_class = self._get_strategy_class() 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/_identity.py", line 151, in _get_strategy_class 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors if self._adapter.get_endpoint(version=klass.AUTH_VERSION): 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors return self.session.get_endpoint(auth or self.auth, **kwargs) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 1218, in get_endpoint 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors return auth.get_endpoint(self, **kwargs) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/_auth.py", line 114, in get_endpoint 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors authenticated=False) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystoneauth1/discover.py", line 526, in init 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors authenticated=authenticated) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystoneauth1/discover.py", line 101, in get_version_data 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors resp = session.get(url, headers=headers, authenticated=authenticated) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 1116, in get 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors return self.request(url, 'GET', **kwargs) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 906, in request 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors resp = send(**kwargs) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 1001, in _send_request 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors raise exceptions.SSLError(msg) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors SSLError: SSL exception connecting to https://127.0.0.1:35357: HTTPSConnectionPool(host='127.0.0.1', port=35357): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, u'[SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:618)'),)) 2022-08-05 15:58:37.684 4985 ERROR oslo_middleware.catch_errors 2022-08-05 15:58:37.688 4985 INFO neutron.wsgi [-] 172.29.98.24 "GET /v2.0/agents HTTP/1.1" status: 500 len: 404 time: 0.0192940

展开
收起
游客tnyq44mvc3ili 2022-08-05 16:08:54 384 0
0 条回答
写回答
取消 提交回答
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
OpenStack Swift 海量小文件性能优化之路 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载