Erich Fussi

Results 11 comments of Erich Fussi

I patched my operator to run with ANSIBLE_VERBOSITY=3 and was able to gather the stack trace: ``` The full traceback is: File "/tmp/ansible_k8s_status_payload_bi0wnjm8/ansible_k8s_status_payload.zip/ansible_collections/operator_sdk/util/plugins/module_utils/api_utils.py", line 86, in get_api_client client = DynamicClient(kubernetes.client.ApiClient(configuration))...

The source code appears to be here: https://github.com/kubernetes-client/python/blob/2677e9c810b62a82e75e65d07e502d49ec74a551/kubernetes/base/dynamic/discovery.py#L48

With https://github.com/kubernetes-client/python/releases/tag/v25.3.0 released, the above [patch in the operator's Dockerfile](https://github.com/operator-framework/operator-sdk/issues/5723#issuecomment-1175975274) can be changed to: ``` && pip3 install --no-cache-dir kubernetes~=25.3.0 \ && ansible-galaxy collection install -r ${HOME}/requirements.yml \ ```

https://github.com/operator-framework/operator-sdk/releases/tag/v1.26.0 contains **kubernetes** 25.3.0 which has the fix.

This issue will be solved through https://github.com/SynoCommunity/spksrc/pull/5028.

I hit a similar error with lazygit 0.55.1, although the error message is a bit different: ``` panic: fatal: unknown error occurred while reading the configuration files goroutine 500 [running]:...

Thanks for looking at this, @stefanhaller! Something must have messed up my **.git/config** and I assume lazygit tripped over the missing remotes in there. I have no indication lazygit is...

Seems this breaks even without a `var` in the playbook: ```yaml apiVersion: v1 kind: ConfigMap metadata: name: test-cm namespace: default data: value: "{{ val | default(omit) }}" ``` gives me...

Digging further: ansible-core \ kubernetes.core | 5.2.0 | 5.3.0 --- | --- | --- 2.18.6 | works | subject issue 2.19.0b4 | _error_ | works "error" meaning: ``` [ERROR]: Task...

Here is another occurrence of `getheaders`: https://github.com/kubernetes-client/python/blob/a49d85dbc593e083974099e766809c7b13b243de/kubernetes/client/exceptions.py#L91 From my sniff testing, this needs to be changed as well.