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

Stigatron can't find Rancher cluster id #93

Open
ethanchowell opened this issue May 5, 2023 · 1 comment
Open

Stigatron can't find Rancher cluster id #93

ethanchowell opened this issue May 5, 2023 · 1 comment
Assignees

Comments

@ethanchowell
Copy link

I've deployed Stigatron to our cluster, but it appears that the rancher-cluster-id-finder initContainer for stigatron-heimdall2 is unable to get the cluster id from Rancher. I'm seeing the following error

Error: rancher cluster id not found
Usage:
  rcidf id [flags]

Flags:
  -h, --help   help for id

Global Flags:
      --configmap-key string         key in configmap
       --configmap-name string        name of configmap to create
      --configmap-namespace string   namespace of configmap
       --debug                        enable debug logging
      --kubeconfig string            path to kubeconfig file
       --write-file string            path to write output

rancher cluster id not found

We are running in an environment where we have to set HTTP(S)_PROXY and NO_PROXY env vars, and I've manually added those after deploying with no luck. I also manually added the --debug flag to the initContainer, but it doesn't appear to provide any additional information.

@atoy3731
Copy link
Collaborator

atoy3731 commented May 5, 2023

@ethanchowell thanks for the ticket. Think I've identified the issue (being the mechanism we're using to find the clusterId of the downstream clusters is a race condition to the life of the cluster itself). There's a fix that I'll start working this afternoon, will keep you posted when we get it tested.

@atoy3731 atoy3731 self-assigned this May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants