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

Getting “The security token included in the request is invalid” while deploying in EKS in GovCloud #1815

Closed
1 task done
prabinsh opened this issue Mar 2, 2023 · 3 comments
Assignees
Labels
bug Bug report

Comments

@prabinsh
Copy link

prabinsh commented Mar 2, 2023

Description

I am getting the following error security token included in the request is invalid when attempting to discover AWS RDS using a pod that has administrator rights assigned to its role.
The error message I am receiving is
pmm-managed.log:WARN[2023-03-02T18:12:00.044+00:00] RPC /management.RDS/DiscoverRDS done in 1.244182818s with gRPC error: rpc error: code = InvalidArgument desc = The security token included in the request is invalid request=b90e3874-b925-11ed-889c-626f4a78ebbc ,

and I am unsure where to look to find more information about the issue. Can anyone provide guidance on how to troubleshoot this error?

Expected Results

It should discover the databases

Actual Results

Ran into an error

Version

PMM Server 2.35.0

Steps to reproduce

No response

Relevant logs

No response

Code of Conduct

  • I agree to follow Percona Community Code of Conduct
@prabinsh prabinsh added the bug Bug report label Mar 2, 2023
@ritbl ritbl self-assigned this Mar 3, 2023
@ritbl
Copy link
Contributor

ritbl commented Mar 3, 2023

Hey @prabinsh, thank you for contacting. I need more details on your setup so that I can assist you. How do you run PMM and you setup monitoring?

@prabinsh
Copy link
Author

prabinsh commented Mar 6, 2023

Hello @ritbl ,
I am currently running PMM in AWS EKS and have successfully attached the required role to the EKS node. While adding the CloudWatch datasource, I did not encounter any problems. However, I am experiencing some difficulties with the discovery process as it seems to be encountering errors. I would appreciate any advice or recommendations you may have in resolving
this issue.

I also tested by running the docker in my local and trying to discover the AWS instances and ran into the same issue.

I believe you can replicate this easily on your local machine as well.

@prabinsh
Copy link
Author

prabinsh commented Mar 7, 2023

I was running this in GovCloud. I came across this link and was able to configure this https://poc2.zoomgovdev.com/graph/add-instance https://docs.percona.com/percona-monitoring-and-management/faq.html#can-i-add-an-aws-rds-mysql-or-aurora-mysql-instance-from-a-non-default-aws-partition

@prabinsh prabinsh closed this as completed Mar 7, 2023
@prabinsh prabinsh changed the title Getting “The security token included in the request is invalid” while deploying in EKS Getting “The security token included in the request is invalid” while deploying in EKS in GovCloud Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

No branches or pull requests

4 participants