You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2020-11-23 11:55:38,990 [13618] CRITICAL root: Traceback (most recent call last):
File "/bin/gnocchi-upgrade", line 11, in <module>
load_entry_point('gnocchi==4.3.4', 'console_scripts', 'gnocchi-upgrade')()
File "/usr/lib/python2.7/site-packages/gnocchi/cli/manage.py", line 73, in upgrade
s.upgrade()
File "/usr/lib/python2.7/site-packages/gnocchi/storage/s3.py", line 90, in upgrade
s3.create_bucket(self.s3, self._bucket_name, self._region_name)
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 292, in wrapped_f
return self.call(f, *args, **kw)
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 358, in call
do = self.iter(retry_state=retry_state)
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 319, in iter
return fut.result()
File "/usr/lib/python2.7/site-packages/concurrent/futures/_base.py", line 422, in result
return self.__get_result()
File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 361, in call
result = fn(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/gnocchi/common/s3.py", line 65, in create_bucket
return conn.create_bucket(Bucket=name, **kwargs)
File "/usr/lib/python2.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/lib/python2.7/site-packages/botocore/client.py", line 676, in _make_api_call
raise error_class(parsed_response, operation_name)
BucketAlreadyOwnedByYou: An error occurred (BucketAlreadyOwnedByYou) when calling the CreateBucket operation: Your previous request to create the named bucket succeeded and you already own it.
What is result that you expected
BucketAlreadyOwnedByYou exception should be handled gracefully
The text was updated successfully, but these errors were encountered:
manuvakery1
changed the title
gnicchi upgrade fails when using s3 driver for aggregate storage when bucket is present
gnicchi upgrade fails when using s3 driver for aggregate storage if bucket is present
Nov 24, 2020
manuvakery1
changed the title
gnicchi upgrade fails when using s3 driver for aggregate storage if bucket is present
gnocchi upgrade fails when using s3 driver for aggregate storage if bucket is present
Nov 24, 2020
Which version of Gnocchi are you using
gnocchi 4.3.4 (centos-release-openstack-train)
How to reproduce your problem
gnocchi-upgrade
multiple timesWhat is the result that you get
What is result that you expected
BucketAlreadyOwnedByYou
exception should be handled gracefullyThe text was updated successfully, but these errors were encountered: