Zevrap-81 opened a new issue, #4076:
URL: https://github.com/apache/polaris/issues/4076
### Describe the bug
I am trying to use the cli command to create catalog using `polaris setup
apply test-setup.yaml` command:
even though i set the sts_unavailable flag to true it still asks for ARN
like so
```
apache_polaris/sdk/management/exceptions.py", line 161, in from_response
raise BadRequestException(http_resp=http_resp, body=body, data=data)
apache_polaris.sdk.management.exceptions.BadRequestException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'content-length': '90',
'Content-Type': 'application/json', 'X-Request-ID':
'819c92cb-c6d7-4fda-8093-82c2a352fdf9_0000000000000000251'})
HTTP response body: {"error":{"message":"ARN must not be
empty","type":"IllegalArgumentException","code":400}}
```
when i provide some dummy ARN value then the catalog gets created and also
the namespaces but when creating tables i get the following error
```
IllegalArgumentException: Credential vending was requested for table
Senec.Stage.Bronze.Ampace_V3LFP.BmsAmpaceV3ModuleMeasurement, but no
credentials are available
```
however, using the `polaris catalogs create` commands works as expected.
### To Reproduce
The minimal test-setup.yaml file is as follows:
```
catalogs:
- name: "senec_catalog_6"
storage_type: "s3"
type: internal
default_base_location: "s3://senec-bucket/senec_catalog_6/"
allowed_locations:
- "s3://senec-bucket/senec_catalog_6/"
region: "us-east-1"
# Custom S3 endpoint.
endpoint: "http://localhost:9000/"
endpoint_internal: "http://rustfs:9000"
path_style_access: true
# sts_unavailable: true
# kms_unavailable: true
properties:
catalog: senec_catalog_6
```
my yaml file has a bit more things like setting up the principals, and other
entities but creating catalogs is what causing the issue.
and the exact command that i used is
`polaris --profile root setup apply ./test-setup.yaml`
### Actual Behavior
_No response_
### Expected Behavior
_No response_
### Additional context
I am trying to use Polaris REST catalog along with PyIceberg engine and
RustFS for storage. I am still new to this so I might be doing something wrong.
I am happy to share more info as required.
### System information
I am running ubuntu and i have latest polaris version from main.
--
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]