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
[2023-11-14 11:55:41,120] kopf.objects [INFO ] [obiwan/statefulset-solr-leader-solr] Working on statefulset-solr-leader-solr
[2023-11-14 11:55:41,122] kopf.objects [ERROR ] [obiwan/statefulset-solr-leader-solr] Handler 'send_to_dojo' failed with an exception. Will retry.
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/kopf/_core/actions/execution.py", line 276, in execute_handler_once
result = await invoke_handler(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/kopf/_core/actions/execution.py", line 371, in invoke_handler
result = await invocation.invoke(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/kopf/_core/actions/invocation.py", line 139, in invoke
await asyncio.shield(future) # slightly expensive: creates tasks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<decorator-gen-1>", line 2, in send_to_dojo
File "/usr/local/lib/python3.11/site-packages/prometheus_client/context_managers.py", line 80, in wrapped
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/src/handlers.py", line 79, in send_to_dojo
settings.DEFECT_DOJO_PRODUCT_NAME = eval(settings.DEFECT_DOJO_PRODUCT_NAME)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<string>", line 1, in <module>
NameError: name 'defectdojo' is not defined
problem was the re-using of variable-names. When I did this I already had a bad feeling about it but decided to do it anyway because of laziness. Fixed by 906650e
Description
There are various error messages in log:
Helm values looks like this:
Reproduction steps
with start of the pod these errors are in the log
Current Behavior
Expected Behavior
Additional information
No response
The text was updated successfully, but these errors were encountered: