machine-controller icon indicating copy to clipboard operation
machine-controller copied to clipboard

add http source for kubevirt VM Disk Image

Open sankalp-r opened this issue 2 years ago • 2 comments

What this PR does / why we need it: This PR introduces PrimarDiskImageSource for the KubeVirt provider. The source can be HTTP or PVC-Clone. If the source is HTTP with preAllocatedDataVolume as false, the VM disk-image will be downloaded from the HTTP source. If the source is HTTP with preAllocatedDataVolume as true, the VM disk-image will be downloaded just once to create PreAllocatedDataVolume and VM Disks will be created by cloning over PreAllocatedDataVolume. If the source is PVC-Clone, VM Disks will be created by cloning over custom-local-disks.

Which issue(s) this PR fixes:

Fixes #https://github.com/kubermatic/kubermatic/issues/11234

What type of PR is this?

/kind feature

Special notes for your reviewer:

Does this PR introduce a user-facing change? Then add your Release Note here:

Add HTTP source for  KubeVirt VM Disk images which enables caching to avoid downloading images.

Documentation:

TBD

Signed-off-by: Sankalp Rangare [email protected]

sankalp-r avatar Oct 31 '22 11:10 sankalp-r

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sankalp-r Once this PR has been reviewed and has the lgtm label, please assign ahmedwaleedmalik for approval by writing /assign @ahmedwaleedmalik in a comment. For more information see:The Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

kubermatic-bot avatar Oct 31 '22 11:10 kubermatic-bot

/retest

sankalp-r avatar Oct 31 '22 12:10 sankalp-r

/retest

sankalp-r avatar Nov 07 '22 21:11 sankalp-r

/retest

sankalp-r avatar Nov 10 '22 11:11 sankalp-r

I am sorry @sankalp-r I have to block this PR, we have to do another brainstorming session

/hold

mfranczy avatar Nov 10 '22 12:11 mfranczy

@sankalp-r: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-machine-controller-e2e-digitalocean 842b0cb2b6c4fc48976b6b5bc56a17038fb4260d link true /test pull-machine-controller-e2e-digitalocean
pull-machine-controller-e2e-azure 842b0cb2b6c4fc48976b6b5bc56a17038fb4260d link true /test pull-machine-controller-e2e-azure
pull-machine-controller-e2e-openstack 842b0cb2b6c4fc48976b6b5bc56a17038fb4260d link true /test pull-machine-controller-e2e-openstack

Full PR test history

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.

kubermatic-bot avatar Nov 10 '22 14:11 kubermatic-bot

/retest

sankalp-r avatar Nov 16 '22 08:11 sankalp-r

/retest

sankalp-r avatar Nov 16 '22 13:11 sankalp-r

/retest

sankalp-r avatar Nov 17 '22 09:11 sankalp-r

LGTM label has been added.

Git tree hash: 908bfa286cec24942d7608b937967988b36079f9

kubermatic-bot avatar Nov 17 '22 13:11 kubermatic-bot

/retest

sankalp-r avatar Nov 17 '22 22:11 sankalp-r

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahmedwaleedmalik, mfranczy, sankalp-r

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

kubermatic-bot avatar Nov 21 '22 08:11 kubermatic-bot