Hello,
I am deploying StarRocks on EKS using the kube operator via Helm. I used the shared data model with S3 as storage backend. I am using IRSA (AWS IAM role for service accounts) to allow FE and CN pods read-write access to S3.
I am using StarRocks version 3.2-latest.
Most operations are working well. I am able to create tables, insert rows and query data.
However, when I try to load data from S3 files using FILES(), I get the following error :
[42000][1064] Access storage error. Error message: Unable to load AWS credentials from environment variables (AWS_ACCESS_KEY_ID (or AWS_ACCESS_KEY) and AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY))
The attached role via IRSA allows access to the files I am trying to load. I tested the access manually from the pods. Maybe, the requested variables by the FILES() function are not available since I am using IRSA.
Is there a configuration step that I missed ? or does FILES() only work with access and secret keys ?
For information, IRSA loads the following IAM variables :
- AWS_ROLE_ARN
- AWS_WEB_IDENTITY_TOKEN_FILE
Thank you.