-
Notifications
You must be signed in to change notification settings - Fork 15
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
Tests: Check custom storage volume snapshots #139
Conversation
@markylaing any idea on this error? https://github.com/canonical/lxd-ci/actions/runs/8646104028/job/23704697827?pr=139
|
Mhh, I was just checking this and think I have to change it. Currently it removes only the remote, but the trust ( |
6af053d
to
3f51242
Compare
@roosterfish ready for review? Failures expected? |
Sorry, forgot to put in draft, it needs a bit more attention. But ultimately I was wondering if we even need to have this here, as we have an abundance of custom storage volume tests over in the Maybe it would be more suitable to extend the tests there if something is missing? |
Yeah I would be happy to have these tests in the main test suite if suitable as we would catch issues sooner. But we should check for both filesystem and block type volumes. |
In retrospect these volume tests are really testing that they can be attached to VMs |
@roosterfish looking at it, this part https://github.com/canonical/lxd-ci/blob/main/tests/storage-volumes-vm#L149-L158 would make more sense in https://github.com/canonical/lxd-ci/blob/main/tests/storage-vm as its to do with publishing VM instances and not custom volumes. Wouldn't it? |
I agree as it's not attaching anything as the other tests do. I'll rework the PR to keep the trust removal for the |
51b78ce
to
da9aaed
Compare
Signed-off-by: Julian Pelizäus <[email protected]>
Signed-off-by: Julian Pelizäus <[email protected]>
da9aaed
to
d4ca244
Compare
@roosterfish ready for review? |
Yes, pipelines are done now. As planned the |
This now tests if custom volumes can be snapshotted, copied and transferred both locally and using a remote as well as between the same and different storage drivers.
Follow up on #138.