4139: Node Manager more closely tracks nodes it boots.
authorBrett Smith <brett@curoverse.com>
Wed, 22 Oct 2014 14:34:23 +0000 (10:34 -0400)
committerBrett Smith <brett@curoverse.com>
Wed, 22 Oct 2014 14:34:23 +0000 (10:34 -0400)
commit8d2639525417aaa02240777454405f2249d505b0
tree6037c69e09a26d002fcc0636467d64d9315399a8
parentca1ddb913b35eaa4aea43a88501c5b7c6ab95e2c
4139: Node Manager more closely tracks nodes it boots.

When using Node Manager on EC2, we saw a race condition where a node
would finish setting up, but would not be returned in node listings
right away.  This adds a "booted" node state to the daemon, where a
node booted by Node Manager is assumed to be up and running unless it
disappears from the listing *after* being listed.  It's escalated to
the normal workflow after it appears in a listing.
services/nodemanager/arvnodeman/daemon.py
services/nodemanager/tests/test_daemon.py