Public bug reported:

Description:

Currently, if a boot request contains non-live-migratable PCI devices,
the system proceeds with scheduling live migration before eventually
failing. This leads to unnecessary resource consumption.

Expected Behavior:

The system should detect non-live-migratable PCI devices before
scheduling the migration and fail immediately, preventing unnecessary
scheduling attempts.

Actual Behavior:

The system schedules live migration before checking for non-migratable
PCI devices, leading to wasted resources and delayed failure.

Steps to Reproduce:

    Submit a boot request containing non-live-migratable PCI devices.
    Observe that the system proceeds with scheduling live migration.
    Eventually, the migration fails due to the non-migratable PCI devices.

Proposed Fix:

Move the existing checks from the conductor earlier in the process,
ideally before the scheduling part, so the request fails immediately.

Note:
This bug could be addressed as part of the refactoring of the migration code 
path, which currently consists of two separate code paths and should ideally be 
unified into one.

** Affects: nova
     Importance: Medium
         Status: Confirmed

** Changed in: nova
       Status: New => Confirmed

** Changed in: nova
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2103631

Title:
  Optimize Live Migration Scheduling by Preemptively Failing Non-
  Migratable PCI Requests

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  Description:

  Currently, if a boot request contains non-live-migratable PCI devices,
  the system proceeds with scheduling live migration before eventually
  failing. This leads to unnecessary resource consumption.

  Expected Behavior:

  The system should detect non-live-migratable PCI devices before
  scheduling the migration and fail immediately, preventing unnecessary
  scheduling attempts.

  Actual Behavior:

  The system schedules live migration before checking for non-migratable
  PCI devices, leading to wasted resources and delayed failure.

  Steps to Reproduce:

      Submit a boot request containing non-live-migratable PCI devices.
      Observe that the system proceeds with scheduling live migration.
      Eventually, the migration fails due to the non-migratable PCI devices.

  Proposed Fix:

  Move the existing checks from the conductor earlier in the process,
  ideally before the scheduling part, so the request fails immediately.

  Note:
  This bug could be addressed as part of the refactoring of the migration code 
path, which currently consists of two separate code paths and should ideally be 
unified into one.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2103631/+subscriptions


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to