为何OPENSTACK-210模拟环境中执行 openstack compute service list 报错? 5C

本人刚开始学红帽openstack 210的课程,在导入模拟环境到VMware中后,在开启classroom,workstation,power,director,后,在director上以用户stack执行命令 openstack compute service list 时,报错代码如下,请各位大神指点下,谢谢。

[stack@director ~]$ openstack compute service list
Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
SSL exception connecting to https://172.25.249.201:13000/v2.0/tokens: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

以下是日志信息:

May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main [-] Periodic clean up of node cache failed
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main Traceback (most recent call last):
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/ironic_inspector/main.py", line 325, in periodic_clean_up
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     sync_with_ironic()
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/ironic_inspector/main.py", line 333, in sync_with_ironic
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     ironic_nodes = ironic.node.list(limit=0)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/ironicclient/v1/node.py", line 135, in list
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     limit=limit)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/ironicclient/common/base.py", line 129, in _list_pagination
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     resp, body = self.api.json_request('GET', url)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/ironicclient/common/http.py", line 553, in json_request
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     resp = self._http_request(url, method, **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/ironicclient/common/http.py", line 190, in wrapper
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     return func(self, url, method, **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/ironicclient/common/http.py", line 526, in _http_request
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     raise_exc=False, **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     return wrapped(*args, **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 462, in request
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     auth_headers = self.get_auth_headers(auth)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 733, in get_auth_headers
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     return auth.get_headers(self, **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/plugin.py", line 90, in get_headers
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     token = self.get_token(session)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 90, in get_token
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     return self.get_access(session).auth_token
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 136, in get_access
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     self.auth_ref = self.get_auth_ref(session)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py", line 181, in get_auth_ref
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     return self._plugin.get_auth_ref(session, **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v2.py", line 65, in get_auth_ref
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     authenticated=False, log=False)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 681, in post
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     return self.request(url, 'POST', **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     return wrapped(*args, **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 555, in request
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     resp = send(**kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 593, in _send_request
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     raise exceptions.SSLError(msg)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main SSLError: SSL exception connecting to https://172.25.249.201:13000/v2.0/tokens: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main


1个回答

qq_19671603
Allastair 谢谢,但是这个与我的报错信息不一样
大约一年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