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

Backport changes to 2.7 #1090

Merged
merged 6 commits into from
Oct 8, 2024
Merged

Backport changes to 2.7 #1090

merged 6 commits into from
Oct 8, 2024

Commits on Oct 8, 2024

  1. MTV-1543 | Fix warm migration scheduler

    Issue:
    When running the warm migration with VMs more than the MaxInFlight disks.
    The VMs over this number won't start the migration till the cutover.
    Once the cutover is started the VMs which were not started migrate same
    as in the old migration. So there is larger downtime.
    
    Fix:
    Ignore the cost when in `CopyingPaused`, this allows the other
    Migrations to start as the cost is reduced when the VM disk transfer is
    finished.
    
    Note:
    This patch also improves the cold migration as it ignores the count when
    creating the VM so the other VM migrations can get started.
    And dramaticially improves the warm migration time as we are not waiting
    for the guest conversion as we already have the disk so we start the
    guest conversion and do not halt the scheduler.
    
    Fixes: https://issues.redhat.com/browse/MTV-1543
    
    Signed-off-by: Martin Necas <[email protected]>
    mnecas committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    9f57de9 View commit details
    Browse the repository at this point in the history
  2. MTV-1573 | Allow scheduler to migrate VMs with more disks (kubev2v#1087)

    Issue:
    When migrating the VM using the warm migration with more disks than the
    MAX_VM_INFLIGHT the VM won't get scheduled and won't start the
    migration.
    
    Fix:
    Once the scheduler is empty the controller will start the migration of
    the large VMs.
    
    Fixes: https://issues.redhat.com/browse/MTV-1573
    
    Signed-off-by: Martin Necas <[email protected]>
    mnecas committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    7abe181 View commit details
    Browse the repository at this point in the history
  3. MTV-1537 | Optimalise the plan scheduler (kubev2v#1088)

    Issue: When we start the warm migration with VM which has a lot of disks
    we wait for the whole VM to get migrated. We do not ignore the disks
    that has been already migrated. This can cause that when we have 2 VMs
    with 10 disks each and on each there is one larger disk the whole
    scheduler will be halted untill they finish. So even if the left 9 disks
    will be done no migration will be started.
    
    Fix: Subtract the finished disks from the disk count.
    
    Fixes: https://issues.redhat.com/browse/MTV-1537
    
    Signed-off-by: Martin Necas <[email protected]>
    mnecas committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    21050cf View commit details
    Browse the repository at this point in the history
  4. MTV-1555 | Fix virt-v2v with new name

    Issue:
    The MTV specifies the `-on` argument in the wrong place
    /usr/bin/virt-v2v [...] -- epassaroMigrate-2 -on epassaromigrate-2
    
    Fix:
    /usr/bin/virt-v2v [...] -on newname -- oldname
    
    Signed-off-by: Martin Necas <[email protected]>
    mnecas committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    dff850f View commit details
    Browse the repository at this point in the history
  5. MTV-1569 | Fail plan when the conversion pod fails (kubev2v#1085)

    Issue:
    When the virt-v2v pod fails the plan does not fail.
    
    Signed-off-by: Martin Necas <[email protected]>
    mnecas committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    7a80714 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d561d99 View commit details
    Browse the repository at this point in the history