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

install-vm fixes / features #10562

Merged
merged 5 commits into from
May 18, 2023
Merged

Conversation

maage
Copy link
Contributor

@maage maage commented May 14, 2023

Description:

I have used install-vm and some pain points here.

Support biosboot in newer Fedora.
Support option --disk-unsafe, there is --disk where I can put all kinds of entries, but I rather have cache=unsafe from start and use defaults. Changed how disk_spec is handled.

Use argparse.ArgumentDefaultsHelpFormatter to get nicer help.

Allow to run from other directory than 'tests'.

Rationale:

Small contained improvements needed.

Review Hints:

I have also CentOS 7 machine and there is no regression.

At least qemu / libvirt in Fedora 37 seemed to need this.

qemu-kvm-7.0.0-15.fc37.x86_64
libvirt-daemon-8.6.0-5.fc37.x86_64
@openshift-ci openshift-ci bot added the needs-ok-to-test Used by openshift-ci bot. label May 14, 2023
@openshift-ci
Copy link

openshift-ci bot commented May 14, 2023

Hi @maage. Thanks for your PR.

I'm waiting for a ComplianceAsCode member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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/test-infra repository.

@github-actions
Copy link

Start a new ephemeral environment with changes proposed in this pull request:

Fedora Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

@maage maage changed the title bugfix: install_vm: support biosboot install-vm fixes / features May 14, 2023
@codeclimate
Copy link

codeclimate bot commented May 14, 2023

Code Climate has analyzed commit ba73850 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 52.4%.

View more on Code Climate.

@marcusburghardt marcusburghardt added the Test Suite Update in Test Suite. label May 15, 2023
@marcusburghardt marcusburghardt added this to the 0.1.68 milestone May 15, 2023
@vojtapolasek vojtapolasek self-assigned this May 16, 2023
Copy link
Collaborator

@vojtapolasek vojtapolasek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I tested it with standard installation of RHEL 8 (affected by biosboot addition) and it works as expected.

@vojtapolasek vojtapolasek merged commit 4561e1b into ComplianceAsCode:master May 18, 2023
32 checks passed
@maage maage deleted the biosboot-1 branch May 18, 2023 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ok-to-test Used by openshift-ci bot. Test Suite Update in Test Suite.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants