Commit Graph

7 Commits

Author SHA1 Message Date
Sandon Van Ness
030bc7c23d Added support for multiple types of machines.
Added the ability to support multiple types of machines with
--machine-type added to teuthology-lock when used with --lock-many
or --machine-type with teuthology --lock (automated tests). It
defaults to 'plana' and the 'vps' type is currently unused but
should be in the future.

Signed-off-by: Sandon Van Ness <sandon@van-ness.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-02-07 13:26:37 -08:00
Josh Durgin
b1a0c1adea locker: fix race in locking
The isolation level is lower than I thought. This made it possible for
two clients to think they both locked the same machines, since the
update would still be modifying each row to change the locked_since
time.
2011-11-03 11:29:18 -07:00
Josh Durgin
4630a0a1c0 lock server: configure for apache with mod_wsgi 2011-07-19 18:37:05 -07:00
Josh Durgin
81bebfca09 lock server: return host pubkeys with locked machine names 2011-07-19 17:13:13 -07:00
Josh Durgin
77174bdaca lock server: allow sshpubkey to be updated 2011-07-19 17:13:13 -07:00
Josh Durgin
160174cb8b Update lock db schema. 2011-07-19 17:13:13 -07:00
Josh Durgin
dbf5e54307 Add simple lock server HTTP interface. 2011-07-07 12:32:51 -07:00