]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
Zack Cerza [Fri, 12 Sep 2014 16:01:05 +0000 (10:01 -0600)]
Make push_inventory() a regular function
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 8 Sep 2014 19:13:54 +0000 (13:13 -0600)]
Use teuthology.task.internal.push_inventory
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 8 Sep 2014 19:13:31 +0000 (13:13 -0600)]
Add push_inventory() subtask
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 8 Sep 2014 19:12:52 +0000 (13:12 -0600)]
Add lock.update_inventory()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 8 Sep 2014 15:57:42 +0000 (09:57 -0600)]
Add Remote.inventory_info
A property that returns a dict of attributes in the format that the
paddles lock server likes.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 8 Sep 2014 15:55:22 +0000 (09:55 -0600)]
Add Remote.host_key
Turns out we can easily grab the ssh key from paramiko once a connection
is established.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 8 Sep 2014 15:36:00 +0000 (09:36 -0600)]
Set Remote.hostname by asking the host itself
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 5 Sep 2014 15:32:33 +0000 (09:32 -0600)]
Add Remote.arch
Returns the result of 'uname -p'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 5 Jun 2014 21:50:24 +0000 (16:50 -0500)]
Add caching lsb_release parser
In far too many places do we remotely exec lsb_release in some form,
then parse the output. In shifting to a more stable interface between
teuthology and its tasks, this seemed important to me.
Remote objects now have a 'distro' property that, when first accessed,
calls 'lsb_release -a' remotely and parses the results.
I've included tests and documentation.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Alfredo Deza [Wed, 10 Sep 2014 12:44:58 +0000 (08:44 -0400)]
Merge pull request #327 from dachary/wip-exec-documentation
documentation: updates to the exec tasks
Loic Dachary [Wed, 10 Sep 2014 10:19:50 +0000 (12:19 +0200)]
documentation: updates to the exec tasks
* Quoting is important
* Behavior on error
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Zack Cerza [Tue, 9 Sep 2014 23:55:08 +0000 (17:55 -0600)]
In Remote.run(), attempt to reconnect if necessary
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 9 Sep 2014 22:30:37 +0000 (16:30 -0600)]
Move more exceptions
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sage Weil [Tue, 9 Sep 2014 23:28:12 +0000 (16:28 -0700)]
valgrind: suppress tcmalloc crap for centos 6.5
Fixes: #9336
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Mon, 8 Sep 2014 20:53:07 +0000 (14:53 -0600)]
Remove unnecessary filter in do_update_keys()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 8 Sep 2014 19:15:04 +0000 (13:15 -0600)]
Don't explode if get_status fails
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 2 Sep 2014 14:45:01 +0000 (08:45 -0600)]
Merge pull request #325 from ceph/wip-valgrind
valgrind: use --time-stamp=yes
Sage Weil [Sat, 30 Aug 2014 16:22:42 +0000 (09:22 -0700)]
valgrind: adjust suppressions for wheezy
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 30 Aug 2014 01:58:09 +0000 (18:58 -0700)]
valgrind: use --time-stamp=yes
This doesn't help on the precise version, but maybe it will on
future versions... because if so, it would be really helpful
it matching valgrind errors to daemon logs!
In any case, though, I verified it is at worse harmless.
Signed-off-by: Sage Weil <sage@redhat.com>
Sandon Van Ness [Fri, 29 Aug 2014 17:37:30 +0000 (10:37 -0700)]
Update downburst docs.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Zack Cerza [Fri, 29 Aug 2014 17:19:09 +0000 (11:19 -0600)]
Merge pull request #324 from ceph/wip-hadoop-nuke
nuke: kill hadoop processes
John Spray [Fri, 29 Aug 2014 16:40:48 +0000 (17:40 +0100)]
nuke: kill hadoop processes
Signed-off-by: John Spray <john.spray@redhat.com>
Zack Cerza [Fri, 29 Aug 2014 01:19:07 +0000 (19:19 -0600)]
Drop --allow-hosts None
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 29 Aug 2014 01:13:37 +0000 (19:13 -0600)]
Use setuptools, not distribute
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sage Weil [Thu, 28 Aug 2014 22:53:19 +0000 (15:53 -0700)]
Merge pull request #323 from ceph/pypi
Prepare for PyPI
Reviewed-by: Sage Weil <sage@redhat.com>
Zack Cerza [Thu, 28 Aug 2014 22:46:28 +0000 (16:46 -0600)]
Add install_requires and tests_require
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 28 Aug 2014 22:44:33 +0000 (16:44 -0600)]
Add MANIFEST.in
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 28 Aug 2014 22:44:21 +0000 (16:44 -0600)]
Add LICENSE
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 28 Aug 2014 14:40:59 +0000 (08:40 -0600)]
Merge pull request #308 from ceph/wip-6146-wusui
Add ability to update with ceph-deploy
Zack Cerza [Wed, 27 Aug 2014 21:43:10 +0000 (15:43 -0600)]
Merge pull request #314 from ceph/wip-8923
Speed up teuthology-kill.
Sandon Van Ness [Wed, 27 Aug 2014 21:41:01 +0000 (14:41 -0700)]
Add more info in comments.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Zack Cerza [Wed, 27 Aug 2014 21:25:12 +0000 (15:25 -0600)]
Merge pull request #319 from ceph/wip-8231
remote: Add ability to push a file to a remote machine
Zack Cerza [Wed, 27 Aug 2014 21:21:39 +0000 (15:21 -0600)]
Merge pull request #299 from ceph/wip-7810
Wip 7810
John Spray [Wed, 27 Aug 2014 21:19:52 +0000 (22:19 +0100)]
orchestra: more docstring
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 27 Aug 2014 20:17:43 +0000 (21:17 +0100)]
orchestra: fine tune docstrings.
Signed-off-by: John Spray <john.spray@redhat.com>
Zack Cerza [Wed, 27 Aug 2014 20:01:16 +0000 (14:01 -0600)]
Don't explode on ConnectionError in list_locks()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
David Zafman [Fri, 15 Aug 2014 19:38:07 +0000 (12:38 -0700)]
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>
Zack Cerza [Wed, 27 Aug 2014 18:13:35 +0000 (12:13 -0600)]
Merge pull request #317 from dachary/wip-nuke-on-error
convert nuke-on-error to boolean
Zack Cerza [Wed, 27 Aug 2014 18:10:55 +0000 (12:10 -0600)]
Merge pull request #321 from ceph/wip-install
install libcephfs-java
Zack Cerza [Wed, 27 Aug 2014 18:05:19 +0000 (12:05 -0600)]
Only pass lists to ssh_keyscan()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 27 Aug 2014 17:32:39 +0000 (11:32 -0600)]
More hostname normalization
This time, for ssh_keyscan()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 27 Aug 2014 17:25:30 +0000 (11:25 -0600)]
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>
Zack Cerza [Wed, 27 Aug 2014 15:31:52 +0000 (09:31 -0600)]
Normalize input hostnames in various functions
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sage Weil [Wed, 27 Aug 2014 00:18:26 +0000 (17:18 -0700)]
task/install: install libcephfs-java (deb)
Accidentally removed in
0c75c6b1f7654b5a9b45d73c6b6aa47a523e1841
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 27 Aug 2014 00:10:26 +0000 (17:10 -0700)]
task/install: move package list to top of file
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Tue, 26 Aug 2014 21:34:00 +0000 (15:34 -0600)]
Merge pull request #320 from ceph/wip-sort-brief
lock.py: sort --brief output by status['name']
Dan Mick [Tue, 26 Aug 2014 21:25:02 +0000 (14:25 -0700)]
lock.py: sort --brief output by status['name']
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Zack Cerza [Tue, 26 Aug 2014 17:47:48 +0000 (11:47 -0600)]
Fix a linter error
Wasn't much of a bug, but still.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 26 Aug 2014 17:43:45 +0000 (11:43 -0600)]
Fix module reference
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 26 Aug 2014 17:19:32 +0000 (11:19 -0600)]
Hostname handling for updatekeys
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 26 Aug 2014 16:39:33 +0000 (10:39 -0600)]
Exit with code already returned by lock.main()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 26 Aug 2014 16:33:17 +0000 (10:33 -0600)]
Less dangerous hostname mangling
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 26 Aug 2014 16:32:36 +0000 (10:32 -0600)]
Fix --unlock
Note to self: clean up user/ctx.owner confusion
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 26 Aug 2014 16:23:03 +0000 (10:23 -0600)]
Return old-style hostnames from lock_many()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 26 Aug 2014 16:21:24 +0000 (10:21 -0600)]
Don't "import misc as teuthology"
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 25 Aug 2014 22:11:25 +0000 (16:11 -0600)]
Merge pull request #318 from ceph/wip-defaults
change defaults for mira,plana,burnupi
Zack Cerza [Mon, 25 Aug 2014 21:08:11 +0000 (15:08 -0600)]
More hostname handling fixes
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 25 Aug 2014 20:40:40 +0000 (14:40 -0600)]
Revert "Canonicalize hostnames"
This reverts commit
29e8deefaeef21d1e7f6c40d6fca2605324dec69 .
Zack Cerza [Mon, 25 Aug 2014 20:07:29 +0000 (14:07 -0600)]
Remove the 'user@' prefix before checking status
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 25 Aug 2014 20:04:32 +0000 (14:04 -0600)]
Allow passing user=None to remove the 'user@'
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 25 Aug 2014 19:50:38 +0000 (13:50 -0600)]
Fix canonicalize_hostname()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 25 Aug 2014 19:50:23 +0000 (13:50 -0600)]
Remove unused import
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 25 Aug 2014 19:31:25 +0000 (13:31 -0600)]
Canonicalize hostnames in yet another place
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Sage Weil [Mon, 25 Aug 2014 19:25:48 +0000 (12:25 -0700)]
suite: scheule in mira,burnupi,plana by deafult
(was plana)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 25 Aug 2014 19:25:37 +0000 (12:25 -0700)]
teuthology-queue: list multi queue by default
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Mon, 25 Aug 2014 19:02:04 +0000 (13:02 -0600)]
Canonicalize hostnames
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 22 Aug 2014 20:14:15 +0000 (14:14 -0600)]
Use new vm_host attribute
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 22 Aug 2014 19:37:49 +0000 (13:37 -0600)]
Don't dump all vm_host details when listing
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 22 Aug 2014 19:25:26 +0000 (13:25 -0600)]
Reflect updated field names
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 22 Aug 2014 19:05:40 +0000 (13:05 -0600)]
Update provision module to use new lock server
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 22 Aug 2014 17:23:05 +0000 (11:23 -0600)]
Use Remote.shortname instead of regex
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 22 Aug 2014 16:18:36 +0000 (10:18 -0600)]
Add unlock_many() and use it when possible
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 21 Aug 2014 18:52:46 +0000 (12:52 -0600)]
Update internal task to use new lockserver
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 21 Aug 2014 18:51:42 +0000 (12:51 -0600)]
Make far less requests when simply locking
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 19 Aug 2014 20:43:01 +0000 (14:43 -0600)]
Optimize some list_locks() calls
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 18 Aug 2014 23:07:51 +0000 (17:07 -0600)]
Properly query for multiple machine types
...in list_locks()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 18 Aug 2014 20:44:03 +0000 (14:44 -0600)]
Use consistent URI for lock server
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 21 May 2014 00:42:29 +0000 (19:42 -0500)]
Remove old lock server
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 21 May 2014 00:41:50 +0000 (19:41 -0500)]
Change default lock server to paddles
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 21 May 2014 00:41:28 +0000 (19:41 -0500)]
Use /nodes/ as the lock server endpoint
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 21 May 2014 00:32:31 +0000 (19:32 -0500)]
Update to use new ssh-keyscan API
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 21 May 2014 00:17:59 +0000 (19:17 -0500)]
Rewrite ssh public key updating
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 20 May 2014 23:33:36 +0000 (18:33 -0500)]
Use new ssh_keyscan() function
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 20 May 2014 23:27:53 +0000 (18:27 -0500)]
No need to be passing ctx to update_lock()
... or update_keys() or scan_for_locks()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 20 May 2014 23:26:29 +0000 (18:26 -0500)]
Add new ssh_keyscan() method
This is just a cleaner implementation that will replace the existing
one(s).
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 20 May 2014 23:02:41 +0000 (18:02 -0500)]
Re-order functions in module
This is for readability.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 20 May 2014 17:50:12 +0000 (12:50 -0500)]
keyscan_check(): don't require ctx to be passed
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Tue, 20 May 2014 15:44:46 +0000 (10:44 -0500)]
Update lock_many(), update_lock(), and main()
Also remove lockstatus.send_request()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 19 May 2014 23:36:39 +0000 (18:36 -0500)]
Fix PEP-8 issues
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 19 May 2014 23:21:09 +0000 (18:21 -0500)]
Refactoring
Create a new teuthology.provision module and move virtual machine
functions there. Move hostname manipulation functions to
teuthology.misc.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 19 May 2014 22:53:22 +0000 (17:53 -0500)]
Update do_summary()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 19 May 2014 22:45:26 +0000 (17:45 -0500)]
Rewrite list_locks()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 19 May 2014 22:40:11 +0000 (17:40 -0500)]
Make (de)canonicalize_hostname() work without user
Add tests proving they still work *with* usernames as well.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Mon, 19 May 2014 20:22:30 +0000 (15:22 -0500)]
Add unit tests for (de)canonicalize_hostname()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Fri, 16 May 2014 20:54:13 +0000 (15:54 -0500)]
Update/rewrite several functions to use paddles
Functions updated: lock.lock_one(), lock.unlock_one(),
lock.destroy_if_vm(), lockstatus.get_status()
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Loic Dachary [Mon, 25 Aug 2014 16:13:45 +0000 (18:13 +0200)]
convert nuke-on-error to boolean
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Sage Weil [Fri, 22 Aug 2014 22:14:58 +0000 (15:14 -0700)]
ceph.conf: mon reweight min pgs per osd = 4
So teh cephtool reweight-by-pg test will pass with mini clusters.
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Wed, 20 Aug 2014 11:22:01 +0000 (12:22 +0100)]
daemon: add DaemonGroup.resolve_role_list
Used for tasks that want to take a flexible list
of roles from their user config, including a
null (everything) default and * wildcards.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 20 Aug 2014 11:09:29 +0000 (12:09 +0100)]
nuke: clear test firewall rules
Signed-off-by: John Spray <john.spray@redhat.com>
Zack Cerza [Thu, 21 Aug 2014 22:10:22 +0000 (16:10 -0600)]
Add --suite-path
Slightly less ugly than setting PYTHONPATH
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>