Scheduler logs "Re-scheduling is disabled" on initial server create scheduling even though max_attempts>0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
jichenjc |
Bug Description
Looking at these scheduler logs during the initial select_destinations flow for a server create:
There are 12 candidate hosts and the RetryFilter logs that re-scheduling is disabled on all 12 of them:
Dec 12 22:23:47.783670 ubuntu-
Dec 12 22:23:47.783964 ubuntu-
...
This is confusing because CONF.scheduler.
Dec 12 22:01:58.784033 ubuntu-
So retries are not disabled. The problem appears to be that we don't set the RequestSpec.retry field before calling select_
The schedule_
And doesn't populate filter properties (request spec) until later:
Compare that to the old build_instances method where retry is populated before calling the scheduler:
This is mostly just a serviceability bug because we'll continue to support reschedules in the chosen compute host fails, but it's definitely confusing when looking at the scheduler logs on the initial create.
Changed in nova: | |
importance: | Medium → Low |
Changed in nova: | |
assignee: | nobody → jichenjc (jichenjc) |
Fix proposed to branch: master /review. openstack. org/528835
Review: https:/