Need help setting up galaxy with swift object store.
Hello everyone, I have configured swift object store at my infrastructure. Next i want to configure galaxy to be able to use swift object store. I am having trouble with configuration. Here's what the error is: galaxy.objectstore DEBUG 2013-09-26 08:07:05,306 Getting a connection object for 'swift' object store Traceback (most recent call last): File "/home/galaxy/galaxy-dist/lib/galaxy/webapps/galaxy/buildapp.py", line 35, in app_factory app = UniverseApplication( global_conf = global_conf, **kwargs ) File "/home/galaxy/galaxy-dist/lib/galaxy/app.py", line 57, in __init__ self.object_store = build_object_store_from_config(self.config, fsmon=True) File "/home/galaxy/galaxy-dist/lib/galaxy/objectstore/__init__.py", line 1031, in build_object_store_from_config return S3ObjectStore(config=config) File "/home/galaxy/galaxy-dist/lib/galaxy/objectstore/__init__.py", line 387, in __init__ self.bucket = self._get_bucket(self.config.os_bucket_name) File "/home/galaxy/galaxy-dist/lib/galaxy/objectstore/__init__.py", line 476, in _get_bucket bucket = self.s3_conn.get_bucket(bucket_name) File "/home/galaxy/galaxy-dist/eggs/boto-2.5.2-py2.6.egg/boto/s3/connection.py", line 391, in get_bucket bucket.get_all_keys(headers, maxkeys=0) File "/home/galaxy/galaxy-dist/eggs/boto-2.5.2-py2.6.egg/boto/s3/bucket.py", line 360, in get_all_keys '', headers, **params) File "/home/galaxy/galaxy-dist/eggs/boto-2.5.2-py2.6.egg/boto/s3/bucket.py", line 317, in _get_all query_args=s) File "/home/galaxy/galaxy-dist/eggs/boto-2.5.2-py2.6.egg/boto/s3/connection.py", line 460, in make_request auth_path = self.calling_format.build_auth_path(bucket, key) File "/home/galaxy/galaxy-dist/eggs/boto-2.5.2-py2.6.egg/boto/s3/connection.py", line 92, in build_auth_path path = '/' + bucket TypeError: cannot concatenate 'str' and 'NoneType' objects Config in universe_wsgi.ini is: # Object store mode (valid options are: disk, s3, swift, distributed, hierarchical) object_store = swift os_access_key = 'RocksCluster:galaxy-swift-user' os_secret_key = password' #os_bucket_name = <name of an existing object store bucket or container> # If using 'swift' object store, you must specify the following connection properties os_host = 192.168.100.104 os_port = 8888 os_is_secure = False os_conn_path = /v2.0/ # Reduced redundancy can be used only with the 's3' object store #os_use_reduced_redundancy = False # Size (in GB) that the cache used by object store should be limited to. # If the value is not specified, the cache size will be limited only by the # file system size. The file system location of the cache is considered the # configuration of the ``file_path`` directive defined above. #object_store_cache_size = 100 -- Varun Mittal varunmittal91@gmail.com
participants (1)
-
Varun Mittal