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

Missing resources in sysdump: an empty namespace may not be set when a resource name is provided #1289

Closed
pchaigno opened this issue Dec 11, 2022 · 0 comments · Fixed by #1291
Assignees
Labels
area/sysdump kind/bug Something isn't working

Comments

@pchaigno
Copy link
Member

Unexpected output

Several resources are missing from the sysdump because of an an empty namespace may not be set when a resource name is provided error:

[...]
⚠️ The following tasks failed, the sysdump may be incomplete:
⚠️ [12] Collecting Cilium egress NAT policies: failed to collect Cilium egress NAT policies: the server could not find the requested resource (get ciliumegressnatpolicies.cilium.io)
⚠️ [13] Collecting Cilium Egress Gateway policies: failed to collect Cilium Egress Gateway policies: the server could not find the requested resource (get ciliumegressgatewaypolicies.cilium.io)
⚠️ [14] Collecting Cilium local redirect policies: failed to collect Cilium local redirect policies: the server could not find the requested resource (get ciliumlocalredirectpolicies.cilium.io)
⚠️ [19] Collecting CiliumClusterwideEnvoyConfigs: failed to collect CiliumClusterwideEnvoyConfigs: the server could not find the requested resource (get ciliumclusterwideenvoyconfigs.cilium.io)
⚠️ [20] Collecting CiliumEnvoyConfigs: failed to collect CiliumEnvoyConfigs: the server could not find the requested resource (get ciliumenvoyconfigs.cilium.io)
⚠️ [21] Collecting Cilium etcd secret: failed to collect Cilium etcd secret: an empty namespace may not be set when a resource name is provided
⚠️ [22] Collecting the Cilium configuration: failed to collect the Cilium configuration: an empty namespace may not be set when a resource name is provided
⚠️ [24] Collecting the Hubble daemonset: failed to collect the Hubble daemonset: an empty namespace may not be set when a resource name is provided
⚠️ [25] Collecting the Hubble Relay configuration: failed to collect the Hubble Relay configuration: an empty namespace may not be set when a resource name is provided
⚠️ [26] Collecting the Hubble Relay deployment: failed to collect the Hubble Relay deployment: an empty namespace may not be set when a resource name is provided
⚠️ [27] Collecting the Hubble UI deployment: failed to collect the Hubble UI deployment: an empty namespace may not be set when a resource name is provided
⚠️ [28] Collecting the Cilium operator deployment: failed to collect the Cilium operator deployment: an empty namespace may not be set when a resource name is provided
⚠️ [29] Collecting the 'clustermesh-apiserver' deployment: failed to collect the 'clustermesh-apiserver' deployment: an empty namespace may not be set when a resource name is provided
⚠️ [31] Collecting the CNI configmap: failed to collect the CNI configuration configmap: an empty namespace may not be set when a resource name is provided
⚠️ [44] Collecting kvstore data: failed to get cilium-config ConfigMap: an empty namespace may not be set when a resource name is provided
⚠️ Please note that depending on your Cilium version and installation options, this may be expected
🗳 Compiling sysdump
✅ The sysdump has been saved to /home/paul/cilium-cli/cilium-sysdump-20221211-153432.zip

Reproduction Steps

gcloud container clusters create test-cluster --num-nodes 2 --machine-type n1-standard-4 --zone europe-west4-a --node-taints node.cilium.io/agent-not-ready=true:NoSchedule
cilium install
cilium sysdump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sysdump kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant