James E. Blair b2367d88a6 Add the ability to ignore offline targets
If a jenkins is in shutdown mode or is offline, ignore that jenkins
for the purposes of launching nodes.  Node updates (used/complete)
for that jenkins will still be processed.

This should allow another jenkins to gracefully accept the increased
load if one goes offline.

Also, log the IP address when spinning up a node.

Change-Id: I3a8720dd5aaf154ca91cdc36136decad52eb6afa
2013-10-10 13:04:30 -07:00
2013-08-15 09:47:23 -07:00
2013-08-13 17:10:06 +00:00
2013-08-16 20:21:33 -07:00
2013-08-15 09:47:23 -07:00
2013-09-03 09:27:04 -07:00
2013-09-03 09:27:04 -07:00
2013-08-15 09:47:23 -07:00
2013-08-15 09:47:23 -07:00
2013-09-13 11:09:15 -05:00

Developer setup:

mysql -u root

mysql> create database nodepool;
mysql> GRANT ALL ON nodepool.* TO 'nodepool'@'localhost';
mysql> flush privileges;

nodepool -d -c tools/fake.yaml

After each run (the fake nova provider is only in-memory):

mysql> delete from snapshot_image; delete from node;
Description
Manage a pool of nodes for a distributed test infrastructure
Readme 35 MiB
Languages
Python 98.3%
Shell 1.1%
Dockerfile 0.3%
Jinja 0.3%