Hope you are well. I have been battling to get it to work and I did discover that python3.7 and higher is required to build minio in pip.
Only problem is that I run Rocky8 and the default interpreter is python3.6. I did manage to install python3.8 and installed using pip minio manually. I did change the interpreter to point to 3.8 but still get an error:
`root@someserver:/etc/yum.repos.d# mc admin info myminio
● 127.0.0.1:9091
Uptime: 1 hour
Version: 2024-05-10T01:41:38Z
Network: 1/1 OK
Drives: 1/1 OK
Pool: 1
Pools:
1st, Erasure sets: 1, Drives per erasure set: 1
1 drive online, 0 drives offline, EC:0`
Anyway to troubleshoot this or any ideas how to fix it?
Hi
Hope you are well. I have been battling to get it to work and I did discover that python3.7 and higher is required to build minio in pip.
Only problem is that I run Rocky8 and the default interpreter is python3.6. I did manage to install python3.8 and installed using pip minio manually. I did change the interpreter to point to 3.8 but still get an error:
failed: [someserver] (item={'name': 'somebucket', 'policy': 'read-write'}) => { "ansible_loop_var": "bucket", "bucket": { "name": "somebucket", "policy": "read-write" }, "changed": false, "invocation": { "module_args": { "access_key": "minio_admin", "name": "somebucket", "policy": "read-write", "region": "eu-west-1", "s3_url": "http://127.0.0.1:9091", "secret_key": "somepassword", "state": "present", "validate_certs": false } }, "msg": "An error has occured with the \"minio_bucket\" module: S3 operation failed; code: BadRequest, message: Bad request; use region eu-west-1, resource: /somebucket, request_id: 17D222FA1DD01EDC, host_id: 82b9e6b1548ad0837abe6ff674d1d3e982a2038442a1059f595d95962627f827, bucket_name: somebucket"
mc command works, so the server is up:
`root@someserver:/etc/yum.repos.d# mc admin info myminio ● 127.0.0.1:9091 Uptime: 1 hour Version: 2024-05-10T01:41:38Z Network: 1/1 OK Drives: 1/1 OK Pool: 1
Pools: 1st, Erasure sets: 1, Drives per erasure set: 1
1 drive online, 0 drives offline, EC:0`
Anyway to troubleshoot this or any ideas how to fix it?
Regards, Nar