Skip to content

Handle kubernetes watcher exception #30

Description

@stv0g

In GitLab by @iripiri on Mar 24, 2022, 17:35

seems to occur occasionally

Exception in thread Thread-13:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/threading.py", line 973, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.9/threading.py", line 910, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.9/site-packages/villas/controller/components/managers/kubernetes.py", line 93, in _run_event_watcher
    for e in w.stream(c.list_namespaced_event,
  File "/usr/local/lib/python3.9/site-packages/kubernetes/watch/watch.py", line 182, in stream
    raise client.rest.ApiException(
kubernetes.client.exceptions.ApiException: (500)
Reason: InternalError: Internal error occurred: etcdserver: no leader

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions