Add new Feature: Scheduler retries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
High
|
Tom Fifield |
Bug Description
If DocImpact change https:/
Add a generic scheduler retry for build failures. Failed
build requests get casted back to scheduler for retry until
success or the maximum number of attempts is reached. The
number of attempts to make is configurable or can be
simply set to 1 to disable retries altogether.
There is an associated cost function, retry_host_cost_fn, to
de-emphasize re-scheduling to the same host.
Partially implements blueprint: scheduler-
DocImpact:
Adds a new capability to filter scheduler to enable retries of
scheduling requests.
1) New flag: scheduler_
to schedule an instance before giving up and settting the instance to
error.
2) New filter scheduler cost function:
nova.scheduler.
Adds additional cost for retrying scheduling at a host that was
already used for a previous scheduling attempt.
retry_host_
weight.
Patch merged - bug confirmed