diff options
author | Chris Behrens <cbehrens@codestud.com> | 2013-06-25 20:00:02 +0000 |
---|---|---|
committer | Chris Behrens <cbehrens@codestud.com> | 2013-06-26 19:58:16 +0000 |
commit | f0cf1c0fc14ba44ae6af5aad93ccd2fe010094a5 (patch) | |
tree | a803f7a00fdfdb1318f7503f2e3383118abc92fe /nova/notifications.py | |
parent | 9331c5c1115c7d8cc5bcab71b1100eeea1ce72fe (diff) | |
download | nova-f0cf1c0fc14ba44ae6af5aad93ccd2fe010094a5.tar.gz nova-f0cf1c0fc14ba44ae6af5aad93ccd2fe010094a5.tar.xz nova-f0cf1c0fc14ba44ae6af5aad93ccd2fe010094a5.zip |
Allow retrying network allocations separately
Introduce a new config option, 'network_allocate_retries', that allows
one to retry network allocations. The default is 0 for no retries to
match the current behavior.
The network allocations currently get retried by a full retry of a build
via the scheduler, if those are enabled. This patch reduces the need to
re-schedule for simple network allocation issues.
The retrying happens in the network alloc async greenthread, so for virt
drivers that support the new NetworkModel, the retrying potentially
happens in the background while the image is being downloaded, etc.
DocImpact
Change-Id: I1a5fdcccbb736fc0b1d8c0cbc3b45a8372a6aef7
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions