diff options
| author | Brian Elliott <brian.elliott@rackspace.com> | 2012-06-21 00:44:24 +0000 |
|---|---|---|
| committer | Brian Elliott <brian.elliott@rackspace.com> | 2012-07-17 22:15:41 +0000 |
| commit | 83fece1aa7e124a2adae05d95c8c6cecc12d5d41 (patch) | |
| tree | 2fcaa6ff5838fe6714b372e9cb5d3c40d080d605 /tools/enable-pre-commit-hook.sh | |
| parent | acb158714c562d3142bf2f3f560dc374daa2df7d (diff) | |
| download | nova-83fece1aa7e124a2adae05d95c8c6cecc12d5d41.tar.gz nova-83fece1aa7e124a2adae05d95c8c6cecc12d5d41.tar.xz nova-83fece1aa7e124a2adae05d95c8c6cecc12d5d41.zip | |
Adds generic retries for build failures.
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.
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 RetryFilter. Avoids re-scheduling to the same host multiple
times. (nova.scheduler.filters.RetryFilter)
Change-Id: I1127caeed4418c75372a42ca7fafacb4f061ffe3
Diffstat (limited to 'tools/enable-pre-commit-hook.sh')
0 files changed, 0 insertions, 0 deletions
