[BUG] upgrading from v0.22 to v0.23-rc1 fails - buckets table no longer compatible #811
Labels
area/rgw-sfs
RGW & SFS related
kind/bug
Something isn't working
priority/0
Needs to go into the next release or force a patch
triage/waiting
Waiting for triage
Milestone
Describe the bug
Run s3gw v0.23-rc1 with a datastore created by v0.22. s3gw will fail to start with one of the following errors.
If the datastore is empty:
If the datastore contains some objects:
Why is it trying to drop the buckets table in the second case?
To Reproduce
Steps to reproduce the behavior:
To get the first error:
docker run -p7480:7480 -v/scratch/s3gw/22:/data quay.io/s3gw/s3gw:v0.22.0
chown -R tserong:users /scratch/s3gw/22
because you're about to be running s3gw from a source checkout astserong
(obviously replace your username as appropriate).../build/bin/radosgw...
)To get the second error:
docker run -p7480:7480 -v/scratch/s3gw/22:/data quay.io/s3gw/s3gw:v0.22.0
s3cmd mb s3://foo ; echo test | s3cmd put - s3://foo/test
)chown -R tserong:users /scratch/s3gw/22
because you're about to be running s3gw from a source checkout astserong
(obviously replace your username as appropriate).../build/bin/radosgw...
)Expected behavior
s3gw migrates the database and starts up just fine.
The text was updated successfully, but these errors were encountered: