This is the error message in /var/lib/docker/volumes/kolla_logs/_data/gnocchi/gnocchi-metricd.log:
2018-07-05 08:12:36,365 [9755] ERROR cotyledon.utils: Unhandled exception
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/cotyledon/utils.py”, line 84, in exit_on_exception
yield
File “/usr/lib/python2.7/site-packages/cotyledon/service.py”, line 139, in _run
self.run()
File “/usr/lib/python2.7/site-packages/gnocchi/cli/metricd.py”, line 76, in run
self._configure()
File “/usr/lib/python2.7/site-packages/tenacity/__init.py”, line 214, in wrapped_f
return self.call(f, *args, **kw)
File “/usr/lib/python2.7/site-packages/tenacity/__init_.py”, line 295, in call
start_time=start_time)
File “/usr/lib/python2.7/site-packages/tenacity/init.py”, line 252, in iter
return fut.result()
File “/usr/lib/python2.7/site-packages/concurrent/futures/base.py”, line 422, in result
return self.__get_result()
File “/usr/lib/python2.7/site-packages/tenacity/__init_.py”, line 298, in call
result = fn(*args, **kwargs)
File “/usr/lib/python2.7/site-packages/gnocchi/cli/metricd.py”, line 161, in configure
six.moves.range(self.incoming.NUM_SACKS))
File “/usr/lib/python2.7/site-packages/gnocchi/incoming/__init_.py”, line 53, in NUM_SACKS
raise SackDetectionError(e)
SackDetectionError: [Errno 2] No such file or directory: ‘/var/lib/gnocchi/tmp/gnocchi-config’
解决方法:
1 | #gnocchi-upgrade |