olsoloviov opened a new issue, #2709:
URL: https://github.com/apache/polaris/issues/2709

   ### Describe the bug
   
   Role ARN has been made optional for S3 storage by #2339, but some validation 
remained in Python CLI code that prevents creating catalog e.g. on MinIO using 
CLI. Thus MinIO usage example from Getting Started docs section does not work  
   
   ### To Reproduce
   
   Follow command example from 
https://polaris.apache.org/in-dev/unreleased/getting-started/creating-a-catalog/s3/catalog-minio/,
 i.e.:
   ```
   CLIENT_ID=root
   CLIENT_SECRET=s3cr3t
   DEFAULT_BASE_LOCATION=s3://example-bucket/my_data
   REGION=us-west-2
   
   ./polaris \
     --client-id ${CLIENT_ID} \
     --client-secret ${CLIENT_SECRET} \
     catalogs \
     create \
     --storage-type s3 \
     --endpoint http://127.0.0.1:9100 \
     --default-base-location ${DEFAULT_BASE_LOCATION} \
     --region ${REGION} \
     quickstart_catalog
   ```
   
   ### Actual Behavior
   
   Exception when communicating with the Polaris server. 1 validation error for 
AwsStorageConfigInfo
   role_arn
     Input should be a valid string [type=string_type, input_value=None, 
input_type=NoneType]
       For further information visit 
https://errors.pydantic.dev/2.11/v/string_type
   
   ### Expected Behavior
   
   Catalog should be created
   
   ### Additional context
   
   _No response_
   
   ### System information
   
   _No response_


-- 
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]

Reply via email to