Closed maltewae closed 2 weeks ago
@maltewae Thanks! Can you tell me what is the version of Docker image running minio?
My minio version: RELEASE.2022-03-22T02-05-10Z
@maltewae Can you also tell me the hash of Docker image? I'm wondering if you're running amd64 or arm64 version.
16a0b1807bf9c7f1c2ea8558ae067a0352614e26bd4e6a898688a16d30747e31
This timeout is caused by Docker container IPs being not reachable on macOS.
Per-container IP addressing is not possible The docker (Linux) bridge network is not reachable from the macOS host
https://docs.docker.com/desktop/mac/networking/#there-is-no-docker0-bridge-on-macos
For host <-> minio communication port forwarding should be used instead.
@Wowu Thank you for your comment! I'm not an expert in MacOS and I could have missed that.
@maltewae Can you please verify it solved the issue? BTW, storage's deployment changed on master branch since our last discussion - see the README.
https://github.com/spcl/serverless-benchmarks/blob/master/sebs/storage/minio.py#L94
I managed to fix the timeout error by patching sebs/storage/minio.py
:
diff --git a/sebs/storage/minio.py b/sebs/storage/minio.py
index 6c79f05..d2f12c4 100644
--- a/sebs/storage/minio.py
+++ b/sebs/storage/minio.py
@@ -115,7 +115,7 @@ class Minio(PersistentStorage):
def get_connection(self):
return minio.Minio(
- self._cfg.address,
+ f"localhost:{self._cfg.mapped_port}",
access_key=self._cfg.access_key,
secret_key=self._cfg.secret_key,
secure=False,
The point is to use port mapping for host connections on macOS. I suggest two solutions:
localhost:{mapped_port}
instead of container address by default on every machine if it doesn't break anythinglocalhost:{mapped_port}
instead of container address only if detected OS is macOS.The issue has been fixed by @Kaleab-git some time ago.
I get a
Connection refused
Error when I try to run an experiment locally. Anout.json
file is not created. I executed the following command:./sebs.py local start 110.dynamic-html test out.json --config config/example.json --deployments 1
Based on the traceback the method
list_buckets()
does not work.My system properties:
SeBS version: https://github.com/spcl/serverless-benchmarks/commit/9dcbcc94de53de40d37595ced09006a4639981ac
Out.log:
Traceback: