-
Notifications
You must be signed in to change notification settings - Fork 31
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
backport ocp boot order #534
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
bennyz
commented
Aug 14, 2023
- Skip LUN task progress
- Fix controller SCC namespace
- Add missing mounts for virt-v2v container
- Remove usages of ioutil because it's deprected as of go 1.16
- Fix LUN warm migration
- validation: fix openstack shared disk validation
- plan: check error returned by GetPopulatorTaskName
- ocp: use source client where needed
- Exit when virt-v2v cold hit an error
- Change the storage mapping for OVA
- OCP: add support for secrets and configmaps
- fix virt-v2v bracket
- ocp: use namespace from Ref when present
- ocp: make export token TTL configurable
- openstack: use raw format for images
- backport Fix unit size calculation for memory and disk size #497
- Fix virt-v2v entrypoint script
- ocp: fix mapping name check
- Fix TLS SSL connection to FIPS enabled systems
- add -layer suffix to ems layer
- ovirt client: Check if snapshot was created sucesfully
- ovirt: Do not wait for timeout when snapshot removal fails
- Refactor snapshot removal
- Add check for snapshot removal
- Update the timeout phase with the start time
- Remove go util wait from bazel
- Replace MustCode with Code and check if the element exists
- ignore events from ovirt without 'code'
- backport Fix disk size alignment when adding FS overhead #512
- virt-v2v: Build our own fixed appliance on el8
- ocp: preserve boot order for disks
LUNs disks are a special case. They do not have a task when migrating and we do not need to update their progress. The disk are pre-made and just being attached. Therefore, we need to skip them. Signed-off-by: Liran Rotenberg <[email protected]>
Signed-off-by: Bella Khizgiyaev <[email protected]>
In c33a65b, we dropped by mistake the libvirt-domain-xml and vddk-vol-mount mounts from the virt-v2v container when migrating from vSphere (and kept them only when migrating from OVA provider). This broke warm migration from vSphere and decrease the speed of cold-migrations significantly. Thus, adding back the missing mounts. Signed-off-by: Arik Hadas <[email protected]>
https://pkg.go.dev/io/ioutil Signed-off-by: Benny Zlotnik <[email protected]>
When migrating a LUN disk from ovirt source in warm migration we need to mark the CopyDisk as completed. Signed-off-by: Liran Rotenberg <[email protected]>
Fix the shared disk validation when the attachments array is empty. Fixes kubev2v#442 Signed-off-by: Miguel Martín <[email protected]>
Signed-off-by: Miguel Martín <[email protected]>
Attempt to properly support remote source by using destination and source clients where appropriate Signed-off-by: Benny Zlotnik <[email protected]>
Since we now support two flows in the virt-v2v image, it doesn't end with the actual `virt-v2v` command. In that case the pod may end with success although, it didn't. Now the script will exit with an error on the first error occurrence. Signed-off-by: Liran Rotenberg <[email protected]>
Signed-off-by: Bella Khizgiyaev <[email protected]>
Signed-off-by: Benny Zlotnik <[email protected]> ocp: make sure the volume is a PVC Since adding support for OCP to OCP volumes may not only be PVCs so a nil check has to be made Signed-off-by: Benny Zlotnik <[email protected]> ocp: address comments Signed-off-by: Benny Zlotnik <[email protected]>
fixing the error in the entrypoint script: line 5: [: missing `]' Signed-off-by: Liran Rotenberg <[email protected]>
When looking up VMs in plans we need to use the namespace from the Ref, and not rely on splitting the name Signed-off-by: Benny Zlotnik <[email protected]>
Signed-off-by: Benny Zlotnik <[email protected]>
The format has to always be raw for OpenShift Virtualization Signed-off-by: Benny Zlotnik <[email protected]>
Signed-off-by: Bella Khizgiyaev <[email protected]>
Since we added OVA we had two options to execute the virt-v2v command. Now the command will be built and will be executed at the end without conditions regarding the source. This will allow us to know if we had an error and fail the pod in such case. Signed-off-by: Liran Rotenberg <[email protected]>
Consider namespace/name format for source NAD Signed-off-by: Benny Zlotnik <[email protected]>
This patch will bump the ubi9-minimal image and include the fix of the SSL connection to the cold virt-v2v. Signed-off-by: Liran Rotenberg <[email protected]>
Signed-off-by: Benny Zlotnik <[email protected]>
Signed-off-by: Martin Necas <[email protected]>
When we trigger remove-snapshot and the operation fails, we immediately break rather than keep waiting until the timeout of waiting for the result of the operation is reached. This change also includes refactoring - changing the format of the error that is generated from ConflictError and simplify the function Client#CheckSnapshotReady. Signed-off-by: Arik Hadas <[email protected]>
Signed-off-by: Martin Necas <[email protected]>
Signed-off-by: Martin Necas <[email protected]>
Signed-off-by: Martin Necas <[email protected]>
Signed-off-by: Martin Necas <[email protected]>
Signed-off-by: Martin Necas <[email protected]>
Signed-off-by: Arik Hadas <[email protected]>
Signed-off-by: Bella Khizgiyaev <[email protected]>
Similar to kubev2v#226 but on el8 (the appliance used with el8 libguestfs does not support qcow2 images so the image is still compressed within the container image and extract by the 'entrypoint' script). Signed-off-by: Arik Hadas <[email protected]>
Signed-off-by: Benny Zlotnik <[email protected]>
bennyz
requested review from
ahadas,
eslutsky,
liranr23,
mmartinv,
nyoxi and
mnecas
as code owners
August 14, 2023 15:29
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.