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

NO-ISSUE Add VM_EXTRADISKS_LIST and VM_EXTRADISKS_SIZE #1246

Merged

Conversation

mkowalski
Copy link
Member

This PR adds the ability to configure VM_EXTRADISKS_LIST and
VM_EXTRADISKS_SIZE that are required by the Assisted Service
to deploy the Local Storage Operator.

Configuration of the extra disks is automatically picked by the script
so that storageClassDevices in the LocalVolume manifest is filled
correctly with all the additional drives and does not require a manual
modification.

Co-authored-by: Lisa Rashidi-Ranjbar [email protected]

@openshift-ci openshift-ci bot requested review from russellb and zaneb May 25, 2021 07:22
@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label May 25, 2021
@openshift-ci
Copy link

openshift-ci bot commented May 25, 2021

Hi @mkowalski. Thanks for your PR.

I'm waiting for a openshift-metal3 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.

@mkowalski
Copy link
Member Author

This PR supersedes #1230

@mkowalski
Copy link
Member Author

/ok-to-test

@openshift-ci
Copy link

openshift-ci bot commented May 25, 2021

@mkowalski: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/ok-to-test

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.

@hardys
Copy link

hardys commented May 25, 2021

/ok-to-test

@openshift-ci openshift-ci bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 25, 2021
@hardys
Copy link

hardys commented May 25, 2021

/cc @lranjbar @flaper87

@openshift-ci openshift-ci bot requested a review from flaper87 May 25, 2021 08:08
@openshift-ci
Copy link

openshift-ci bot commented May 25, 2021

@hardys: GitHub didn't allow me to request PR reviews from the following users: lranjbar.

Note that only openshift-metal3 members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @lranjbar @flaper87

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.

@hardys
Copy link

hardys commented May 25, 2021

/approve

@openshift-ci
Copy link

openshift-ci bot commented May 25, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hardys

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 25, 2021
@flaper87
Copy link
Contributor

Thanks @lranjbar and @mkowalski for the work here!

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 25, 2021
@mkowalski
Copy link
Member Author

/retest

@mkowalski
Copy link
Member Author

CI error seems to be related to #1230 (comment)

[...]
"_raw_params": "dd if=/dev/zero of=/opt/dev-scripts/pool/ostest_master_0_.img bs=1 count=0 seek=\n",�[0m
[...]

which is generated by https://github.com/metal3-io/metal3-dev-env/blob/master/vm-setup/roles/libvirt/tasks/vm_setup_tasks.yml#L90

This PR adds the ability to configure VM_EXTRADISKS_LIST and
VM_EXTRADISKS_SIZE that are required by the Assisted Service
to deploy the Local Storage Operator.

Configuration of the extra disks is automatically picked by the script
so that `storageClassDevices` in the `LocalVolume` manifest is filled
correctly with all the additional drives and does not require a manual
modification.

Co-authored-by: Lisa Rashidi-Ranjbar <[email protected]>
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label May 25, 2021
Copy link
Contributor

@djzager djzager left a comment

Choose a reason for hiding this comment

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

Nice work.

@mkowalski
Copy link
Member Author

/retest

@flaper87
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 26, 2021
@openshift-merge-robot openshift-merge-robot merged commit 3e40a24 into openshift-metal3:master May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants