Commit Graph

24 Commits

Author SHA1 Message Date
Sage Weil
ff0f4742fe set machine description to ctx.archive when auto-locking machines for a run 2012-07-16 10:53:25 -07:00
tamil
353d9ccfe5 fixed typo
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-07-12 16:36:40 -07:00
Dan Mick
03597ca6b9 Check for machine args based on local, not ctx.machines
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2012-06-21 14:33:20 -07:00
Dan Mick
4fa665c19d --summary: add total counts, also note free machines
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-06-07 13:50:51 -07:00
Dan Mick
44374bc4fb new variable lock hid lock() function 2012-06-06 20:29:28 -07:00
Dan Mick
9313cdea97 teuthology-lock: add --summary and --brief options
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-06-06 18:54:33 -07:00
Dan Mick
fac88a4096 More shortnames fixes:
- Allow shortnames in teuthology-updatekeys as well
- Use list comprehensions instead of map()
2012-06-05 18:40:49 -07:00
Dan Mick
044697d178 Allow short names to teuthology-lock (e.g. "plana14")
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sam Just <sam.just@inktank.com>
2012-06-04 17:50:07 -07:00
Mark Nelson
31762c0003 lock: Improved logging when there aren't enough nodes available to lock-many. 2012-03-07 12:55:54 -08:00
Mark Nelson
05a07dda7d lock: Added a --locked flag to teuthology-lock.
Can be used to restrict searches based on lock status, e.g.
'teuthology-lock --list -a --locked false --status up' shows available nodes.
2012-03-07 12:55:33 -08:00
Josh Durgin
8f2ef43b9e lock: default to only listing machines you have locked
--all removes this restriction
2011-09-02 19:12:16 -07:00
Sage Weil
c2c5ac0c54 lock: --list-targets: list locks and dump result in targets: yaml format. 2011-08-24 10:03:43 -07:00
Josh Durgin
c7b62feac8 teuthology-lock: update usage 2011-08-02 16:15:57 -07:00
Josh Durgin
cd04423541 teuthology-lock: allow list of locks to be filtered by owner and status 2011-08-02 15:56:14 -07:00
Josh Durgin
629187f302 Set content-type with PUT. 2011-07-19 18:34:42 -07:00
Josh Durgin
8d196b001c Make targets a dictionary mapping hosts to ssh host keys. 2011-07-19 17:13:13 -07:00
Josh Durgin
e5f33ca5b5 Add command to update ssh hostkeys. 2011-07-19 17:13:13 -07:00
Josh Durgin
5fadb1c11c Whitespace and style cleanup. 2011-07-11 18:07:37 -07:00
Josh Durgin
c53615ce67 Remove unused variable. 2011-07-11 18:00:12 -07:00
Sage Weil
c47dc179e7 lock: specify machines as input yaml targets: clause 2011-07-11 15:28:15 -07:00
Sage Weil
1767b21e79 print --lock-many result as yaml targets: stanza 2011-07-11 15:28:15 -07:00
Josh Durgin
f14b4e19ce Check more invalid argument combinations for teuthology-lock. 2011-07-07 14:56:12 -07:00
Josh Durgin
a55d2eb53a Read lock server from ~/teuthology.yaml. 2011-07-07 12:35:11 -07:00
Josh Durgin
4d62dd3bcc Add command line tool for locking machines. 2011-07-07 12:35:08 -07:00