Motivation
When Cloudbeat is running on the EKS cluster and the AWS credentials are wrong it will log a message and stay in idle mode.
The log
Could not run Beater: %!w(*fmt.wrapError=&{Could not create beater: could not retrieve user identity for ECR fetcher: operation error STS: GetCallerIdentity, https response error StatusCode: 403, RequestID: 5b5c2c71-2d32-4a84-a573-30f5c0051d1e, api error InvalidClientTokenId: The security token included in the request is invalid. 0xc000bba9c0})
When looking at other beats we see that Cloudbeat is not behaving the same way. For example
- Metricbeat crashing the process
- Metricbeat logs a clear error
Status change to Failed: 1 error occurred: * 1 error: Error creating runner from config: 1 error: error creating aws metricset: failed DescribeRegions: operation error EC2: DescribeRegions, https response error StatusCode: 401, RequestID: 46361136-638d-4261-9646-8e9805e188d6, api error AuthFailure: AWS was not able to validate the provided access credentials
Definition of done
Related tasks/epics
Checklist
Please follow the following checklist at the beginning of your work, please comment with a suggested high-level solution. It should include:
Before closing this ticket
Motivation
When Cloudbeat is running on the EKS cluster and the AWS credentials are wrong it will log a message and stay in idle mode.
The log
When looking at other beats we see that Cloudbeat is not behaving the same way. For example
Definition of done
Related tasks/epics
Checklist
Please follow the following checklist at the beginning of your work, please comment with a suggested high-level solution. It should include:
Before closing this ticket