]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
Greg Farnum [Wed, 24 Sep 2014 05:44:37 +0000 (22:44 -0700)]
enable lsof when unmounting nfs clients
Because the lsof interface is strange, use the verbose flag so we get
some output even if there is no use, and ignore errors because it will
return 1 if there's no filesystem use.
Signed-off-by: Greg Farnum <greg@inktank.com>
Zack Cerza [Thu, 18 Sep 2014 19:43:22 +0000 (13:43 -0600)]
Improve os-release parsing
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Thu, 18 Sep 2014 18:24:18 +0000 (12:24 -0600)]
Rewrite teuthology-updatekeys
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 17 Sep 2014 21:29:27 +0000 (15:29 -0600)]
Skip hostname test
Due to the workaround put in place recently
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 17 Sep 2014 21:26:39 +0000 (15:26 -0600)]
Re-implement Distribution as OS
It now uses /etc/os-release instead of lsb_release, like the cool kids
are doing.
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Zack Cerza [Wed, 17 Sep 2014 16:46:23 +0000 (10:46 -0600)]
Merge pull request #328 from ceph/wip-8700-wusui
Use docopts to parse daemon-helper
Zack Cerza [Wed, 17 Sep 2014 16:41:56 +0000 (10:41 -0600)]
Merge pull request #333 from ceph/wip-9495-wusui
Run chef before operations that need it.
Zack Cerza [Wed, 17 Sep 2014 16:31:04 +0000 (10:31 -0600)]
Merge pull request #331 from ceph/wip-transport-none
orchestra: fix ConnectionLostError path in wait()
Zack Cerza [Wed, 17 Sep 2014 16:23:08 +0000 (10:23 -0600)]
Add a workaround for Remote.hostname
Since 'hostname --fqdn' isn't working reliably
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Warren Usui [Wed, 17 Sep 2014 03:23:42 +0000 (20:23 -0700)]
Run chef before operations that need it.
Chef, if it is needed, should be run before kernel tasks
and before all other user defined tasks. It should not be
run by default.
Fixes: 9495
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Warren Usui [Mon, 15 Sep 2014 18:05:14 +0000 (11:05 -0700)]
Fix daemon-helper argument parsing.
Fixes: 8700
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Zack Cerza [Tue, 16 Sep 2014 17:58:51 +0000 (11:58 -0600)]
Merge pull request #332 from ceph/wip-yaml-path
teuthology-suite: fix handling of extra YAML files
John Spray [Tue, 16 Sep 2014 13:46:32 +0000 (14:46 +0100)]
teuthology-suite: fix handling of extra YAML files
Previously these had to be absolute paths, or relative
paths had to be present in the pwd and in ceph-qa-suite.
With this change you can now pass a relative path
like 'debug/mds_client.yaml' to reference a debug
fragment from ceph-qa-suite.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 16 Sep 2014 13:08:41 +0000 (14:08 +0100)]
orchestra: fix ConnectionLostError path in wait()
Sometimes it would generate AttributeError instead
when it tried to call is_active() on None.
Signed-off-by: John Spray <john.spray@redhat.com>
Zack Cerza [Mon, 15 Sep 2014 16:57:59 +0000 (10:57 -0600)]
Merge pull request #326 from ceph/wip-9318-wusui
Avoid running chef automatically.
Zack Cerza [Mon, 15 Sep 2014 16:57:25 +0000 (10:57 -0600)]
Merge pull request #297 from ceph/wip-8712-wusui
Check os-type and os-version for vps
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>
Warren Usui [Fri, 12 Sep 2014 00:34:54 +0000 (17:34 -0700)]
Avoid running chef automatically
teuthology --lock formerly automatically ran chef on startup of
virtual machines. This covered up a bug where ceph-deploy would
not install properly. These changes remove the automatic running
of chef, and fixed some related issues when setting up keys on
virtual machines.
Fixes 9318:
Signed-off-by: Warren Usui <warren.usui@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>
Warren Usui [Tue, 9 Sep 2014 03:12:24 +0000 (20:12 -0700)]
Check os-type and os-version for vps
Fixes: 8712
Signed-off-by: Warren Usui warren.usui@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>