MonkeyCanCode commented on issue #4076: URL: https://github.com/apache/polaris/issues/4076#issuecomment-4177617289
> > [@Zevrap-81](https://github.com/Zevrap-81) so the issue is due to missing role-arn as you pointed out above (the 400 bad request). A simple example you can find is https://github.com/apache/polaris/blob/main/site/content/guides/rustfs/docker-compose.yml where it invokes [create-catalog.sh](https://github.com/apache/polaris/blob/main/site/content/guides/assets/polaris/create-catalog.sh) when using non-AWS S3-compatible storage (which is what I am assuming on what you are using based on the minimal config). As what [@dimas-b](https://github.com/dimas-b) mentioned above, when sts/kms are not supported by the S3-compatible storage you are using, those would need to be set on the catalog property (as what you have set above but have it uncommented). One easy way to allow us debug further is show us the catalog you currently have by using following: > > > > ``` > > ./polaris --profile root catalogs list > > ``` > > here's the output to this: > ``` > [ > { > "type": "INTERNAL", > "name": "senec_catalog_6", > "properties": { > "default-base-location": "s3://senec-bucket/senec_catalog_6/", > "catalog": "senec_catalog_6" > }, > "createTimestamp": 1775113025345, > "lastUpdateTimestamp": 1775113025345, > "entityVersion": 1, > "storageConfigInfo": { > "storageType": "S3", > "allowedLocations": [ > "s3://senec-bucket/senec_catalog_6/" > ], > "roleArn": "arn:aws:iam::123456789012:role/data_ops_role_2", > "externalId": "", > "region": "us-east-1", > "endpoint": "http://localhost:9000/", > "stsEndpoint": "", > "stsUnavailable": false, > "endpointInternal": "http://rustfs:9000", > "pathStyleAccess": true > } > }, > { > "type": "INTERNAL", > "name": "senec_catalog", > "properties": { > "default-base-location": "s3://senec-bucket/senec_catalog/" > }, > "createTimestamp": 1775113285322, > "lastUpdateTimestamp": 1775113285322, > "entityVersion": 1, > "storageConfigInfo": { > "storageType": "S3", > "allowedLocations": [ > "s3://senec-bucket/senec_catalog/" > ], > "endpoint": "http://localhost:9000", > "endpointInternal": "http://rustfs:9000", > "pathStyleAccess": true > } > } > ] > ``` > One thing that stands out to me is ` "externalId": "",`. Is this the problem? I think the problem is sts unavailable is not set. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
