Closed swapnil-dargude-rp closed 1 month ago
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This issue was closed because it has been marked as stale for 30 days with no activity.
Describe the bug While using AWS Process credential provider, I encountered with an issue with the AWS OpenTelemetry Collector when trying to export metric and trace to AWS X-Ray . The collector fails with a error "NoCredentialProviders: no valid providers in chain. Deprecated.\n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors". Below are the details of my setup and the error logs.
OpenTelemetry Collector Configuration (otel-collector-config.yaml)
docker-compose.yaml
AWS ~/.aws/config:
AWS ~/.aws/credentials:
What did you expect to see? I expected the AWS OpenTelemetry Collector to successfully authenticate using AWS Process credential provider profile rolesanywhere and send trace data to AWS X-Ray.
What did you see instead?
Instead of the expected behavior, I encountered the following error in the logs:
Environment OS: Red Hat Enterprise Linux (Build 4.18.0-305.88.1.el8_4.x86_64) (64-bit) using docker container
Additional context I have setup IAM roles anywhere for process credential provider