安装好ceilometer后,运行ceilometer-upgrade命令,没有输出,一直卡着
使用ctrl+c命令中断之后,
查看/var/log/ceilometer-update.log日志
2022-03-07 10:34:41.280 4243 CRITICAL ceilometer [-] Unhandled error: KeyboardInterrupt
2022-03-07 10:34:41.280 4243 ERROR ceilometer Traceback (most recent call last):
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/bin/ceilometer-upgrade", line 10, in <module>
2022-03-07 10:34:41.280 4243 ERROR ceilometer sys.exit(upgrade())
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/ceilometer/cmd/storage.py", line 60, in upgrade
2022-03-07 10:34:41.280 4243 ERROR ceilometer )(gnocchi_client.upgrade_resource_types, conf)
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 330, in call
2022-03-07 10:34:41.280 4243 ERROR ceilometer start_time=start_time)
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 279, in iter
2022-03-07 10:34:41.280 4243 ERROR ceilometer return fut.result()
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/concurrent/futures/_base.py", line 422, in result
2022-03-07 10:34:41.280 4243 ERROR ceilometer return self.__get_result()
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 333, in call
2022-03-07 10:34:41.280 4243 ERROR ceilometer result = fn(*args, **kwargs)
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/ceilometer/gnocchi_client.py", line 243, in upgrade_resource_types
2022-03-07 10:34:41.280 4243 ERROR ceilometer gnocchi_version = version.LooseVersion(gnocchi.build.get())
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/build.py", line 19, in get
2022-03-07 10:34:41.280 4243 ERROR ceilometer return self._get("").json().get("build", "unknown")
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/base.py", line 37, in _get
2022-03-07 10:34:41.280 4243 ERROR ceilometer return self.client.api.get(*args, **kwargs)
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 328, in get
2022-03-07 10:34:41.280 4243 ERROR ceilometer return self.request(url, 'GET', **kwargs)
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/gnocchiclient/client.py", line 38, in request
2022-03-07 10:34:41.280 4243 ERROR ceilometer **kwargs)
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 213, in request
2022-03-07 10:34:41.280 4243 ERROR ceilometer return self.session.request(url, method, **kwargs)
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 814, in request
2022-03-07 10:34:41.280 4243 ERROR ceilometer resp = send(**kwargs)
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 939, in _send_request
2022-03-07 10:34:41.280 4243 ERROR ceilometer **kwargs)
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 939, in _send_request
2022-03-07 10:34:41.280 4243 ERROR ceilometer **kwargs)
2022-03-07 10:34:41.280 4243 ERROR ceilometer File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 931, in _send_request
2022-03-07 10:34:41.280 4243 ERROR ceilometer time.sleep(connect_retry_delay)
2022-03-07 10:34:41.280 4243 ERROR ceilometer KeyboardInterrupt
2022-03-07 10:34:41.280 4243 ERROR ceilometer
查看了其他的很多日志,都是正常的,请问各位大佬该怎么解决??????