You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I start my operator locally and it immediately fails. Same failure when running inside k8s.
$ kopf run dns_network_policy_operator.py --all-namespaces --peering dns-network-policy-operator --dev
[2021-03-10 20:11:50,537] kopf.reactor.activit [INFO ] Initial authentication has been initiated.
[2021-03-10 20:11:50,543] kopf.activities.auth [INFO ] Activity 'login_via_pykube' succeeded.
[2021-03-10 20:11:50,544] kopf.reactor.activit [INFO ] Initial authentication has finished.
[2021-03-10 20:11:50,840] kopf.reactor.queuein [ERROR ] Event processing has failed with an unrecoverable error for (clusterkopfpeerings.v1.kopf.dev, '40beea2f-1d36-4ece-8e4d-a24e36dd4cc9').
Traceback (most recent call last):
File "/Users/rtoma/projects/dns-network-policy-operator/env/lib/python3.9/site-packages/kopf/reactor/queueing.py", line 311, in worker
await processor(
TypeError: process_peering_event() got an unexpected keyword argument 'resource_indexed'
[2021-03-10 20:11:50,947] kopf.reactor.queuein [ERROR ] Event processing has failed with an unrecoverable error for (clusterkopfpeerings.v1.kopf.dev, 'd611cf8d-ce78-45e6-b88b-da6ba8263c2c').
Traceback (most recent call last):
File "/Users/rtoma/projects/dns-network-policy-operator/env/lib/python3.9/site-packages/kopf/reactor/queueing.py", line 311, in worker
await processor(
TypeError: process_peering_event() got an unexpected keyword argument 'resource_indexed'
[2021-03-10 20:11:50,948] kopf.reactor.orchest [ERROR ] Peering observer for dns-network-policy-operator@none has failed: Event processing has failed with an unrecoverable error. This seems to be a framework bug. The operator will stop to prevent damage.
Traceback (most recent call last):
File "/Users/rtoma/projects/dns-network-policy-operator/env/lib/python3.9/site-packages/aiojobs/_scheduler.py", line 138, in _wait_failed
await task # should raise exception
File "/Users/rtoma/projects/dns-network-policy-operator/env/lib/python3.9/site-packages/kopf/reactor/queueing.py", line 311, in worker
await processor(
TypeError: process_peering_event() got an unexpected keyword argument 'resource_indexed'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/rtoma/projects/dns-network-policy-operator/env/lib/python3.9/site-packages/kopf/utilities/aiotasks.py", line 69, in guard
await coro
File "/Users/rtoma/projects/dns-network-policy-operator/env/lib/python3.9/site-packages/kopf/reactor/queueing.py", line 229, in watcher
raise RuntimeError("Event processing has failed with an unrecoverable error. "
RuntimeError: Event processing has failed with an unrecoverable error. This seems to be a framework bug. The operator will stop to prevent damage.
nolar
added
breaking
Changes that break backwards compatibility of the public interface
and removed
breaking
Changes that break backwards compatibility of the public interface
labels
Mar 10, 2021
Long story short
Upgrading kopf to 1.30.0 gives me errors.
Description
I start my operator locally and it immediately fails. Same failure when running inside k8s.
The code snippet to reproduce the issue
The exact command to reproduce the issue
The full output of the command that failed
Environment
Python packages installed
The text was updated successfully, but these errors were encountered: