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

Add VM_EXTRADISKS_LIST #1230

Closed

Conversation

lranjbar
Copy link
Contributor

@lranjbar lranjbar commented Apr 22, 2021

Adding VM_EXTRADISKS_LIST to be able to control the names and number of disks created using this option.

  • Add VM_EXTRADISKS_LIST as a variable
  • Test adding VM_EXTRADISKS_SIZE as a variable
  • Work through ci test errors

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 22, 2021
@openshift-ci-robot
Copy link

Hi @lranjbar. 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.

@openshift-ci-robot openshift-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Apr 22, 2021
vm_setup_vars.yml Outdated Show resolved Hide resolved
@lranjbar lranjbar force-pushed the vm-extradisks-list branch from 36d1888 to 2da7b6c Compare May 4, 2021 22:59
@lranjbar
Copy link
Contributor Author

lranjbar commented May 4, 2021

Tested this change with dev-scripts in the lab and the second disk is showing now.

Here is what the volume pool looks like when putting in two disks:

 virsh vol-list oooq_pool
 Name                      Path
---------------------------------------------------------------------------
 ostest_master_0.qcow2     /home/dev-scripts/pool/ostest_master_0.qcow2
 ostest_master_0_vdb.img   /home/dev-scripts/pool/ostest_master_0_vdb.img
 ostest_master_0_vde.img   /home/dev-scripts/pool/ostest_master_0_vde.img
 ostest_master_1.qcow2     /home/dev-scripts/pool/ostest_master_1.qcow2
 ostest_master_1_vdb.img   /home/dev-scripts/pool/ostest_master_1_vdb.img
 ostest_master_1_vde.img   /home/dev-scripts/pool/ostest_master_1_vde.img
 ostest_master_2.qcow2     /home/dev-scripts/pool/ostest_master_2.qcow2
 ostest_master_2_vdb.img   /home/dev-scripts/pool/ostest_master_2_vdb.img
 ostest_master_2_vde.img   /home/dev-scripts/pool/ostest_master_2_vde.img
 ostest_worker_0.qcow2     /home/dev-scripts/pool/ostest_worker_0.qcow2
 ostest_worker_0_vdb.img   /home/dev-scripts/pool/ostest_worker_0_vdb.img
 ostest_worker_0_vde.img   /home/dev-scripts/pool/ostest_worker_0_vde.img
 ostest_worker_1.qcow2     /home/dev-scripts/pool/ostest_worker_1.qcow2
 ostest_worker_1_vdb.img   /home/dev-scripts/pool/ostest_worker_1_vdb.img
 ostest_worker_1_vde.img   /home/dev-scripts/pool/ostest_worker_1_vde.img
 ostest_worker_2.qcow2     /home/dev-scripts/pool/ostest_worker_2.qcow2
 ostest_worker_2_vdb.img   /home/dev-scripts/pool/ostest_worker_2_vdb.img
 ostest_worker_2_vde.img   /home/dev-scripts/pool/ostest_worker_2_vde.img

@lranjbar lranjbar changed the title WIP: Add VM_EXTRADISKS_LIST Add VM_EXTRADISKS_LIST May 4, 2021
@lranjbar lranjbar marked this pull request as ready for review May 4, 2021 23:04
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 4, 2021
@lranjbar
Copy link
Contributor Author

lranjbar commented May 4, 2021

/ok-to-test

@openshift-ci-robot
Copy link

@lranjbar: 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.

@stbenjam
Copy link
Member

stbenjam commented May 4, 2021

/ok-to-test
/approve

Do you maybe want to include the size option? There's also extradisks_size

@openshift-ci-robot openshift-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label May 4, 2021
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: stbenjam

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-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 4, 2021
@openshift-ci
Copy link

openshift-ci bot commented May 4, 2021

@lranjbar: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-metal-ipi 2da7b6c link /test e2e-metal-ipi
ci/prow/e2e-metal-ipi-ovn-ipv6 2da7b6c link /test e2e-metal-ipi-ovn-ipv6

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/test-infra repository. I understand the commands that are listed here.

@stbenjam
Copy link
Member

stbenjam commented May 4, 2021

Error looks related "stderr": "error: invalid argument: invalid path /opt/dev-scripts/pool/ostest_worker_1_.img not assigned to domain",�[0m


# Configure how many extra disks to add to VMs. Takes a string of disk
# names delimited by spaces. Example "vdb vde"
# export VM_EXTRADISKS_LIST="vdb vde"
Copy link

Choose a reason for hiding this comment

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

nit, this example looks odd, wouldn't you generally expect contiguous device names, e.g vdb vdc?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

true, that will be better for an example. I sometimes flip "b" and "d" when I read these things 😅

@flaper87
Copy link
Contributor

/close

@mkowalski took this commit and pushed it across

Awesome work, you both!

@openshift-ci
Copy link

openshift-ci bot commented May 27, 2021

@flaper87: Closed this PR.

In response to this:

/close

@mkowalski took this commit and pushed it across

Awesome work, you both!

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.

@openshift-ci openshift-ci bot closed this May 27, 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. 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