Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-22978

[OSP 17.1] Disabled hypervisors are still considered as a valid destination

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhos-17.1.4
    • openstack-nova
    • None
    • Important

      To Reproduce Steps to reproduce the behavior:
      This is a same customer and similar environment (it was updated though) where RHOSP 16.1 bug with similar symptoms was reported before: https://bugzilla.redhat.com/show_bug.cgi?id=2182132

      When some VMs in customer's environment are live migrated (or resized, because customer's case was originally reported for resize operation, but we have complete set of logs for live migration), Nova Scheduler skips using Placement to pre-filter computes and simply proceeds to applying filters. While filters are applied, it doesn't look like ComputeFilter does its job as well because disabled compute services are not dropped from considerations.

      In Nova Scheduler logs I can see that after "Starting to schedule for instances" message is logged, Nova Scheduler doesn't log various messages from nova.scheduler.request_filter and instead starts to preparing to applying filters. At the same time, from the code it doesn't look like Scheduler should really behave this way when live migrating instances: https://github.com/openstack/nova/blob/unmaintained/wallaby/nova/scheduler/manager.py#L124-L140

      Information about logs and collected data will be provided privately.

      Expected behavior disabled Nova Compute services are excluded from consideration by Scheduler.

      Bug impact this problem bothers customer and they consider it a high-severity problem

      Known workaround select specific destination host when live migrating instances

              rhn-support-ratailor Rajesh Tailor
              rhn-support-astupnik Alex Stupnikov
              rhos-workloads-compute
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: