-
Notifications
You must be signed in to change notification settings - Fork 72
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
Virtualization E2E tests on OpenStack #1511
Conversation
Only clean it up if the test downloaded it in the first place. Signed-off-by: Matthew Arnold <[email protected]>
Allow KVM emulation to be configured, and add an OpenStack provider that copies AWS except for leaving emulation turned off. Signed-off-by: Matthew Arnold <[email protected]>
If the test did not need to create an immediate-mode storage class (because the default was already set to immediate), make sure it does not try to delete anything after the test is done. Previously this would cause an error after all the tests were run, even if they were all successful. Signed-off-by: Matthew Arnold <[email protected]>
Skipping CI for Draft Pull Request. |
Otherwise the previously-default WFFC tests will all run with Immediate, and make the Immediate-specific tests redundant. Signed-off-by: Matthew Arnold <[email protected]>
just getting one ci run in :) feel free to re-hold |
Can't just use AWS for everything after all. Signed-off-by: Matthew Arnold <[email protected]>
Okay, I am seeing good data mover tests now. This should be good to run through CI to make sure I haven't broken anything. |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/LGTM
Ran 8 of 33 Specs in 2441.234 seconds
SUCCESS! -- 8 Passed | 0 Failed | 0 Pending | 25 Skipped
TO-DO: update docs and add follow up to delete the BackupRepository object w/ cirros-test in the name as a pre-test.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mrnold, shubham-pampattiwar, weshayutin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest-required |
@mrnold: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
* Avoid deleting previously installed CirrOS image. Only clean it up if the test downloaded it in the first place. Signed-off-by: Matthew Arnold <[email protected]> * Default OpenStack provider to no KVM emulation. Allow KVM emulation to be configured, and add an OpenStack provider that copies AWS except for leaving emulation turned off. Signed-off-by: Matthew Arnold <[email protected]> * Avoid trying to delete non-existent storage class. If the test did not need to create an immediate-mode storage class (because the default was already set to immediate), make sure it does not try to delete anything after the test is done. Previously this would cause an error after all the tests were run, even if they were all successful. Signed-off-by: Matthew Arnold <[email protected]> * Create WFFC storage class if default is Immediate. Otherwise the previously-default WFFC tests will all run with Immediate, and make the Immediate-specific tests redundant. Signed-off-by: Matthew Arnold <[email protected]> * Add test scripts for OpenStack. Can't just use AWS for everything after all. Signed-off-by: Matthew Arnold <[email protected]> --------- Signed-off-by: Matthew Arnold <[email protected]>
Why the changes were made
This adds an E2E OpenStack provider that gets VM tests working on PSI, using an AWS bucket as the backup location. Includes a handful of tweaks like making KVM emulation configurable, creating a WFFC storage class when the default is Immediate, and creating a VolumeSnapshotClass for Ceph RBD.
How to test the changes made
Log in to shared PSI cluster, set up AWS bucket as per usual instructions, then make TEST_VIRT=true test-e2e.