From 4feaa2b1713f50dda7b632e07fcfed937f24375b Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Wed, 24 Apr 2024 18:52:08 +0200 Subject: [PATCH] Temporary, ignore S3 object store failed init --- lib/galaxy/objectstore/s3.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/galaxy/objectstore/s3.py b/lib/galaxy/objectstore/s3.py index 73e9a3cfd41a..9568dbef7e23 100644 --- a/lib/galaxy/objectstore/s3.py +++ b/lib/galaxy/objectstore/s3.py @@ -187,7 +187,11 @@ def __init__(self, config, config_dict): extra_dirs = {e["type"]: e["path"] for e in config_dict.get("extra_dirs", [])} self.extra_dirs.update(extra_dirs) - self._initialize() + try: + self._initialize() + except Exception: + # don't die for now, need to stop serializing object stores that a job isn't going to use + pass def _initialize(self): if boto is None: