mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
This commit updates host selection to write check_time_finished whether host retrieval was successful or not. Without this change when host selection fails threads waiting for host selection to complete will stuck waiting because check_time_finished doesn't update. Additionally, because it would leave checking => true it would not attempt to inspect and run host selection again. Host selection for clones and migrations now make clear that no hosts are available and fail logging a message. Without this change both migrations and clones would fail with cryptic error messages logged indicating clone and migrations failed. Additionally, this change makes max_age configurable so a user can specify that host selection should happen more or less frequently, as required for migrations or clone operations when host selection is enabled. |
||
|---|---|---|
| .. | ||
| vmpooler | ||
| vmpooler.rb | ||