nodepool/nodepool
David Shrewsbury 7225354ec0 Add a timeout for the image build
A builder thread can wedge if the build process wedges. Add a timeout
to the subprocess. Since it was the call to readline() that would block,
we change the process to have DIB write directly to the log. This allows
us to set a timeout in the Popen.wait() call. And we kill the dib
subprocess, as well.

The timeout value can be controlled in the diskimage configuration and
defaults to 8 hours.

Change-Id: I188e8a74dc39b55a4b50ade5c1a96832fea76a7d
2019-01-23 16:27:19 -05:00
..
cmd Add a timeout for the image build 2019-01-23 16:27:19 -05:00
driver Merge "Extract common config parsing for ProviderConfig" 2019-01-09 21:41:32 +00:00
tests Add a timeout for the image build 2019-01-23 16:27:19 -05:00
__init__.py Initial commit 2013-08-15 09:47:23 -07:00
builder.py Add a timeout for the image build 2019-01-23 16:27:19 -05:00
config.py Add a timeout for the image build 2019-01-23 16:27:19 -05:00
exceptions.py Fix relaunch attempts when hitting quota errors 2018-07-06 08:41:02 +02:00
launcher.py Merge "Ignore removed provider in _cleanupLeakedInstances" 2019-01-02 20:16:59 +00:00
logconfig.py Replace shade and os-client-config with openstacksdk. 2018-07-14 08:44:03 -05:00
nodeutils.py Reduce socket connect timeout in nodescan 2018-10-09 11:17:51 +02:00
provider_manager.py builder: do not configure provider that doesn't manage images 2018-07-15 23:10:05 +00:00
stats.py Asynchronously update node statistics 2018-11-29 16:48:30 +01:00
status.py Add relative priority to request list 2018-11-30 15:05:51 -08:00
task_manager.py Use openstacksdk submit_task 2018-11-09 07:28:38 +11:00
version.py Fix nodepool --version 2015-02-06 12:09:52 -08:00
webapp.py webapp: fix browser return 2018-06-07 18:47:06 +10:00
zk.py Include host_id for openstack provider 2018-12-06 18:49:48 -05:00