唉真难起名字 2021-09-27 16:19 采纳率: 50%
浏览 183
已结题

使用kolla部署openstack wallaby版本, Waiting for nova-compute services to register themselves

ubuntu20.04上使用kolla部署openstack wallaby版本,运行kolla-ansible -i ./multinode deploy时一直 Waiting for nova-compute services to register themselves
信息如下:

TASK [nova-cell : Waiting for nova-compute services to register themselves] *******************************************************************************************************************************************************************
FAILED - RETRYING: Waiting for nova-compute services to register themselves (20 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (19 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (18 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (17 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (16 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (15 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (14 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (13 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (12 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (11 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (10 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (9 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (8 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (7 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (6 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (5 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (4 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (3 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (2 retries left).
FAILED - RETRYING: Waiting for nova-compute services to register themselves (1 retries left).
fatal: [compute01 -> controller]: FAILED! => {"attempts": 20, "changed": false, "cmd": ["docker", "exec", "kolla_toolbox", "openstack", "--os-interface", "admin", "--os-auth-url", "http://192.168.1.200:35357", "--os-identity-api-version", "3", "--os-project-domain-name", "default", "--os-project-name", "admin", "--os-username", "admin", "--os-password", "2hxg085Av2MSnvdw0TWixlNs8gn4XU416qCmNLsg", "--os-user-domain-name", "default", "--os-region-name", "RegionOne", "compute", "service", "list", "--format", "json", "--column", "Host", "--service", "nova-compute"], "delta": "0:00:01.576627", "end": "2021-09-27 15:16:43.458040", "rc": 0, "start": "2021-09-27 15:16:41.881413", "stderr": "", "stderr_lines": [], "stdout": "[]", "stdout_lines": ["[]"]}

使用了3台服务器分别作为controller、compute01、storage01
查看compute01的日志nova-compute.log,信息如下:

2021-09-27 14:52:16.299 7 INFO os_vif [-] Loaded VIF plugins: linux_bridge, noop, ovs
2021-09-27 14:54:27.263 7 WARNING keystoneauth.identity.generic.base [req-6e42adcd-d4a9-424f-8dc2-2190b6b67661 - - - - -] Failed to discover available identity versions when contacting http://192.168.1.200:35357. Attempting to parse version from URL.: keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to http://192.168.1.200:35357: HTTPConnectionPool(host='192.168.1.200', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1afceecc10>: Failed to establish a new connection: [Errno 110] ETIMEDOUT'))
2021-09-27 14:54:27.266 7 CRITICAL nova [req-6e42adcd-d4a9-424f-8dc2-2190b6b67661 - - - - -] Unhandled error: keystoneauth1.exceptions.discovery.DiscoveryFailure: Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Unable to establish connection to http://192.168.1.200:35357: HTTPConnectionPool(host='192.168.1.200', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1afceecc10>: Failed to establish a new connection: [Errno 110] ETIMEDOUT'))
2021-09-27 14:54:27.266 7 ERROR nova Traceback (most recent call last):
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
2021-09-27 14:54:27.266 7 ERROR nova     conn = connection.create_connection(
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
2021-09-27 14:54:27.266 7 ERROR nova     raise err
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
2021-09-27 14:54:27.266 7 ERROR nova     sock.connect(sa)
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3/dist-packages/eventlet/greenio/base.py", line 253, in connect
2021-09-27 14:54:27.266 7 ERROR nova     socket_checkerr(fd)
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3/dist-packages/eventlet/greenio/base.py", line 51, in socket_checkerr
2021-09-27 14:54:27.266 7 ERROR nova     raise socket.error(err, errno.errorcode[err])
2021-09-27 14:54:27.266 7 ERROR nova TimeoutError: [Errno 110] ETIMEDOUT
2021-09-27 14:54:27.266 7 ERROR nova 
2021-09-27 14:54:27.266 7 ERROR nova During handling of the above exception, another exception occurred:
2021-09-27 14:54:27.266 7 ERROR nova 
2021-09-27 14:54:27.266 7 ERROR nova Traceback (most recent call last):
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
2021-09-27 14:54:27.266 7 ERROR nova     httplib_response = self._make_request(
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 394, in _make_request
2021-09-27 14:54:27.266 7 ERROR nova     conn.request(method, url, **httplib_request_kw)
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 234, in request
2021-09-27 14:54:27.266 7 ERROR nova     super(HTTPConnection, self).request(method, url, body=body, headers=headers)
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3.8/http/client.py", line 1252, in request
2021-09-27 14:54:27.266 7 ERROR nova     self._send_request(method, url, body, headers, encode_chunked)
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3.8/http/client.py", line 1298, in _send_request
2021-09-27 14:54:27.266 7 ERROR nova     self.endheaders(body, encode_chunked=encode_chunked)
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3.8/http/client.py", line 1247, in endheaders
2021-09-27 14:54:27.266 7 ERROR nova     self._send_output(message_body, encode_chunked=encode_chunked)
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3.8/http/client.py", line 1007, in _send_output
2021-09-27 14:54:27.266 7 ERROR nova     self.send(msg)
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3.8/http/client.py", line 947, in send
2021-09-27 14:54:27.266 7 ERROR nova     self.connect()
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 200, in connect
2021-09-27 14:54:27.266 7 ERROR nova     conn = self._new_conn()
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in _new_conn
2021-09-27 14:54:27.266 7 ERROR nova     raise NewConnectionError(
2021-09-27 14:54:27.266 7 ERROR nova urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f1afceecc10>: Failed to establish a new connection: [Errno 110] ETIMEDOUT
2021-09-27 14:54:27.266 7 ERROR nova 
2021-09-27 14:54:27.266 7 ERROR nova During handling of the above exception, another exception occurred:
2021-09-27 14:54:27.266 7 ERROR nova 
2021-09-27 14:54:27.266 7 ERROR nova Traceback (most recent call last):
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
2021-09-27 14:54:27.266 7 ERROR nova     resp = conn.urlopen(
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen
2021-09-27 14:54:27.266 7 ERROR nova     retries = retries.increment(
2021-09-27 14:54:27.266 7 ERROR nova   File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 573, in increment
2021-09-27 14:54:27.266 7 ERROR nova     raise MaxRetryError(_pool, url, error or ResponseError(cause))
2021-09-27 14:54:27.266 7 ERROR nova urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.200', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1afceecc10>: Failed to establish a new connection: [Errno 110] ETIMEDOUT'))
2021-09-27 14:54:27.266 7 ERROR nova 

貌似是compute01无法访问http://192.168.1.200:35357
试了下确实不能访问,只有controller可以访问它,不懂啥原因,求各位能人解答下!
依赖:
ansible 2.9.26
kolla-ansible 12.2.0
python 3.8

  • 写回答

1条回答 默认 最新

  • SoftwareTeacher 《编程之美》作者 2021-10-01 20:39
    关注

    compute01 的设置和其它机器有什么区别?

    评论

报告相同问题?

问题事件

  • 系统已结题 10月5日
  • 赞助了问题酬金 9月27日
  • 创建了问题 9月27日

悬赏问题

  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
  • ¥50 成都蓉城足球俱乐部小程序抢票
  • ¥15 yolov7训练自己的数据集
  • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
  • ¥15 电力市场出清matlab yalmip kkt 双层优化问题
  • ¥30 ros小车路径规划实现不了,如何解决?(操作系统-ubuntu)