]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
11 years agoMake (de)canonicalize_hostname() work without user
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>
11 years agoAdd unit tests for (de)canonicalize_hostname()
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>
11 years agoUpdate/rewrite several functions to use paddles
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>
11 years agoceph.conf: mon reweight min pgs per osd = 4
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>
11 years agoAdd --suite-path
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>
11 years agoMerge pull request #316 from ceph/wip-9183-wusui
Yuri Weinstein [Wed, 20 Aug 2014 21:55:55 +0000 (14:55 -0700)]
Merge pull request #316 from ceph/wip-9183-wusui

Fix return from schedule_suite.

11 years agoFix return from schedule_suite. 316/head
Warren Usui [Wed, 20 Aug 2014 20:19:13 +0000 (13:19 -0700)]
Fix return from schedule_suite.

Schedule_suite returns the number of jobs scheduled (accounting for
filters).  Information displayed also indicates how many jobs were
run and how many were filtered out.

Fixes: 9183
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoMerge pull request #309 from ceph/wip-8954-wusui
Zack Cerza [Tue, 19 Aug 2014 18:54:12 +0000 (12:54 -0600)]
Merge pull request #309 from ceph/wip-8954-wusui

Add filter and filter-out options to suites.

11 years agovalgrind: make trusty tcmalloc supporession more general
Sage Weil [Tue, 19 Aug 2014 18:16:22 +0000 (11:16 -0700)]
valgrind: make trusty tcmalloc supporession more general

To capture this:

  <kind>SyscallParam</kind>
  <what>Syscall param msync(start) points to unaddressable byte(s)</what>
  <stack>
    <frame>
      <ip>0x5081B3D</ip>
      <obj>/lib/x86_64-linux-gnu/libpthread-2.19.so</obj>
      <dir>/build/buildd/eglibc-2.19/nptl/../sysdeps/unix</dir>
      <file>syscall-template.S</file>
      <line>81</line>
    </frame>
    <frame>
      <ip>0x76BA123</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1</obj>
    </frame>
    <frame>
      <ip>0x76BCEF6</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1</obj>
    </frame>
    <frame>
      <ip>0x76BE151</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1</obj>
    </frame>
    <frame>
      <ip>0x76BE4E8</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1</obj>
    </frame>
    <frame>
      <ip>0x76BAA30</ip>
      <obj>/usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1</obj>
      <fn>_ULx86_64_step</fn>
    </frame>
    <frame>
      <ip>0x5C42052</ip>
      <obj>/usr/lib/libtcmalloc.so.4.1.2</obj>
      <fn>GetStackTrace(void**, int, int)</fn>
    </frame>
    <frame>
      <ip>0x5C349F4</ip>
      <obj>/usr/lib/libtcmalloc.so.4.1.2</obj>
      <fn>tcmalloc::PageHeap::GrowHeap(unsigned long)</fn>
    </frame>
    <frame>
      <ip>0x5C34D02</ip>
      <obj>/usr/lib/libtcmalloc.so.4.1.2</obj>
      <fn>tcmalloc::PageHeap::New(unsigned long)</fn>
    </frame>
    <frame>
      <ip>0x5C25D0C</ip>
      <obj>/usr/lib/libtcmalloc.so.4.1.2</obj>
    </frame>
    <frame>
      <ip>0x5C46378</ip>
      <obj>/usr/lib/libtcmalloc.so.4.1.2</obj>
      <fn>operator new[](unsigned long)</fn>
    </frame>

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoUse suite_path, if set, for one-off jobs as well
Zack Cerza [Tue, 19 Aug 2014 17:54:13 +0000 (11:54 -0600)]
Use suite_path, if set, for one-off jobs as well

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd filter and filter-off suite options. 309/head
Warren Usui [Tue, 19 Aug 2014 03:47:07 +0000 (20:47 -0700)]
Add filter and filter-off suite options.

Filter only runs suite jobs that contain the text passed as part of
their description or in the names of the composite set of yaml files.
Filter-off only runs suite jobs that do not contain the text passed
as either their description or in the names of the composite set of
yaml files.
Fixes: 8954
Signed-off-by: Warren Usui <warren.usui@inktank.com>
11 years agoMerge pull request #313 from ceph/wip-rhel
Zack Cerza [Mon, 18 Aug 2014 19:49:54 +0000 (13:49 -0600)]
Merge pull request #313 from ceph/wip-rhel

install: use rhel builder for rhel

11 years agoMerge pull request #315 from ceph/wip-8877
Zack Cerza [Mon, 18 Aug 2014 19:11:46 +0000 (13:11 -0600)]
Merge pull request #315 from ceph/wip-8877

Skip nuke and just destroy VPS if nuke is --unlock

11 years agoSkip nuke and just destroy VPS if nuke is --unlock 315/head
Sandon Van Ness [Mon, 18 Aug 2014 18:51:26 +0000 (11:51 -0700)]
Skip nuke and just destroy VPS if nuke is --unlock

If the machine is being unlocked after than we definitely want to
just destroy it. This way nukes will always suceed with --unlock
even if the guest is down or in a borked state.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
11 years agoinstall: use rhel builder for rhel 313/head
Sage Weil [Sat, 16 Aug 2014 22:01:34 +0000 (15:01 -0700)]
install: use rhel builder for rhel

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoMerge pull request #312 from ceph/wip-tls-leak
Sage Weil [Sat, 16 Aug 2014 04:03:28 +0000 (21:03 -0700)]
Merge pull request #312 from ceph/wip-tls-leak

valgrind: ignore TLS leak in glibc

11 years agovalgrind: suppress eglibc leak of TLS 312/head
Sage Weil [Fri, 15 Aug 2014 13:28:19 +0000 (06:28 -0700)]
valgrind: suppress eglibc leak of TLS

<error>
  <unique>0xf9</unique>
  <tid>1</tid>
  <kind>Leak_PossiblyLost</kind>
  <xwhat>
    <text>320 bytes in 1 blocks are possibly lost in loss record 248 of 289</text>
    <leakedbytes>320</leakedbytes>
    <leakedblocks>1</leakedblocks>
  </xwhat>
  <stack>
    <frame>
      <ip>0x4C29DB4</ip>
      <obj>/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
      <fn>calloc</fn>
    </frame>
    <frame>
      <ip>0x4012074</ip>
      <obj>/lib/x86_64-linux-gnu/ld-2.15.so</obj>
      <fn>_dl_allocate_tls</fn>
      <dir>/build/buildd/eglibc-2.15/elf</dir>
      <file>dl-tls.c</file>
      <line>297</line>
    </frame>
    <frame>
      <ip>0x5289ABC</ip>
      <obj>/lib/x86_64-linux-gnu/libpthread-2.15.so</obj>
      <fn>pthread_create@@GLIBC_2.2.5</fn>
      <dir>/build/buildd/eglibc-2.15/nptl</dir>
      <file>allocatestack.c</file>
      <line>571</line>
    </frame>
    <frame>
      <ip>0xA6A89A</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>Thread::try_create(unsigned long)</fn>
      <dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-0.83-444-ge74ad5f/src/common</dir>
      <file>Thread.cc</file>
      <line>112</line>
    </frame>
    <frame>
      <ip>0xA6A94E</ip>
      <obj>/usr/bin/ceph-osd</obj>
      <fn>Thread::create(unsigned long)</fn>
      <dir>/srv/autobuild-ceph/gitbuilder.git/build/out~/ceph-0.83-444-ge74ad5f/src/common</dir>
      <file>Thread.cc</file>
      <line>122</line>
    </frame>

...

ubuntu@teuthology:/a/teuthology-2014-08-13_23:04:01-fs-next-testing-basic-multi/423897

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoPerform some sanity checks on --name
Zack Cerza [Thu, 14 Aug 2014 16:20:40 +0000 (10:20 -0600)]
Perform some sanity checks on --name

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMake --name required
Zack Cerza [Thu, 14 Aug 2014 16:20:27 +0000 (10:20 -0600)]
Make --name required

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoDon't fetch the suite if we can already find it
Zack Cerza [Wed, 13 Aug 2014 19:39:00 +0000 (13:39 -0600)]
Don't fetch the suite if we can already find it

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAttach FileHandlers to the RootLogger object
Zack Cerza [Wed, 13 Aug 2014 19:10:15 +0000 (13:10 -0600)]
Attach FileHandlers to the RootLogger object

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoDon't remove lockfiles
Zack Cerza [Tue, 12 Aug 2014 23:28:20 +0000 (17:28 -0600)]
Don't remove lockfiles

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd retries to fetch_teuthology()
Zack Cerza [Tue, 12 Aug 2014 23:09:50 +0000 (17:09 -0600)]
Add retries to fetch_teuthology()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd BootstrapError
Zack Cerza [Tue, 12 Aug 2014 23:07:39 +0000 (17:07 -0600)]
Add BootstrapError

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoIf bootstrap fails, remove the virtualenv
Zack Cerza [Tue, 12 Aug 2014 23:02:04 +0000 (17:02 -0600)]
If bootstrap fails, remove the virtualenv

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix another variable name
Zack Cerza [Tue, 12 Aug 2014 18:54:05 +0000 (12:54 -0600)]
Fix another variable name

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd message to exception log
Zack Cerza [Tue, 12 Aug 2014 16:46:29 +0000 (10:46 -0600)]
Add message to exception log

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd retries to fetch_qa_suite()
Zack Cerza [Tue, 12 Aug 2014 16:39:23 +0000 (10:39 -0600)]
Add retries to fetch_qa_suite()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoUse GitError instead of RuntimeError
Zack Cerza [Tue, 12 Aug 2014 16:38:00 +0000 (10:38 -0600)]
Use GitError instead of RuntimeError

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAdd GitError
Zack Cerza [Tue, 12 Aug 2014 16:36:51 +0000 (10:36 -0600)]
Add GitError

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix some variable naming
Zack Cerza [Tue, 12 Aug 2014 16:26:34 +0000 (10:26 -0600)]
Fix some variable naming

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #310 from ceph/wip-valgrind
Zack Cerza [Tue, 12 Aug 2014 16:24:58 +0000 (10:24 -0600)]
Merge pull request #310 from ceph/wip-valgrind

misc: pass premable through when no valgrind

11 years agomisc: pass premable through when no valgrind 310/head
Sage Weil [Tue, 12 Aug 2014 00:31:57 +0000 (17:31 -0700)]
misc: pass premable through when no valgrind

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoBe more informative if owner info is missing
Zack Cerza [Mon, 11 Aug 2014 20:55:49 +0000 (14:55 -0600)]
Be more informative if owner info is missing

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix format string
Zack Cerza [Mon, 11 Aug 2014 20:20:33 +0000 (14:20 -0600)]
Fix format string

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoDon't redefine 'remote'
Zack Cerza [Mon, 11 Aug 2014 20:18:50 +0000 (14:18 -0600)]
Don't redefine 'remote'

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoDon't import from inside functions
Zack Cerza [Mon, 11 Aug 2014 20:14:45 +0000 (14:14 -0600)]
Don't import from inside functions

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAttempt fetches on init, before running jobs
Zack Cerza [Fri, 8 Aug 2014 19:20:25 +0000 (13:20 -0600)]
Attempt fetches on init, before running jobs

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAlso rmtree on RuntimeError
Zack Cerza [Fri, 8 Aug 2014 19:18:44 +0000 (13:18 -0600)]
Also rmtree on RuntimeError

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoDisable pyc removal for now
Zack Cerza [Fri, 8 Aug 2014 19:11:52 +0000 (13:11 -0600)]
Disable pyc removal for now

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoBump all log levels to info
Zack Cerza [Fri, 8 Aug 2014 17:43:46 +0000 (11:43 -0600)]
Bump all log levels to info

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoDefault to using the master branch of teuthology
Zack Cerza [Thu, 7 Aug 2014 18:11:13 +0000 (12:11 -0600)]
Default to using the master branch of teuthology

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFor non-scheduled jobs, check out the suite repo. 307/head
Zack Cerza [Wed, 6 Aug 2014 22:50:13 +0000 (16:50 -0600)]
For non-scheduled jobs, check out the suite repo.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoAfter resetting a repo, remove all pyc files
Zack Cerza [Wed, 6 Aug 2014 22:23:19 +0000 (16:23 -0600)]
After resetting a repo, remove all pyc files

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMake teuthology-{suite,worker} share repo code
Zack Cerza [Wed, 6 Aug 2014 21:52:41 +0000 (15:52 -0600)]
Make teuthology-{suite,worker} share repo code

Repo-fetching code, that is.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoReimplement the file locker as a context manager
Zack Cerza [Wed, 6 Aug 2014 21:38:59 +0000 (15:38 -0600)]
Reimplement the file locker as a context manager

Also give it a 'noop' flag to enable its callers to optionally not use
locking.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove exception into a new exceptions module
Zack Cerza [Wed, 6 Aug 2014 21:11:01 +0000 (15:11 -0600)]
Move exception into a new exceptions module

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove functions into repo_utils
Zack Cerza [Wed, 6 Aug 2014 21:09:03 +0000 (15:09 -0600)]
Move functions into repo_utils

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFix NameError
Zack Cerza [Thu, 7 Aug 2014 17:13:23 +0000 (11:13 -0600)]
Fix NameError

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoCorrectly find both internal and external tasks
Zack Cerza [Fri, 25 Jul 2014 22:07:59 +0000 (16:07 -0600)]
Correctly find both internal and external tasks

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRemove most ceph-specific tasks. They are in ceph-qa-suite now.
Zack Cerza [Wed, 6 Aug 2014 16:06:34 +0000 (10:06 -0600)]
Remove most ceph-specific tasks. They are in ceph-qa-suite now.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #306 from ceph/wip-9024
Zack Cerza [Wed, 6 Aug 2014 15:42:49 +0000 (09:42 -0600)]
Merge pull request #306 from ceph/wip-9024

ignore errors if 'ps aux' fails

11 years agoignore errors if 'ps aux' fails 306/head
Alfredo Deza [Wed, 6 Aug 2014 13:25:33 +0000 (09:25 -0400)]
ignore errors if 'ps aux' fails

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoMerge pull request #305 from ceph/wip-8640
Zack Cerza [Mon, 4 Aug 2014 20:38:29 +0000 (14:38 -0600)]
Merge pull request #305 from ceph/wip-8640

implement `--version` and improve `setup.py`

11 years agocreate a --version flag for teuthology 305/head
Alfredo Deza [Mon, 4 Aug 2014 19:12:06 +0000 (15:12 -0400)]
create a --version flag for teuthology

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agopull the version and description in setup.py
Alfredo Deza [Mon, 4 Aug 2014 19:11:47 +0000 (15:11 -0400)]
pull the version and description in setup.py

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoadd an initial version to teuthology
Alfredo Deza [Mon, 4 Aug 2014 19:11:26 +0000 (15:11 -0400)]
add an initial version to teuthology

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoTweak usage statement
Zack Cerza [Mon, 4 Aug 2014 17:50:22 +0000 (11:50 -0600)]
Tweak usage statement

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #304 from ceph/wip-fix-build-matrix
Zack Cerza [Mon, 4 Aug 2014 16:10:02 +0000 (10:10 -0600)]
Merge pull request #304 from ceph/wip-fix-build-matrix

suite: fix build_matrix when non-yaml present in % dir

11 years agosuite: fix build_matrix when non-yaml present in % dir 304/head
Sage Weil [Mon, 4 Aug 2014 16:07:08 +0000 (09:07 -0700)]
suite: fix build_matrix when non-yaml present in % dir

First, if we get a non-yaml file, return an empty list.

Second, if we are in a % mode, exclude an empty raw result from the
combination.  Otherwise, we get no resulting jobs.

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoMerge pull request #303 from ceph/wip-8930
David Zafman [Sat, 2 Aug 2014 01:28:05 +0000 (18:28 -0700)]
Merge pull request #303 from ceph/wip-8930

Tasks are failing since using "data" pool no longer part of default install

Reviewed-by: Sage Weil <sage@redhat.com>
11 years agoTasks are failing since using "data" pool no longer part of default install 303/head
David Zafman [Fri, 1 Aug 2014 16:36:10 +0000 (09:36 -0700)]
Tasks are failing since using "data" pool no longer part of default install

Create a pool specifically for each task

Fixes: 8930
Signed-off-by: David Zafman <david.zafman@inktank.com>
11 years agoExpand '~' in ssh key paths
Zack Cerza [Fri, 1 Aug 2014 20:24:45 +0000 (14:24 -0600)]
Expand '~' in ssh key paths

... since paramiko doesn't bother to do this

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #301 from ceph/wip-nuke-vpm
Zack Cerza [Fri, 1 Aug 2014 19:25:18 +0000 (13:25 -0600)]
Merge pull request #301 from ceph/wip-nuke-vpm

nuke: allow nuking vpm hosts

11 years agoceph_manager: increase osd revival timeout from 75 -> 150 seconds
Sage Weil [Thu, 31 Jul 2014 04:34:30 +0000 (21:34 -0700)]
ceph_manager: increase osd revival timeout from 75 -> 150 seconds

Saw this fail on a firefly run just bc of valgrind slowness.  Make the
timeout higher!

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agovalgrind: ignore ec plugin factory leaks
Sage Weil [Fri, 25 Jul 2014 03:41:30 +0000 (20:41 -0700)]
valgrind: ignore ec plugin factory leaks

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoMerge pull request #300 from ceph/wip-mpi-vers
John Spray [Wed, 30 Jul 2014 22:37:39 +0000 (23:37 +0100)]
Merge pull request #300 from ceph/wip-mpi-vers

task/mpi: Explicit check for version mismatch

11 years agoMerge pull request #302 from ceph/wip-8850
Zack Cerza [Wed, 30 Jul 2014 20:31:27 +0000 (14:31 -0600)]
Merge pull request #302 from ceph/wip-8850

tell us if you are really not running any more

11 years agoadd another call to use "ps aux" 302/head
Alfredo Deza [Wed, 30 Jul 2014 20:27:40 +0000 (16:27 -0400)]
add another call to use "ps aux"

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agotell us if you are really not running any more
Alfredo Deza [Wed, 30 Jul 2014 20:17:01 +0000 (16:17 -0400)]
tell us if you are really not running any more

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agonuke: allow nuking vpm hosts 301/head
Sage Weil [Wed, 30 Jul 2014 18:12:09 +0000 (11:12 -0700)]
nuke: allow nuking vpm hosts

Skip the console check, though.

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agotask/mpi: Explicit check for version mismatch 300/head
John Spray [Tue, 29 Jul 2014 15:12:31 +0000 (16:12 +0100)]
task/mpi: Explicit check for version mismatch

Instead of proceeding to have mpiexec fail or hang,
do an up-front check that the MPI version is the same
on all of the nodes in the test.

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agoFix package_version_for_hash() call
Zack Cerza [Tue, 29 Jul 2014 20:43:41 +0000 (14:43 -0600)]
Fix package_version_for_hash() call

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agotask/mds_journal_migration: fix cleanup
John Spray [Tue, 29 Jul 2014 12:11:12 +0000 (13:11 +0100)]
task/mds_journal_migration: fix cleanup

Previously this was remounting in the background
which meant that if a workunit was executed immediately
afterwards it could put files in the mount dir before
the FS was mounted, causing the mount to fail.

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agotask/workunit: add sudo to dir delete
John Spray [Sat, 26 Jul 2014 20:31:54 +0000 (21:31 +0100)]
task/workunit: add sudo to dir delete

This failure to delete used to be hidden in
a catch-all exception handler that was
removed in 396dc073.

This was causing failures in kcephfs suite
like:
Command failed on plana96 with status 1: 'rm -rf -- /home/ubuntu/cephtest/mnt.0/client.0'

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agoMerge pull request #296 from ceph/wip-standby-mds
Zack Cerza [Fri, 25 Jul 2014 22:44:34 +0000 (16:44 -0600)]
Merge pull request #296 from ceph/wip-standby-mds

Wip standby mds

11 years agotask/osd_recovery: use rbd instead of metadata pool
Sage Weil [Fri, 25 Jul 2014 18:39:42 +0000 (11:39 -0700)]
task/osd_recovery: use rbd instead of metadata pool

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agotask/osd_backfill: use 'rbd' instead of 'data' pool
Sage Weil [Fri, 25 Jul 2014 18:33:14 +0000 (11:33 -0700)]
task/osd_backfill: use 'rbd' instead of 'data' pool

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agotask/workunit: general tidy 296/head
John Spray [Fri, 18 Jul 2014 16:15:20 +0000 (17:15 +0100)]
task/workunit: general tidy

* PEP8-ize whitespace
* specialize a catch-all except:
* don't alias 'misc' to 'teuthology'

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agotask/workunit: clean up dir deletion
John Spray [Fri, 18 Jul 2014 13:09:16 +0000 (14:09 +0100)]
task/workunit: clean up dir deletion

This was always trying to remove the mountpoint,
and then swallowing the exception and printing
it to the log.

Instead:
 * Ensure it's only trying to delete mnt if it created it
 * Don't swallow those exceptions: if deleting the dirs
   fails then something has gone wrong and it should bubble
   up.

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agotask/cephfs: generalise Filesystem for multi-MDS
John Spray [Thu, 17 Jul 2014 20:35:01 +0000 (21:35 +0100)]
task/cephfs: generalise Filesystem for multi-MDS

This enables tasks like mds_journal_migration to be
run in an environment with standby-replay MDSs present.

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agoRemove oddly-placed, broken import
Zack Cerza [Thu, 24 Jul 2014 16:03:38 +0000 (10:03 -0600)]
Remove oddly-placed, broken import

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRename CephState to DaemonGroup and move to orchestra
Zack Cerza [Thu, 24 Jul 2014 01:58:55 +0000 (19:58 -0600)]
Rename CephState to DaemonGroup and move to orchestra

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMove DaemonState to teuthology.orchestra
Zack Cerza [Thu, 24 Jul 2014 01:21:57 +0000 (19:21 -0600)]
Move DaemonState to teuthology.orchestra

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoFail sooner if an invalid config_yaml is passed
Zack Cerza [Tue, 22 Jul 2014 21:47:53 +0000 (15:47 -0600)]
Fail sooner if an invalid config_yaml is passed

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoRemove kcon_most
Zack Cerza [Tue, 22 Jul 2014 19:57:40 +0000 (13:57 -0600)]
Remove kcon_most

