Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
01-16-2021 01:16 AM
Hi,
I am running into following issue when I try to monitor my k8s cluster using Appdynamics. I verified that my controller key is correct. Any other reason why I would run into this issue?
Thanks,
Raghu
[WARNING]: 2021-01-16 05:27:39 - agentregistrationmodule.go:352 - dev is not a valid namespace in your kubernetes cluster
[INFO]: 2021-01-16 05:27:39 - agentregistrationmodule.go:356 - Established connection to Kubernetes API
[INFO]: 2021-01-16 05:27:39 - agentregistrationmodule.go:68 - Cluster name: TEST
[INFO]: 2021-01-16 05:27:39 - agentregistrationmodule.go:119 - Initial Agent registration
[ERROR]: 2021-01-16 05:27:39 - agentregistrationmodule.go:131 - Failed to send agent registration request: Status: 401 Unauthorized, Body:
[ERROR]: 2021-01-16 05:27:39 - agentregistrationmodule.go:132 - clusterId: -1
[ERROR]: 2021-01-16 05:27:39 - agentregistrationmodule.go:134 - Registration properties: {}
04-09-2024 09:06 AM
Hi @sajo.sam,
I did some digging and found this info.
We can see 401 when there is an issue either in the access key or in the account name
kubectl -n appdynamics create secret generic cluster-agent-secret --from-literal=controller-key="myaccount access key valid"
Can you please check and confirm if the access key you have used to create the secret is same with the access key under Settings#licenses#Account.
If not the same then please pass the same and repeat the steps of creating a secret and create yaml .
Thanks,
Ryan, Cisco AppDynamics Community Manager
Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Check out Observabiity in Action
new deep dive videos weekly in the Knowledge Base.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form