Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metricd fails if coordination_url unset - update_capabilities NotImplemented #996

Closed
dseven opened this issue Oct 15, 2018 · 0 comments
Closed

Comments

@dseven
Copy link

dseven commented Oct 15, 2018

With OpenStack Rocky / Gnocchi 4.3, a single instance of metricd with coordination_url unset fails to process metrics with:

ERROR    gnocchi.cli.metricd: Unexpected error during processing job
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gnocchi/cli/metricd.py", line 85, in run
    self._run_job()
  File "/usr/lib/python2.7/site-packages/gnocchi/cli/metricd.py", line 246, in _run_job
    self.coord.update_capabilities(self.GROUP_ID, self.store.statistics)
  File "/usr/lib/python2.7/site-packages/tooz/coordination.py", line 592, in update_capabilities
    raise tooz.NotImplemented
NotImplemented

The same configuration worked with Queens / Gnocchi 4.2. Seems to be due to 72a7a39

Using a coordination service like redis makes the problem go away, but that should not be required for simple single-instance implementation.

chungg pushed a commit to chungg/gnocchi that referenced this issue Oct 22, 2018
chungg pushed a commit to chungg/gnocchi that referenced this issue Oct 22, 2018
@mergify mergify bot closed this as completed in #1000 Oct 26, 2018
mergify bot pushed a commit that referenced this issue Oct 26, 2018
catch and carry on.

Closes: #996
mergify bot pushed a commit that referenced this issue Oct 26, 2018
catch and carry on.

Closes: #996
(cherry picked from commit c1c1e28)
mergify bot pushed a commit that referenced this issue Oct 26, 2018
catch and carry on.

Closes: #996
(cherry picked from commit c1c1e28)
openstack-gerrit pushed a commit to openstack/kolla that referenced this issue Feb 12, 2020
It includes several bug fixes, in particular one for an issue when
coordination is disabled [1].

[1] gnocchixyz/gnocchi#996

Change-Id: I0ac41463bd6ca1eb363e1c5cdc29f7222ec382b1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant