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

Kinesis API's giving 404 while intializing worker from k8 pods using IRCA auth mechanism. #4

Open
kashyap2108 opened this issue Jan 11, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@kashyap2108
Copy link

Describe the bug

Inside worker.intialize() method when this method is called

streamDescription, err := w.kc.DescribeStream(context.TODO(), &kinesis.DescribeStreamInput{
		StreamName: &w.kclConfig.StreamName,
	})

We are Getting the following error while running from k8 pod.
failed to sign request: failed to retrieve credentials: failed to retrieve credentials, operation error STS: AssumeRoleWithWebIdentity, https response error StatusCode: 404

while running the worker from EC2 instance it's working fine.
we are using IRSA method for auth. mechanism from k8 pod.

Kinesis DescribeStream and ListShards Api's are failing and giving above error.

Reproduction steps

1.Try to run the worker from k8 pod which uses IRSA auth. mechanism.
...

Expected behavior

It should be able to use the Kinesis Stream APi's without any error.

Additional context

No response

@kashyap2108 kashyap2108 added the bug Something isn't working label Jan 11, 2022
@kashyap2108
Copy link
Author

@liuqi @matt-royal @aramprice

@taoj-action
Copy link
Contributor

@kashyap2108 Are you using IRSA? It shouldn't be too hard to login to the pod and run AWS CLI for Kinesis to figure it out. Most likely, it is a configuration issue.

"Before starting the setup, check your EKS cluster version. IRSA is available on Amazon EKS versions 1.14 or later. To use this feature, you need to update your existing cluster to version 1.14 or later."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants