]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
10 years agoSuppress tracebacks when coverage isn't configured
Zack Cerza [Tue, 4 Nov 2014 23:39:30 +0000 (16:39 -0700)]
Suppress tracebacks when coverage isn't configured

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoInstall virtualenv if it isn't present
Zack Cerza [Tue, 4 Nov 2014 17:24:55 +0000 (10:24 -0700)]
Install virtualenv if it isn't present

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoAlso install mysql on MacOS
Zack Cerza [Tue, 4 Nov 2014 17:23:36 +0000 (10:23 -0700)]
Also install mysql on MacOS

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoFix typo
Zack Cerza [Tue, 4 Nov 2014 17:16:05 +0000 (10:16 -0700)]
Fix typo

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoDrop default watchdog_interval to 120s
Zack Cerza [Mon, 3 Nov 2014 23:41:49 +0000 (16:41 -0700)]
Drop default watchdog_interval to 120s

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoExplicitly pass json header
Zack Cerza [Mon, 3 Nov 2014 17:05:06 +0000 (10:05 -0700)]
Explicitly pass json header

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoAllow omitting 'tasks' stanza in job definitions
Zack Cerza [Thu, 30 Oct 2014 19:01:38 +0000 (13:01 -0600)]
Allow omitting 'tasks' stanza in job definitions

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoAbstract the lab domain (e.g. front.sepia.ceph.com)
Zack Cerza [Thu, 30 Oct 2014 17:19:53 +0000 (11:19 -0600)]
Abstract the lab domain (e.g. front.sepia.ceph.com)

This should make usage in other labs easier.

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoIf lock_server is not set, check_lock() no-ops
Zack Cerza [Wed, 29 Oct 2014 23:47:10 +0000 (17:47 -0600)]
If lock_server is not set, check_lock() no-ops

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoceph.conf: set mon pg warn max per osd = 10000
Sage Weil [Fri, 31 Oct 2014 23:50:35 +0000 (16:50 -0700)]
ceph.conf: set mon pg warn max per osd = 10000

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoAdd libmysqlclient-dev to ubuntu requirements
Zack Cerza [Thu, 30 Oct 2014 22:32:28 +0000 (16:32 -0600)]
Add libmysqlclient-dev to ubuntu requirements

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoRevert "Remove MySQL requirements"
Zack Cerza [Thu, 30 Oct 2014 22:32:09 +0000 (16:32 -0600)]
Revert "Remove MySQL requirements"

This reverts commit c69051367069eab4dd608753e14ffc8cee75b50b.

10 years agoRemove MySQL requirements
Zack Cerza [Wed, 29 Oct 2014 20:43:20 +0000 (14:43 -0600)]
Remove MySQL requirements

These are only needed for teuthology-coverage, which requires a good
amount of extra setup (if it even works).

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoFix for 9871 was wrong: original <= should always have been <
Dan Mick [Tue, 28 Oct 2014 23:46:33 +0000 (16:46 -0700)]
Fix for 9871 was wrong: original <= should always have been <

...but now it matters.  lock_list returns exactly the length needed,
and so the 'failure' case is strict less-than.

Suggested-by: Sandon VanNess <svanness@redhat.com>
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #348 from ceph/wip-9871
Zack Cerza [Tue, 28 Oct 2014 19:26:14 +0000 (13:26 -0600)]
Merge pull request #348 from ceph/wip-9871

lock.py: update keys for any owned VMs, even if none mentioned on CLI

10 years agolock.py: update keys for any owned VMs, even if none mentioned on CLI 348/head
Dan Mick [Mon, 27 Oct 2014 22:06:01 +0000 (15:06 -0700)]
lock.py: update keys for any owned VMs, even if none mentioned on CLI

teuthology-lock to create new VMs followed by "--list-targets" was
returning the old hostkeys.  The code rightly avoids fetching keys
for all hosts; this change makes it update keys owned by the
current querying user.

Fixes: #9871
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #349 from ceph/wip-9914
Zack Cerza [Tue, 28 Oct 2014 16:48:18 +0000 (10:48 -0600)]
Merge pull request #349 from ceph/wip-9914

internal.py: report more-accurate info about locked machines

10 years agoUpdate to reflect bootstrap.sh's Fedora support
Zack Cerza [Tue, 28 Oct 2014 14:32:23 +0000 (08:32 -0600)]
Update to reflect bootstrap.sh's Fedora support

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoMerge pull request #350 from ceph/fedora
Zack Cerza [Tue, 28 Oct 2014 14:31:10 +0000 (08:31 -0600)]
Merge pull request #350 from ceph/fedora

support Fedora when using bootstrap

10 years agosupport Fedora when using bootstrap 350/head
Greg Farnum [Tue, 28 Oct 2014 01:08:43 +0000 (18:08 -0700)]
support Fedora when using bootstrap

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years agointernal.py: report more-accurate info about locked machines 349/head
Dan Mick [Mon, 27 Oct 2014 22:26:36 +0000 (15:26 -0700)]
internal.py: report more-accurate info about locked machines

Don't hide the fact that there are reserved machines that may
cause a scheduled lock request to have to wait.

Fixes: 9914
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoAdd INSTALL.rst to sources
Zack Cerza [Fri, 24 Oct 2014 21:57:07 +0000 (15:57 -0600)]
Add INSTALL.rst to sources

Signed-off-by: Zack Cerza <zack@cerza.org>
10 years agoAdd 'prep' step that copies docs into docs/source/
Zack Cerza [Thu, 23 Oct 2014 19:39:38 +0000 (13:39 -0600)]
Add 'prep' step that copies docs into docs/source/

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoAbstract source path
Zack Cerza [Wed, 22 Oct 2014 15:23:20 +0000 (09:23 -0600)]
Abstract source path

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoRemove reference to static path
Zack Cerza [Fri, 17 Oct 2014 20:18:30 +0000 (14:18 -0600)]
Remove reference to static path

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agocreate a tox env for docs
Alfredo Deza [Tue, 14 Oct 2014 21:08:09 +0000 (17:08 -0400)]
create a tox env for docs

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
10 years agoignore build/ output from docs
Alfredo Deza [Tue, 14 Oct 2014 21:06:54 +0000 (17:06 -0400)]
ignore build/ output from docs

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
10 years agocreate the Makefile for sphinx docs generation
Alfredo Deza [Tue, 14 Oct 2014 21:05:49 +0000 (17:05 -0400)]
create the Makefile for sphinx docs generation

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
10 years agocreate the source dir for sphinx
Alfredo Deza [Tue, 14 Oct 2014 21:05:26 +0000 (17:05 -0400)]
create the source dir for sphinx

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
10 years agoAdd a changelog
Zack Cerza [Thu, 23 Oct 2014 20:45:33 +0000 (14:45 -0600)]
Add a changelog

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoRemove old install instructions
Zack Cerza [Fri, 24 Oct 2014 19:09:00 +0000 (13:09 -0600)]
Remove old install instructions

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoAdd "Choosing machines for a job" section
Zack Cerza [Fri, 24 Oct 2014 19:06:19 +0000 (13:06 -0600)]
Add "Choosing machines for a job" section

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoAdd "Provided utilities" section
Zack Cerza [Fri, 24 Oct 2014 19:04:02 +0000 (13:04 -0600)]
Add "Provided utilities" section

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoRewrite description and overview
Zack Cerza [Fri, 3 Oct 2014 20:42:29 +0000 (14:42 -0600)]
Rewrite description and overview

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoAdd separate install documentation
Zack Cerza [Thu, 2 Oct 2014 20:27:26 +0000 (14:27 -0600)]
Add separate install documentation

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoRequire six >= 1.5.0
Zack Cerza [Thu, 23 Oct 2014 21:06:43 +0000 (15:06 -0600)]
Require six >= 1.5.0

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoMerge pull request #344 from dachary/wip-9842-deep-merge
Zack Cerza [Tue, 21 Oct 2014 15:45:34 +0000 (09:45 -0600)]
Merge pull request #344 from dachary/wip-9842-deep-merge

display informative error message if schedule fails to deep_merge

10 years agodisplay informative error message if schedule fails to deep_merge 344/head
Loic Dachary [Tue, 21 Oct 2014 04:16:25 +0000 (21:16 -0700)]
display informative error message if schedule fails to deep_merge

Display the two yaml structures that fail to merge in case of an
exception. That's a useful hint to find out what's wrong.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
10 years agoMerge pull request #342 from ceph/wip-5876
John Spray [Mon, 20 Oct 2014 18:45:14 +0000 (19:45 +0100)]
Merge pull request #342 from ceph/wip-5876

task/nfs: stop nfs server after test finishes

Reviewed-by: John Spray <john.spray@redhat.com>
10 years agotask/nfs: stop nfs server after test finishes more thoroughly 342/head
Yan, Zheng [Wed, 15 Oct 2014 07:47:57 +0000 (15:47 +0800)]
task/nfs: stop nfs server after test finishes more thoroughly

In addition to "exportfs -au", we take a sledgehammer to it
by shutting down all the worker threads and flushing out
the client export table.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
Signed-off-by: Greg Farnum <Greg@inktank.com>
10 years agoBetter error handling in list_locks()
Zack Cerza [Mon, 20 Oct 2014 15:58:25 +0000 (09:58 -0600)]
Better error handling in list_locks()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoFix linter errors
Zack Cerza [Mon, 20 Oct 2014 14:33:42 +0000 (08:33 -0600)]
Fix linter errors

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoMerge pull request #343 from ceph/wip-dmick
Zack Cerza [Mon, 20 Oct 2014 14:31:24 +0000 (08:31 -0600)]
Merge pull request #343 from ceph/wip-dmick

Fixes for #9811 and #9812

10 years agotask.ssh_keys(): manage authorized_keys, not keys2 343/head
Dan Mick [Sat, 18 Oct 2014 05:11:05 +0000 (22:11 -0700)]
task.ssh_keys(): manage authorized_keys, not keys2

See the issue for a description, but authorized_keys2 is dead
on RHEL7 and dying elsewhere.

Fixes: #9812
Signed-off-by: Dan Mick <dan.mick@inktank.com>
10 years agolock.lock_many(): use passed os_{type,version}, not ctx
Dan Mick [Sat, 18 Oct 2014 05:06:51 +0000 (22:06 -0700)]
lock.lock_many(): use passed os_{type,version}, not ctx

Affects teuthology --lock with os_{type,version} in the yaml.

Fixes: #9811
Signed-off-by: Dan Mick <dan.mick@inktank.com>
10 years agoInstead of setting status='pass', set success=True
Zack Cerza [Thu, 16 Oct 2014 19:57:29 +0000 (13:57 -0600)]
Instead of setting status='pass', set success=True

Keeping this old behavior will mean that any tasks that are not updated
to use set_status() and still simply set success=False will still be
able to properly report their failures.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoUse new functions provided by job_status
Zack Cerza [Thu, 16 Oct 2014 18:54:07 +0000 (12:54 -0600)]
Use new functions provided by job_status

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoAdd new job_status module
Zack Cerza [Thu, 16 Oct 2014 18:46:21 +0000 (12:46 -0600)]
Add new job_status module

Provides methods for getting and setting job status. This is necessary
because we used to just use a boolean called 'success'. In order to stop
reporting infrastructure errors as failures, we need more than just a
boolean.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoRemove setting of unused 's3_branch' value
Zack Cerza [Wed, 15 Oct 2014 18:57:04 +0000 (12:57 -0600)]
Remove setting of unused 's3_branch' value

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoStop obsuring stderr when installing with yum
Zack Cerza [Tue, 14 Oct 2014 15:38:41 +0000 (09:38 -0600)]
Stop obsuring stderr when installing with yum

Over time, the code that actually used the buffer we stored stderr in
was removed, leaving us holding error messages and never displaying
them.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoProperly quote args that are strings
Zack Cerza [Mon, 13 Oct 2014 22:17:43 +0000 (16:17 -0600)]
Properly quote args that are strings

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoOn SSH connection loss, mark jobs as 'dead'
Zack Cerza [Mon, 13 Oct 2014 20:37:18 +0000 (14:37 -0600)]
On SSH connection loss, mark jobs as 'dead'

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoRemove stray exit statement
Zack Cerza [Tue, 7 Oct 2014 16:52:34 +0000 (10:52 -0600)]
Remove stray exit statement

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoDon't assume Ubuntu; also support MacOS X
Zack Cerza [Tue, 7 Oct 2014 16:49:40 +0000 (10:49 -0600)]
Don't assume Ubuntu; also support MacOS X

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
10 years agoDrop libmysqlclient-dev
Zack Cerza [Tue, 7 Oct 2014 16:04:41 +0000 (10:04 -0600)]
Drop libmysqlclient-dev

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUse os.path.expanduser() instead of /home
Zack Cerza [Mon, 6 Oct 2014 20:43:09 +0000 (14:43 -0600)]
Use os.path.expanduser() instead of /home

... for locating downburst executable

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMinor fix for vps-only locks
Zack Cerza [Fri, 3 Oct 2014 21:12:29 +0000 (15:12 -0600)]
Minor fix for vps-only locks

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #339 from ceph/wip-9292-wusui
Zack Cerza [Fri, 3 Oct 2014 18:15:16 +0000 (12:15 -0600)]
Merge pull request #339 from ceph/wip-9292-wusui

Cleaned up documentation.

11 years agoCleaned up documentation. 339/head
Warren Usui [Fri, 3 Oct 2014 02:17:59 +0000 (19:17 -0700)]
Cleaned up documentation.

Removed some Inktank references, mentioned the split of tasks (between
teuthology/task and chef-qa-suite/tasks), fixed some wording, removed
chef reference that no longer applies.

Did not update the teuthology-suite section at the end of this file
because further documentation changes are coming.

Fixes: #9292
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoUse arch in lock_machines()
Zack Cerza [Wed, 1 Oct 2014 23:15:10 +0000 (17:15 -0600)]
Use arch in lock_machines()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoQuery arch in lock_many()
Zack Cerza [Wed, 1 Oct 2014 23:14:59 +0000 (17:14 -0600)]
Query arch in lock_many()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUse uname -m instead of uname -p
Zack Cerza [Wed, 1 Oct 2014 22:55:55 +0000 (16:55 -0600)]
Use uname -m instead of uname -p

Debian hosts were reporting as 'unknown'

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAll BaseExceptions should hit failure codepath
Zack Cerza [Wed, 1 Oct 2014 20:58:07 +0000 (14:58 -0600)]
All BaseExceptions should hit failure codepath

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove VersionNotFoundError to exceptions module
Zack Cerza [Tue, 30 Sep 2014 19:36:36 +0000 (13:36 -0600)]
Move VersionNotFoundError to exceptions module

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove ScheduleFailError to exceptions module
Zack Cerza [Tue, 30 Sep 2014 19:35:13 +0000 (13:35 -0600)]
Move ScheduleFailError to exceptions module

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUse os_type and os_version in lock_machines()
Zack Cerza [Tue, 30 Sep 2014 15:13:46 +0000 (09:13 -0600)]
Use os_type and os_version in lock_machines()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoQuery os_type and os_version in lock_many()
Zack Cerza [Mon, 29 Sep 2014 21:00:22 +0000 (15:00 -0600)]
Query os_type and os_version in lock_many()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRemove default for --os-type
Zack Cerza [Mon, 29 Sep 2014 21:00:06 +0000 (15:00 -0600)]
Remove default for --os-type

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd OS.__repr__() and OS.to_dict()
Zack Cerza [Mon, 29 Sep 2014 13:54:34 +0000 (07:54 -0600)]
Add OS.__repr__() and OS.to_dict()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove OS class to its own files
Zack Cerza [Mon, 29 Sep 2014 13:39:49 +0000 (07:39 -0600)]
Move OS class to its own files

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agotasks/nfs: sync before unmounting or unexporting nfs clients/servers
Greg Farnum [Mon, 29 Sep 2014 19:38:04 +0000 (12:38 -0700)]
tasks/nfs: sync before unmounting or unexporting nfs clients/servers

We have some hope that this will resolve #8576 in the Ceph tracker.

Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Sage Weil <sage@redhat.com>
11 years agoBump requests version to >= 2.3.0
Zack Cerza [Fri, 26 Sep 2014 20:46:00 +0000 (14:46 -0600)]
Bump requests version to >= 2.3.0

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAllow mixing of bare-metal machine_types
Zack Cerza [Thu, 25 Sep 2014 16:12:10 +0000 (10:12 -0600)]
Allow mixing of bare-metal machine_types

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #335 from ceph/wip-kernel-downgrade
Zack Cerza [Fri, 26 Sep 2014 17:12:59 +0000 (11:12 -0600)]
Merge pull request #335 from ceph/wip-kernel-downgrade

Fix RPM kernel downgrade.

11 years agonfs: more lsof output, on clients too
Greg Farnum [Thu, 25 Sep 2014 19:43:39 +0000 (12:43 -0700)]
nfs: more lsof output, on clients too

Signed-off-by: Greg Farnum <greg@inktank.com>
11 years agoRevert "Move default os_type to misc.get_distro()"
Zack Cerza [Thu, 25 Sep 2014 21:22:06 +0000 (15:22 -0600)]
Revert "Move default os_type to misc.get_distro()"

This reverts commit 3675a2e25c5d9a370922b714871492f31ed1783d.

11 years agoRevert "Add os_type and os_version args to lock_many()"
Zack Cerza [Thu, 25 Sep 2014 21:22:00 +0000 (15:22 -0600)]
Revert "Add os_type and os_version args to lock_many()"

This reverts commit f39b6958c4dd94f7e682833f4cf3122c4537dcde.

11 years agoMerge pull request #337 from ceph/wip-9597
Zack Cerza [Thu, 25 Sep 2014 21:02:10 +0000 (15:02 -0600)]
Merge pull request #337 from ceph/wip-9597

lock.py: Log failing os-version if it doesn't validate

11 years agolock.py: Log failing os-version if it doesn't validate 337/head
Dan Mick [Thu, 25 Sep 2014 20:56:45 +0000 (13:56 -0700)]
lock.py: Log failing os-version if it doesn't validate

Fixes: #9597
Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agoAdd 'lsb_release -a' parsing back to remote.OS
Zack Cerza [Thu, 25 Sep 2014 15:38:52 +0000 (09:38 -0600)]
Add 'lsb_release -a' parsing back to remote.OS

It can now parse either that or /etc/os-release, and remote.Remote will
attempt the latter first.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd os_type and os_version args to lock_many()
Zack Cerza [Tue, 23 Sep 2014 15:55:22 +0000 (09:55 -0600)]
Add os_type and os_version args to lock_many()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove default os_type to misc.get_distro()
Zack Cerza [Tue, 23 Sep 2014 15:50:40 +0000 (09:50 -0600)]
Move default os_type to misc.get_distro()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #336 from ceph/wip-nfs
Zack Cerza [Wed, 24 Sep 2014 21:24:33 +0000 (15:24 -0600)]
Merge pull request #336 from ceph/wip-nfs

enable lsof when unmounting nfs clients

11 years agoenable lsof when unmounting nfs clients 336/head
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>
11 years agoFix RPM kernel downgrade. 335/head
Sandon Van Ness [Fri, 19 Sep 2014 21:58:25 +0000 (14:58 -0700)]
Fix RPM kernel downgrade.

Force even if an older version or existing.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
11 years agoMerge pull request #334 from ceph/wip-9519-wusui
Zack Cerza [Fri, 19 Sep 2014 17:19:27 +0000 (11:19 -0600)]
Merge pull request #334 from ceph/wip-9519-wusui

Handle list-json downburst failure.

11 years agoRefuse to schedule jobs with 'multi' machine_type
Zack Cerza [Fri, 19 Sep 2014 16:12:59 +0000 (10:12 -0600)]
Refuse to schedule jobs with 'multi' machine_type

That's not a real machine_type - it's a beanstalkd tube that is used
when a machine_type like 'plana,mira,burnupi' is used.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRaise ConnectionLostError when the socket dies
Zack Cerza [Fri, 19 Sep 2014 15:42:36 +0000 (09:42 -0600)]
Raise ConnectionLostError when the socket dies

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoHandle list-json downburst failure. 334/head
Warren Usui [Thu, 18 Sep 2014 20:29:18 +0000 (13:29 -0700)]
Handle list-json downburst failure.

Use check_output instead of Popen and communicate()
Fixes: #9519
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoImprove os-release parsing
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>
11 years agoRewrite teuthology-updatekeys
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>
11 years agoSkip hostname test
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>
11 years agoRe-implement Distribution as OS
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>
11 years agoMerge pull request #328 from ceph/wip-8700-wusui
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

11 years agoMerge pull request #333 from ceph/wip-9495-wusui
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.

11 years agoMerge pull request #331 from ceph/wip-transport-none
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()

11 years agoAdd a workaround for Remote.hostname
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>
11 years agoRun chef before operations that need it. 333/head
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>
11 years agoFix daemon-helper argument parsing. 328/head
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>
11 years agoMerge pull request #332 from ceph/wip-yaml-path
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