9161: Decisions to start and stop compute nodes are now based on an explicit
authorPeter Amstutz <peter.amstutz@curoverse.com>
Mon, 16 May 2016 14:29:50 +0000 (10:29 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Mon, 16 May 2016 14:29:50 +0000 (10:29 -0400)
commita7a16338702965de3ad0687470ef5beb2f42759b
tree7f7a757adcfaa2f74eca1c2c9351ed09dd4f1f1d
parentc581b66ad0b54d2e57e4c92da9b04af0dbe4ac67
9161: Decisions to start and stop compute nodes are now based on an explicit
set of states: booting, unpaired, idle, busy, down, shutdown.  Refactor to
remove 'shutdowns' dict and fold into cloud_nodes.  Nodes_wanted uses same
computation of node state as used for decision to shut down nodes.  Nodes for
which the state is unclear are either idle (if in the boot grace period) or
down (if older).
services/nodemanager/arvnodeman/computenode/dispatch/__init__.py
services/nodemanager/arvnodeman/daemon.py
services/nodemanager/tests/test_computenode_dispatch.py
services/nodemanager/tests/test_daemon.py