Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace userstorage #294

Merged
merged 2 commits into from
Sep 23, 2022
Merged

Conversation

aesteve-rh
Copy link
Member

Vdsm uses an outdated version of userstorage
stored locally in the project.

Change it so that it uses the installed
package from PyPI.

Fixes: #151
Signed-off-by: Albert Esteve aesteve@redhat.com

@aesteve-rh aesteve-rh self-assigned this Aug 10, 2022
@aesteve-rh aesteve-rh added the tests Issues related to automated tests label Aug 10, 2022
@aesteve-rh
Copy link
Member Author

https://github.com/aesteve-rh/vdsm/actions/runs/2832404676

This is a test-run in my fork, using the containers uploaded to my quay.io, and they passed.
If everything else looks correct, I will update the containers to make the pipelines pass.

@aesteve-rh aesteve-rh force-pushed the aesteve/replace-userstorage branch 2 times, most recently from 9c5301a to e4fbd3d Compare August 11, 2022 10:15
@aesteve-rh
Copy link
Member Author

aesteve-rh#1
Again, to show that it passes the pipelines in its current status.

automation/common.sh Outdated Show resolved Hide resolved
tests/storage/filesd_metadata_test.py Show resolved Hide resolved
tests/storage/filesd_metadata_test.py Show resolved Hide resolved
tests/storage/conftest.py Outdated Show resolved Hide resolved
tests/storage/filesd_metadata_test.py Outdated Show resolved Hide resolved
tests/storage/outofprocess_test.py Outdated Show resolved Hide resolved
tests/storage/storage_backend.py Outdated Show resolved Hide resolved
tests/storage/storage_backend.py Outdated Show resolved Hide resolved
tests/storage/xlease_test.py Show resolved Hide resolved
tests/storage/README.md Outdated Show resolved Hide resolved
@aesteve-rh aesteve-rh added this to the ovirt-4.5.3 milestone Sep 5, 2022
@aesteve-rh aesteve-rh force-pushed the aesteve/replace-userstorage branch 2 times, most recently from 8b0c920 to a4363f2 Compare September 5, 2022 14:11
@aesteve-rh aesteve-rh requested a review from nirs September 5, 2022 14:58
tests/storage/storage_backend.py Outdated Show resolved Hide resolved
tests/storage/storage_backend.py Outdated Show resolved Hide resolved
tests/storage/localfssd_test.py Outdated Show resolved Hide resolved
@aesteve-rh aesteve-rh force-pushed the aesteve/replace-userstorage branch 6 times, most recently from f508089 to 460891f Compare September 21, 2022 13:35
@aesteve-rh
Copy link
Member Author

@nirs this should be ready to review (and hopefully merge)

tests/storage/conftest.py Show resolved Hide resolved
tests/storage/outofprocess_test.py Show resolved Hide resolved
tests/storage/sdm_copy_data_test.py Outdated Show resolved Hide resolved
tests/storage/xlease_test.py Outdated Show resolved Hide resolved
Vdsm uses an outdated version of userstorage
stored locally in the project.

Change it so that it uses the installed
package from PyPI.

Change fixtures so that they use userstorage as
a context manager so that it calls
setup and teardown around every test consistently,
and simplifies fixtures.

Fixes: oVirt#151
Signed-off-by: Albert Esteve <aesteve@redhat.com>
Update storage README to reflect the new
userstorage usage.

Signed-off-by: Albert Esteve <aesteve@redhat.com>
@nirs nirs merged commit 28adb1e into oVirt:master Sep 23, 2022
@aesteve-rh aesteve-rh deleted the aesteve/replace-userstorage branch September 26, 2022 12:03
nirs added a commit to nirs/userstorage that referenced this pull request Oct 6, 2022
aesteve-rh pushed a commit to nirs/userstorage that referenced this pull request Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
storage tests Issues related to automated tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace vdsm version of userstorage with pip's userstorage
2 participants