It was unused.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #293 from ceph/wip-ship-utilities
Zack Cerza [Tue, 22 Jul 2014 19:49:57 +0000 (13:49 -0600)]
Merge pull request #293 from ceph/wip-ship-utilities

move ship_utilities to install task (from ceph test)

11 years agoceph_deploy: use new ship_utilities location 293/head
Sage Weil [Tue, 22 Jul 2014 17:55:10 +0000 (10:55 -0700)]
ceph_deploy: use new ship_utilities location

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agotask/mds_journal_migration: use existing clients
John Spray [Thu, 17 Jul 2014 20:35:22 +0000 (21:35 +0100)]
task/mds_journal_migration: use existing clients

Since refactoring ceph_fuse and kclient tasks
to store Mount objects on ctx, the mds_journal_migration
task can use those instead of explicitly instantiating its own.

Signed-off-by: John Spray <john.spray@redhat.com>
11 years agomove ship_utilities to install task (from ceph test)
Sage Weil [Sat, 19 Jul 2014 16:22:27 +0000 (09:22 -0700)]
move ship_utilities to install task (from ceph test)

No need to install ceph just to get daemon-helper, adjust-ulimits, etc..
These utilities are used by lots of tasks, not just ceph.

Signed-off-by: Sage Weil <sage@redhat.com>
11 years agoFix get_hash() arg ordering
Zack Cerza [Wed, 16 Jul 2014 18:07:55 +0000 (12:07 -0600)]
Fix get_hash() arg ordering

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #287 from ceph/wip-mds-sessions
Zack Cerza [Tue, 15 Jul 2014 22:27:56 +0000 (16:27 -0600)]
Merge pull request #287 from ceph/wip-mds-sessions

Wip mds sessions

11 years agoMerge pull request #288 from ceph/wip-upgrade-fix
Zack Cerza [Tue, 15 Jul 2014 22:22:29 +0000 (16:22 -0600)]
Merge pull request #288 from ceph/wip-upgrade-fix

task/ceph: Make cephfs_setup cuttlefish-compatible

11 years agoMerge pull request #291 from ceph/wip-rgw-pools
Sage Weil [Tue, 15 Jul 2014 21:57:49 +0000 (14:57 -0700)]
Merge pull request #291 from ceph/wip-rgw-pools

rgw: set data extra pool correctly

Backport: next, firefly
Reviewed-by: Sage Weil <sage@redhat.com>
11 years agorgw: set data extra pool correctly 291/head
Yehuda Sadeh [Tue, 15 Jul 2014 19:43:15 +0000 (12:43 -0700)]
rgw: set data extra pool correctly

When configuring multiregion zone, set the data extra pool

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agoAdd and use new fetch() method
Zack Cerza [Tue, 15 Jul 2014 17:55:27 +0000 (11:55 -0600)]
Add and use new fetch() method

The old fetch_branch() wasn't behaving properly with the ceph.com git
mirror. This method works with github.com and ceph.com. Add a couple
unit tests, and leave the old fetch_branch() in place for now, even
though nothing uses it.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agoMerge pull request #290 from ceph/wip-deep-scrub
Sage Weil [Tue, 15 Jul 2014 17:31:46 +0000 (10:31 -0700)]
Merge pull request #290 from ceph/wip-deep-scrub

task/ceph.py: deep-scrub instead of scrub

11 years agoFix a bug where results_email was being ignored
Zack Cerza [Tue, 15 Jul 2014 17:28:07 +0000 (11:28 -0600)]
Fix a bug where results_email was being ignored

Referring to the setting in ~/.teuthology.yaml

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
11 years agotask/ceph.py: deep-scrub instead of scrub 290/head
Samuel Just [Tue, 15 Jul 2014 17:28:11 +0000 (10:28 -0700)]
task/ceph.py: deep-scrub instead of scrub

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoREADME: teuthology-suite
Sage Weil [Tue, 15 Jul 2014 17:08:09 +0000 (10:08 -0700)]
README: teuthology-suite

Signed-off-by: Sage Weil <sage@redhat.com>