burnin: introduce instance alive checks
authorIustin Pop <iustin@google.com>
Tue, 13 Jan 2009 13:03:44 +0000 (13:03 +0000)
committerIustin Pop <iustin@google.com>
Tue, 13 Jan 2009 13:03:44 +0000 (13:03 +0000)
commit5178f1bcc26cd6cc1daebb94d344191cbc224ed3
tree01fca306862aad224626b9d68c47f7ddc7668853
parent4bffa7f7e7cd68027fe39be6e4fdec6868f0ce6d
burnin: introduce instance alive checks

This patch adds instance alive checks after most start operations. The
check is done in a custom way:
  - the instance is expected to have an http server up and running
  - and it should server the '/hostname.txt' resource containing the
    hostname of the instance

This allows checking that:
  - creation is working OK
  - start after failover (and in the future migrate) is ok
  - rename works correctly

By default, the check is disabled since one needs a custom OS for this
check.

The patch also fixes a wrong variable name from a previous burnin patch.

Reviewed-by: ultrotter
tools/burnin