Swift V1: support object versioning#2571
Conversation
7068446 to
8c371e2
Compare
|
@EmilienM looks like versioning is not supported in testing env. Can you run functional tests in your env? I'll probably skip the tests. |
8c371e2 to
30f17d8
Compare
|
@mandre @pierreprinetti could you please review this PR? |
Thanks for the PR, will look today or tomorrow. |
30f17d8 to
8be9e82
Compare
This is odd, the CI environment should enable the object versioning. The CI logs read: What was the issue exactly? |
these are two legacy implementations of the object versioning. See https://docs.openstack.org/swift/latest/middleware.html#module-swift.common.middleware.versioned_writes.object_versioning for details.
|
|
@mandre I don't understand, is it enabled in test env? |
Not at the moment, I'm trying to see how we could enable it in our CI. |
|
@kayrus Try to add the following to the |
8be9e82 to
f2f66dc
Compare
|
Done, let's see the results... |
|
Still doesn't work |
|
I'm building a devstack environment to test myself. Worst case, we'll merge with the acceptance test skipped like you did originally and try to get the env ready to run it as a follow-up. |
|
I was able to run the tests successfully with a local devstack I deployed using the same snippet so I'm fairly confident this works on master. I'll look at the patch in more details tomorrow. For the record, here's the |
mandre
left a comment
There was a problem hiding this comment.
LGTM, very nice work. Let's just add a skip for the test like you did before, and we'll iterate on the CI environment in a separate patch.
f2f66dc to
997c96d
Compare
|
I skip the tests. |
997c96d to
f16f3d0
Compare
f16f3d0 to
ebf9f9c
Compare
The devstack environment was not setup properly to enable acceptance tests developed for gophercloud#2571.
The devstack environment was not setup properly to enable acceptance tests developed for gophercloud#2571.
Fixes #2181
I focused on functional tests for objects versioning checks, since it requires a lot of duplicate checks in objects unit tests. Hope this is fine.