Error when using Minio and Openwhisk as storage and compute backends. #891
Replies: 2 comments 2 replies
-
may be @JosepSampe knows right away, but i would ask to see logs in DEBUG mode...can you add |
Beta Was this translation helpful? Give feedback.
1 reply
-
@gilv In this case it seems the MinIO deployment is not reachable/accessible. @faraz-ahmd Does the bucket 'incoming' exists in MinIO? Could you verify that your MinIO deployment is accessible from python and without lithops? for example using the next script: import boto3
bucket= 'incoming'
access_key_id = 'minio'
secret_access_key = 'minio123'
endpoint = 'http://172.17.0.4:31113'
ceph_client = boto3.client('s3',
aws_access_key_id=access_key_id,
aws_secret_access_key=secret_access_key,
endpoint_url=endpoint)
try:
ceph_client.create_bucket(Bucket=bucket)
except:
pass
# Call S3 to list current buckets
response = ceph_client.list_buckets()
# Get a list of all bucket names from the response
buckets = [bucket['Name'] for bucket in response['Buckets']]
# Print out the bucket list
print("Bucket List: %s" % buckets) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to use Lithops with Minio as the storage backend and Openwhisk as the compute backend. I can create/delete/list aliases and buckets using mcli. I can also invoke actions using openwhisk-cli wsk. However, when running a lithops helloworld example I get an error. Is there something I am missing in the configuration or something else?
This is my example script:
Here is the output:
I have also tried the following example but get the same error:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions