eb 13 21:39:13 cloud-c3-1030990-gnocchi-container-5bf050be <function get_program_name at 0x7f446b7e78b0>[3467]: 2021-02-13 21:39:13,478 [3467] ERROR cotyledon._utils: Unhandled exception
Traceback (most recent call last):
File "/openstack/venvs/gnocchi-21.2.0/lib/python3.8/site-packages/gnocchi/incoming/__init__.py", line 117, in NUM_SACKS
self._num_sacks = int(self._get_storage_sacks())
File "/openstack/venvs/gnocchi-21.2.0/lib/python3.8/site-packages/gnocchi/incoming/file.py", line 47, in _get_storage_sacks
with open(os.path.join(self.basepath_tmp, self.CFG_PREFIX),
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/gnocchi/tmp/gnocchi-config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/openstack/venvs/gnocchi-21.2.0/lib/python3.8/site-packages/cotyledon/_utils.py", line 95, in exit_on_exception
yield
File "/openstack/venvs/gnocchi-21.2.0/lib/python3.8/site-packages/cotyledon/_service.py", line 139, in _run
self.run()
File "/openstack/venvs/gnocchi-21.2.0/lib/python3.8/site-packages/gnocchi/cli/metricd.py", line 78, in run
self._configure()
File "/openstack/venvs/gnocchi-21.2.0/lib/python3.8/site-packages/tenacity/__init__.py", line 311, in wrapped_f
return self.call(f, *args, **kw)
File "/openstack/venvs/gnocchi-21.2.0/lib/python3.8/site-packages/tenacity/__init__.py", line 391, in call
do = self.iter(retry_state=retry_state)
File "/openstack/venvs/gnocchi-21.2.0/lib/python3.8/site-packages/tenacity/__init__.py", line 338, in iter
return fut.result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 432, in result
return self.__get_result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
raise self._exception
File "/openstack/venvs/gnocchi-21.2.0/lib/python3.8/site-packages/tenacity/__init__.py", line 394, in call
result = fn(*args, **kwargs)
File "/openstack/venvs/gnocchi-21.2.0/lib/python3.8/site-packages/gnocchi/cli/metricd.py", line 162, in _configure
self.fallback_tasks = list(self.incoming.iter_sacks())
File "/openstack/venvs/gnocchi-21.2.0/lib/python3.8/site-packages/gnocchi/incoming/__init__.py", line 248, in iter_sacks
return (self._make_sack(i) for i in six.moves.range(self.NUM_SACKS))
File "/openstack/venvs/gnocchi-21.2.0/lib/python3.8/site-packages/gnocchi/incoming/__init__.py", line 119, in NUM_SACKS
raise SackDetectionError(e)
gnocchi.incoming.SackDetectionError: [Errno 2] No such file or directory: '/var/lib/gnocchi/tmp/gnocchi-config'
fix:
/var/lib/gnocchi/tmp/gnocchi-config
with
{"sacks": 128}
Looks similar to https:/ /bugs.launchpad .net/kolla- ansible/ +bug/1780245