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 support of direct FC storage from oVirt #657

Merged
merged 3 commits into from
Dec 3, 2023

Conversation

liranr23
Copy link
Member

@liranr23 liranr23 commented Nov 20, 2023

This PR will allow migrations of direct FC disks from oVirt.

https://issues.redhat.com/browse/MTV-659

@liranr23 liranr23 force-pushed the direct_fcs branch 2 times, most recently from 2a86e92 to 54105ab Compare November 20, 2023 12:04
Copy link
Member

@ahadas ahadas left a comment

Choose a reason for hiding this comment

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

nice
as we talked offline - it would have been better to add the version to the data in the inventory so that we can add a validation in the validation-service that is displayed when selecting the VMs, but that's good enough now that we declare that we only support RHV 4.4 SP1

pkg/controller/plan/adapter/base/doc.go Outdated Show resolved Hide resolved
pkg/controller/plan/adapter/ovirt/client.go Outdated Show resolved Hide resolved
pkg/controller/plan/adapter/ocp/validator.go Show resolved Hide resolved
pkg/controller/plan/adapter/ovirt/validator.go Outdated Show resolved Hide resolved
pkg/controller/plan/adapter/ovirt/validator.go Outdated Show resolved Hide resolved
pkg/controller/plan/validation.go Outdated Show resolved Hide resolved
pkg/lib/inventory/container/container.go Outdated Show resolved Hide resolved
@ahadas
Copy link
Member

ahadas commented Nov 28, 2023

This PR will allow migrations of direct FC storage from oVirt.

that's a bit confusing because there's LUN storage domains in oVirt, please change to direct FC disks

@liranr23 liranr23 force-pushed the direct_fcs branch 3 times, most recently from d27e98b to 0cc5c7c Compare November 30, 2023 14:39
When dealing with FC storage, we need the ID of that LUN in order to map
it.

Signed-off-by: Liran Rotenberg <lrotenbe@redhat.com>
When having FC create the right PV for it.

Signed-off-by: Liran Rotenberg <lrotenbe@redhat.com>
This patch will check the source provider version when it's oVirt
provider and we have a direct LUN/FC to migrate. It will make sure we
can support direct LUN/FC migration with enough API details from ovirt
to do so. The minimal required version of ovirt is ovirt-engine-4.5.2.1
based on the PR:
oVirt/ovirt-engine@e7c1f58

Signed-off-by: Liran Rotenberg <lrotenbe@redhat.com>
Copy link

sonarqubecloud bot commented Dec 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
7.1% 7.1% Duplication

@ahadas ahadas changed the title Add support of direct FC storage from ovirt Add support of direct FC storage from oVirt Dec 3, 2023
@ahadas ahadas merged commit b057bf9 into kubev2v:main Dec 3, 2023
8 checks passed
@liranr23 liranr23 deleted the direct_fcs branch December 3, 2023 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants