在阿里云服务器上,部署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
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。