Commit Graph

2721 Commits

Author SHA1 Message Date
Zack Cerza
e991a6d76c Add LICENSE
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-28 16:46:46 -06:00
Zack Cerza
66c8af3cde Merge pull request #308 from ceph/wip-6146-wusui
Add ability to update with ceph-deploy
2014-08-28 08:40:59 -06:00
Zack Cerza
e2f575122d Merge pull request #314 from ceph/wip-8923
Speed up teuthology-kill.
2014-08-27 15:43:10 -06:00
Sandon Van Ness
e92c2a7492 Add more info in comments.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
2014-08-27 14:41:01 -07:00
Zack Cerza
901649f16c Merge pull request #319 from ceph/wip-8231
remote: Add ability to push a file to a remote machine
2014-08-27 15:25:12 -06:00
Zack Cerza
ce01464d09 Merge pull request #299 from ceph/wip-7810
Wip 7810
2014-08-27 15:21:39 -06:00
John Spray
daeca276ab orchestra: more docstring
Signed-off-by: John Spray <john.spray@redhat.com>
2014-08-27 22:19:52 +01:00
John Spray
c23a0cffe1 orchestra: fine tune docstrings.
Signed-off-by: John Spray <john.spray@redhat.com>
2014-08-27 21:17:43 +01:00
Zack Cerza
2564ef7028 Don't explode on ConnectionError in list_locks()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-27 14:01:16 -06:00
David Zafman
2e4f25c995 remote: Add ability to push a file to a remote machine
Add put_file() and _sftp_put_file() without sudo support

Signed-off-by: David Zafman <dzafman@redhat.com>
2014-08-27 12:44:13 -07:00
Zack Cerza
4fa89f6fd4 Merge pull request #317 from dachary/wip-nuke-on-error
convert nuke-on-error to boolean
2014-08-27 12:13:35 -06:00
Zack Cerza
0fae95f48f Merge pull request #321 from ceph/wip-install
install libcephfs-java
2014-08-27 12:10:55 -06:00
Zack Cerza
8a87a422ca Only pass lists to ssh_keyscan()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-27 12:05:19 -06:00
Zack Cerza
7ad4e91a25 More hostname normalization
This time, for ssh_keyscan()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-27 11:32:39 -06:00
Zack Cerza
95a08b566c For clones, look for error regardless of exit code
This fixes a bug on older git versions, where it would happily cloen a
repo and give you the wrong branch if the one you requested did not
exist.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-27 11:25:30 -06:00
Zack Cerza
4d44c82353 Normalize input hostnames in various functions
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-27 09:31:52 -06:00
Sage Weil
c8493e582b task/install: install libcephfs-java (deb)
Accidentally removed in 0c75c6b1f7

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-26 17:18:26 -07:00
Sage Weil
ca7e75c6c6 task/install: move package list to top of file
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-26 17:10:26 -07:00
Zack Cerza
74ace82ff1 Merge pull request #320 from ceph/wip-sort-brief
lock.py: sort --brief output by status['name']
2014-08-26 15:34:00 -06:00
Dan Mick
093a1b6937 lock.py: sort --brief output by status['name']
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-08-26 14:25:02 -07:00
Zack Cerza
883c97de4f Fix a linter error
Wasn't much of a bug, but still.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-26 11:47:48 -06:00
Zack Cerza
8bce6c5f3e Fix module reference
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-26 11:43:45 -06:00
Zack Cerza
eafe91994e Hostname handling for updatekeys
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-26 11:19:32 -06:00
Zack Cerza
479b224931 Exit with code already returned by lock.main()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-26 10:39:33 -06:00
Zack Cerza
b1a9ac1771 Less dangerous hostname mangling
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-26 10:35:46 -06:00
Zack Cerza
1637d3b45f Fix --unlock
Note to self: clean up user/ctx.owner confusion

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-26 10:32:36 -06:00
Zack Cerza
4efb490892 Return old-style hostnames from lock_many()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-26 10:23:03 -06:00
Zack Cerza
02ca2f0571 Don't "import misc as teuthology"
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-26 10:21:24 -06:00
Zack Cerza
52a937604f Merge pull request #318 from ceph/wip-defaults
change defaults for mira,plana,burnupi
2014-08-25 16:11:25 -06:00
Zack Cerza
85f5945509 More hostname handling fixes
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 15:08:11 -06:00
Zack Cerza
3d4dc732bb Revert "Canonicalize hostnames"
This reverts commit 29e8deefae.
2014-08-25 14:40:40 -06:00
Zack Cerza
ad278fdc71 Remove the 'user@' prefix before checking status
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 14:07:29 -06:00
Zack Cerza
d3c420a017 Allow passing user=None to remove the 'user@'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 14:04:32 -06:00
Zack Cerza
01cf78567d Fix canonicalize_hostname()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 13:50:52 -06:00
Zack Cerza
1bf293ef5d Remove unused import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 13:50:52 -06:00
Zack Cerza
877812650c Canonicalize hostnames in yet another place
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 13:31:25 -06:00
Sage Weil
8707efeb2a suite: scheule in mira,burnupi,plana by deafult
(was plana)

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-25 12:25:48 -07:00
Sage Weil
82b8f3037c teuthology-queue: list multi queue by default
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-25 12:25:37 -07:00
Zack Cerza
29e8deefae Canonicalize hostnames
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 13:02:04 -06:00
Zack Cerza
9ac40cc72a Use new vm_host attribute
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 11:14:39 -06:00
Zack Cerza
92157d2b78 Don't dump all vm_host details when listing
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 11:14:39 -06:00
Zack Cerza
213bdc8b86 Reflect updated field names
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 11:14:39 -06:00
Zack Cerza
f5a6ed3b7a Update provision module to use new lock server
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 11:14:38 -06:00
Zack Cerza
b8cb0890a2 Use Remote.shortname instead of regex
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 11:14:38 -06:00
Zack Cerza
4eda1d3273 Add unlock_many() and use it when possible
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 11:14:38 -06:00
Zack Cerza
e6e393239b Update internal task to use new lockserver
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 11:14:38 -06:00
Zack Cerza
b9d7a9dec0 Make far less requests when simply locking
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 11:14:38 -06:00
Zack Cerza
40c1ee0442 Optimize some list_locks() calls
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 11:14:38 -06:00
Zack Cerza
e0aca2e6d7 Properly query for multiple machine types
...in list_locks()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 11:14:38 -06:00
Zack Cerza
fb96923304 Use consistent URI for lock server
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-25 11:14:38 -06:00