Add new Feature: Scheduler retries

Bug #1025068 reported by Tom Fifield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
High
Tom Fifield

Bug Description

If DocImpact change https://review.openstack.org/#/c/9540/ gets merged, we need to add information about new scheduler features:
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-resource-race

DocImpact:

Adds a new capability to filter scheduler to enable retries of
scheduling requests.

1) New flag: scheduler_max_attempts (int) - Number of attempts to make
to schedule an instance before giving up and settting the instance to
error.
2) New filter scheduler cost function:
nova.scheduler.least_cost.retry_host_cost_fn -

Adds additional cost for retrying scheduling at a host that was
already used for a previous scheduling attempt.

retry_host_cost_fn_weight is the associated FLAG to configure
weight.

Revision history for this message
Tom Fifield (fifieldt) wrote :

Patch merged - bug confirmed

Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Tom Fifield (fifieldt) wrote :
Revision history for this message
Tom Fifield (fifieldt) wrote :

would be great to get this feature in completely before Folsom.

Changed in openstack-manuals:
importance: Medium → High
milestone: none → folsom
Revision history for this message
Tom Fifield (fifieldt) wrote :
Changed in openstack-manuals:
assignee: nobody → Tom Fifield (fifieldt)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/12414
Committed: http://github.com/openstack/openstack-manuals/commit/eae9631b2fbf186f80b8aeb214103f34545faa43
Submitter: Jenkins
Branch: master

commit eae9631b2fbf186f80b8aeb214103f34545faa43
Author: Tom Fifield <email address hidden>
Date: Wed Sep 5 21:50:35 2012 +1000

    Add retry host cost weight function to sched docs

    fixes bug 1025068

    As in the bug report,
    2) New filter scheduler cost function:
    nova.scheduler.least_cost.retry_host_cost_fn -

    Adds additional cost for retrying scheduling at a host that was
    already used for a previous scheduling attempt.

    retry_host_cost_fn_weight is the associated FLAG to configure
    weight.

    this patch just adds that in.

    Change-Id: I2db67144f857c3efb883b9cac45e0d5a24ae4ca9

Changed in openstack-manuals:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.