]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
10 years agoorchestra: decode('utf-8') before logging 543/head
Loic Dachary [Mon, 29 Jun 2015 14:02:36 +0000 (16:02 +0200)]
orchestra: decode('utf-8') before logging

http://tracker.ceph.com/issues/8313 Fixes: #8313

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoBump ansible to 1.9.2
Zack Cerza [Thu, 25 Jun 2015 21:18:30 +0000 (15:18 -0600)]
Bump ansible to 1.9.2

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #536 from dachary/wip-lock-main
Zack Cerza [Thu, 25 Jun 2015 20:46:09 +0000 (14:46 -0600)]
Merge pull request #536 from dachary/wip-lock-main

lock.py: make main() argv as an argument

10 years agoMerge pull request #538 from ceph/wip-pyopenssl
Andrew Schoen [Mon, 22 Jun 2015 17:36:55 +0000 (12:36 -0500)]
Merge pull request #538 from ceph/wip-pyopenssl

Fix InsecurePlatformWarning from urllib3

10 years agoFix InsecurePlatformWarning from urllib3 538/head
Zack Cerza [Mon, 22 Jun 2015 16:25:16 +0000 (10:25 -0600)]
Fix InsecurePlatformWarning from urllib3

See
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #537 from ceph/wip-pause-queue
Andrew Schoen [Fri, 19 Jun 2015 16:54:39 +0000 (11:54 -0500)]
Merge pull request #537 from ceph/wip-pause-queue

teuthology-queue --pause

10 years agoteuthology-queue --pause 537/head
Zack Cerza [Fri, 19 Jun 2015 16:20:42 +0000 (10:20 -0600)]
teuthology-queue --pause

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agolock.py: make main() argv as an argument 536/head
Loic Dachary [Sat, 13 Jun 2015 21:49:01 +0000 (21:49 +0000)]
lock.py: make main() argv as an argument

Instead of using sys.argv implicitly, which is inconvenient for testing.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #529 from dmick/master
Zack Cerza [Thu, 18 Jun 2015 22:30:50 +0000 (16:30 -0600)]
Merge pull request #529 from dmick/master

suite.py: say *which* path is invalid in _build_matrix

10 years agosuite.py: say *which* path is invalid in _build_matrix 529/head
Dan Mick [Thu, 18 Jun 2015 22:06:24 +0000 (15:06 -0700)]
suite.py: say *which* path is invalid in _build_matrix

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #528 from ceph/wip-ansible-teardown
Zack Cerza [Thu, 18 Jun 2015 21:19:35 +0000 (15:19 -0600)]
Merge pull request #528 from ceph/wip-ansible-teardown

Enable the Ansible task to optionally cleanup after itself.

10 years agoEnable the Ansible task to optionally cleanup after itself. 528/head
Andrew Schoen [Thu, 18 Jun 2015 16:57:45 +0000 (11:57 -0500)]
Enable the Ansible task to optionally cleanup after itself.

If given the config value of ``cleanup`` the ansible task will rerun the
same playbook during the teardown stage with a ``teardown`` var added
with a value of True.  This will allow the playbook to cleanup after
itself during teardown, if the playbook supports this feature.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #526 from ceph/wip-unbreak-kernel-task-3
Zack Cerza [Wed, 17 Jun 2015 21:22:54 +0000 (15:22 -0600)]
Merge pull request #526 from ceph/wip-unbreak-kernel-task-3

suite: don't try to check ceph packages against kernel flavor

10 years agoMerge pull request #522 from dmick/master
Zack Cerza [Wed, 17 Jun 2015 20:32:18 +0000 (14:32 -0600)]
Merge pull request #522 from dmick/master

Silence urllib3 logging whether it's bundled in requests or not

10 years agoMerge pull request #523 from dmick/wip-11885
Andrew Schoen [Wed, 17 Jun 2015 20:00:40 +0000 (15:00 -0500)]
Merge pull request #523 from dmick/wip-11885

scripts/lock.py: fix help for --json-query

10 years agoMerge pull request #525 from ceph/wip-distro-kernel
Andrew Schoen [Wed, 17 Jun 2015 19:23:21 +0000 (14:23 -0500)]
Merge pull request #525 from ceph/wip-distro-kernel

get_latest_image_version_rpm(): ignore non-distro

10 years agoget_latest_image_version_rpm(): ignore non-distro 525/head
Zack Cerza [Wed, 17 Jun 2015 18:51:44 +0000 (12:51 -0600)]
get_latest_image_version_rpm(): ignore non-distro

This function is only used in distro kernel codepaths. Remove a similar
block of code from need_to_install_distro() and use this function.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agosuite: don't try to check ceph packages against kernel flavor 526/head
Ilya Dryomov [Wed, 17 Jun 2015 16:40:57 +0000 (19:40 +0300)]
suite: don't try to check ceph packages against kernel flavor

The whole kernel_flavor check in schedule_suite() is completely wrong.
ceph packages and kernel packages are built on different gitbuilders
and so a set of ceph flavors is distinct from a set a kernel flavors
(they happen to intersect because both have a 'basic' flavor but that's
it).  Querying ceph gitbuilders with kernel flavor (which is what it
currently does - has_packages_for_distro() talks to ceph gitbuilders)
is useless and only worked because the only kernel we currently care
about and use in qa is 'basic' kernel.  Remove the for i in set(...)
construct and only check install task (i.e. ceph) flavor.

Also, crucially, do not make an empty dict a kernel task config in
!kernel_hash (i.e. "do not install any kernel") case.  This makes
kernel task install a default version of the kernel (branch master) on
all remotes.

Both of the above are partial reverts of commit 9968c366b17f ("Also
check install task's flavor when scheduling").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agoMerge pull request #524 from ceph/wip-unbreak-kernel-task-2
Zack Cerza [Wed, 17 Jun 2015 15:33:25 +0000 (09:33 -0600)]
Merge pull request #524 from ceph/wip-unbreak-kernel-task-2

suite: append flavor key only if kernel version is specified

10 years agosuite: append flavor key only if kernel version is specified 524/head
Ilya Dryomov [Wed, 17 Jun 2015 11:29:40 +0000 (14:29 +0300)]
suite: append flavor key only if kernel version is specified

There are three cases: a) don't install a kernel, b) install a distro
kernel or c) install a specified version.  Appending 'flavor: basic' to
kernel task config in the former two cases is wrong.  In case a)
appending flavor is not only bogus but also leads to bug: a { 'kernel':
{ 'flavor': 'basic' } } config confuses kernel task and it installs
a default version of the kernel (branch master) on all remotes when the
user's intent was to not install any kernel.  As for case b), distro
kernels are built by distros and don't have flavors.

Fix this by appending 'flavor: basic' to kernel task config only in
case c).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agoscripts/lock.py: fix help for --json-query 523/head
Dan Mick [Wed, 17 Jun 2015 02:24:00 +0000 (19:24 -0700)]
scripts/lock.py: fix help for --json-query

Fixes: #11885
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoSilence urllib3 logging whether it's bundled in requests or not 522/head
Dan Mick [Fri, 12 Jun 2015 21:26:36 +0000 (14:26 -0700)]
Silence urllib3 logging whether it's bundled in requests or not

Also, do it only in teuthology/__init__.py

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #521 from ceph/wip-distro-kernel
Andrew Schoen [Tue, 16 Jun 2015 16:26:42 +0000 (11:26 -0500)]
Merge pull request #521 from ceph/wip-distro-kernel

More distro kernel fixes

10 years agoCall update_grub_rpm() with correct version 521/head
Zack Cerza [Tue, 16 Jun 2015 15:48:24 +0000 (09:48 -0600)]
Call update_grub_rpm() with correct version

It was being called with 'distro', which won't work

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd some more logging for debugging
Zack Cerza [Tue, 16 Jun 2015 15:29:44 +0000 (09:29 -0600)]
Add some more logging for debugging

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoneed_to_install_distro(): return newest version
Zack Cerza [Tue, 16 Jun 2015 15:25:26 +0000 (09:25 -0600)]
need_to_install_distro(): return newest version

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoDon't attempt to iterate over a bool
Zack Cerza [Mon, 15 Jun 2015 22:56:08 +0000 (16:56 -0600)]
Don't attempt to iterate over a bool

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #520 from ceph/wip-distro-kernel
Andrew Schoen [Mon, 15 Jun 2015 21:33:44 +0000 (16:33 -0500)]
Merge pull request #520 from ceph/wip-distro-kernel

Fix distro kernel installation on RPM systems

10 years agoMake install_kernel() take an optional version arg 520/head
Zack Cerza [Fri, 12 Jun 2015 20:28:10 +0000 (14:28 -0600)]
Make install_kernel() take an optional version arg

... and have install_and_reboot() use it for distro kernels

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoDon't falsely claim the newest kernel is running
Zack Cerza [Fri, 12 Jun 2015 20:04:53 +0000 (14:04 -0600)]
Don't falsely claim the newest kernel is running

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoBe more intelligent comparing kernel versions
Zack Cerza [Fri, 12 Jun 2015 19:49:37 +0000 (13:49 -0600)]
Be more intelligent comparing kernel versions

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #480 from ceph/wip-rhins
Zack Cerza [Fri, 12 Jun 2015 21:41:50 +0000 (15:41 -0600)]
Merge pull request #480 from ceph/wip-rhins

Changes for rh installer to work

10 years ago - RH install task and review fixes 480/head
Vasu Kulkarni [Tue, 9 Jun 2015 20:05:46 +0000 (16:05 -0400)]
 - RH install task and review fixes

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
10 years agoRemove old kernels before installing anything
Zack Cerza [Fri, 12 Jun 2015 19:24:12 +0000 (13:24 -0600)]
Remove old kernels before installing anything

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoneed_to_install_distro(): take a remote
Zack Cerza [Fri, 12 Jun 2015 19:09:36 +0000 (13:09 -0600)]
need_to_install_distro(): take a remote

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #509 from dachary/wip-11830-baseurl
Zack Cerza [Fri, 12 Jun 2015 14:35:05 +0000 (08:35 -0600)]
Merge pull request #509 from dachary/wip-11830-baseurl

expose the install._get_baseurl template in .teuthology.yaml

10 years agoMerge pull request #517 from dmick/wip-json-query-and
Zack Cerza [Fri, 12 Jun 2015 14:34:27 +0000 (08:34 -0600)]
Merge pull request #517 from dmick/wip-json-query-and

lock.py: json-query was matching any; make it match all

10 years agolock.py: json-query was matching any; make it match all 517/head
Dan Mick [Fri, 12 Jun 2015 05:43:00 +0000 (22:43 -0700)]
lock.py: json-query was matching any; make it match all

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #516 from ceph/wip-schedule-rate-limit
Dan Mick [Thu, 11 Jun 2015 20:00:18 +0000 (13:00 -0700)]
Merge pull request #516 from ceph/wip-schedule-rate-limit

Add github_branch_exists()

Reviewed-by: Dan Mick <dmick@redhat.com>
10 years agoAdd github_branch_exists() 516/head
Zack Cerza [Thu, 11 Jun 2015 18:39:54 +0000 (12:39 -0600)]
Add github_branch_exists()

Use it instead of get_branch_info() to avoid GitHub's API rate limiting.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #515 from ceph/wip-fix-bootstrap
Zack Cerza [Tue, 9 Jun 2015 20:48:15 +0000 (14:48 -0600)]
Merge pull request #515 from ceph/wip-fix-bootstrap

teuthology: stop pip and setuptools from fighting over deps that exis…

10 years agoMove python-rados out of install and into nuke
Zack Cerza [Tue, 9 Jun 2015 19:55:18 +0000 (13:55 -0600)]
Move python-rados out of install and into nuke

Not all ceph branches contain python-rados; the original motivation for
mentioning it in the install task's package list was so that nuke would
remove it. There is another way, though, that doesn't affect the install
task's behavior at all (this is the way).

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #514 from ceph/wip-nuke-stale
Andrew Schoen [Tue, 9 Jun 2015 15:37:14 +0000 (10:37 -0500)]
Merge pull request #514 from ceph/wip-nuke-stale

teuthology-nuke improvements

10 years agoteuthology: stop pip and setuptools from fighting over deps that exist in the system... 515/head
Gregory Meno [Mon, 8 Jun 2015 23:15:01 +0000 (23:15 +0000)]
teuthology: stop pip and setuptools from fighting over deps that exist in the system site packages

Signed-off-by: Gregory Meno <gmeno@redhat.com>
10 years agoIn _remove_deb(), check for .UR as well as .HR 514/head
Zack Cerza [Tue, 2 Jun 2015 22:19:53 +0000 (16:19 -0600)]
In _remove_deb(), check for .UR as well as .HR

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd python-rados to .deb package list
Zack Cerza [Tue, 2 Jun 2015 22:10:06 +0000 (16:10 -0600)]
Add python-rados to .deb package list

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agonuke_one(): remove confusing pluralization
Zack Cerza [Tue, 2 Jun 2015 21:48:33 +0000 (15:48 -0600)]
nuke_one(): remove confusing pluralization

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #511 from dmick/master
Zack Cerza [Tue, 2 Jun 2015 20:37:11 +0000 (14:37 -0600)]
Merge pull request #511 from dmick/master

lock.py: allow selection of machines to list by os-type/os-version

10 years agoMerge pull request #513 from ceph/wip-11808
Andrew Schoen [Tue, 2 Jun 2015 20:30:29 +0000 (15:30 -0500)]
Merge pull request #513 from ceph/wip-11808

Keep better count of locked nodes

10 years agoKeep better count of locked nodes 513/head
Zack Cerza [Thu, 28 May 2015 18:25:51 +0000 (12:25 -0600)]
Keep better count of locked nodes

http://tracker.ceph.com/issues/11808

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agolock.py: allow selection of machines to list by os-type/os-version 511/head
Dan Mick [Mon, 1 Jun 2015 23:02:20 +0000 (16:02 -0700)]
lock.py: allow selection of machines to list by os-type/os-version

Also, clean up the status selection a tiny bit with winnow()

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #510 from ceph/wip-ansible-vars
Andrew Schoen [Tue, 2 Jun 2015 16:23:35 +0000 (11:23 -0500)]
Merge pull request #510 from ceph/wip-ansible-vars

Add extra_vars support for Ansible

10 years agoAdd extra_vars support for Ansible 510/head
Zack Cerza [Tue, 26 May 2015 19:55:19 +0000 (13:55 -0600)]
Add extra_vars support for Ansible

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoexpose the install._get_baseurl template in .teuthology.yaml 509/head
Loic Dachary [Mon, 1 Jun 2015 17:04:36 +0000 (19:04 +0200)]
expose the install._get_baseurl template in .teuthology.yaml

Instead of hardcoding the template used by _get_baseurl to build the URL
of the repository where packages are to be found, make it a

   baseurl_template

configuration parameter in the teuthology.yaml file.

_update_rpm_package_list_and_install did not call _get_baseurl and hard
coded another template identical to the one used by _get_baseurl. The
only difference was {distro_release} instead of {dist} but they are
expected to be identical for rpm based distributions.

http://tracker.ceph.com/issues/11830 Fixes: #11830

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #503 from ceph/wip-nuke-stale
Andrew Schoen [Mon, 1 Jun 2015 18:51:32 +0000 (13:51 -0500)]
Merge pull request #503 from ceph/wip-nuke-stale

Add --dry-run to teuthology-nuke

10 years agoAdd --dry-run 503/head
Zack Cerza [Wed, 27 May 2015 15:46:50 +0000 (09:46 -0600)]
Add --dry-run

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #502 from ceph/wip-bump-versions
Andrew Schoen [Mon, 1 Jun 2015 16:33:18 +0000 (11:33 -0500)]
Merge pull request #502 from ceph/wip-bump-versions

Bump default OS versions

10 years agoMerge pull request #499 from ceph/wip-ansible-tweaks
Andrew Schoen [Mon, 1 Jun 2015 16:32:39 +0000 (11:32 -0500)]
Merge pull request #499 from ceph/wip-ansible-tweaks

Enablement for chef -> ansible transition

10 years agoCreate fake Remotes in a more standard way 499/head
Zack Cerza [Fri, 22 May 2015 21:38:35 +0000 (15:38 -0600)]
Create fake Remotes in a more standard way

This avoids them wanting to run 'hostname --fqdn' on remote nodes that
don't exist

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd ansible to pip requirements
Zack Cerza [Fri, 22 May 2015 02:03:35 +0000 (20:03 -0600)]
Add ansible to pip requirements

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoEnsure our virtualenv's bin/ is in our PATH
Zack Cerza [Fri, 22 May 2015 16:20:10 +0000 (10:20 -0600)]
Ensure our virtualenv's bin/ is in our PATH

So that we can run commands we install via pip from inside teuthology

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoExplicitly set ansible_ssh_user
Zack Cerza [Fri, 22 May 2015 16:38:27 +0000 (10:38 -0600)]
Explicitly set ansible_ssh_user

... to the same as the teuthology user

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoUse Remote.hostname
Zack Cerza [Fri, 22 May 2015 16:34:35 +0000 (10:34 -0600)]
Use Remote.hostname

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd CephLab subclass
Zack Cerza [Fri, 22 May 2015 00:25:12 +0000 (18:25 -0600)]
Add CephLab subclass

It simply defaults to pointing at our ceph-cm-ansible repo and our
cephlab.yml playbook

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #504 from ceph/wip-get-job
Andrew Schoen [Mon, 1 Jun 2015 15:33:03 +0000 (10:33 -0500)]
Merge pull request #504 from ceph/wip-get-job

ResultsReporter: add get_job()

10 years agoMerge pull request #505 from ceph/wip-11591
Andrew Schoen [Mon, 1 Jun 2015 15:32:30 +0000 (10:32 -0500)]
Merge pull request #505 from ceph/wip-11591

Use requests locally instead of wget remotely

10 years agoResultsReporter: Add job_id kwarg to get_jobs() 504/head
Zack Cerza [Tue, 26 May 2015 19:58:50 +0000 (13:58 -0600)]
ResultsReporter: Add job_id kwarg to get_jobs()

If one is passed, only fetch a single job's information

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #507 from ceph/wip-lock-usability
Alfredo Deza [Fri, 29 May 2015 17:04:41 +0000 (13:04 -0400)]
Merge pull request #507 from ceph/wip-lock-usability

teuthology-lock usability

10 years agoUse requests locally instead of wget remotely 505/head
Zack Cerza [Thu, 28 May 2015 16:13:57 +0000 (10:13 -0600)]
Use requests locally instead of wget remotely

... in _update_deb_package_list_and_install()

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoClarify error when --lock is used with no targets 507/head
Zack Cerza [Fri, 29 May 2015 16:37:10 +0000 (10:37 -0600)]
Clarify error when --lock is used with no targets

http://tracker.ceph.com/issues/11812

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoIn the case of invalid os_* args, give suggestions
Zack Cerza [Fri, 29 May 2015 15:57:24 +0000 (09:57 -0600)]
In the case of invalid os_* args, give suggestions

http://tracker.ceph.com/issues/11813

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #506 from ceph/wip-unbreak-kernel-task
Zack Cerza [Fri, 29 May 2015 00:34:06 +0000 (18:34 -0600)]
Merge pull request #506 from ceph/wip-unbreak-kernel-task

kernel: recognize flavor key

10 years agokernel: recognize flavor key 506/head
Ilya Dryomov [Thu, 28 May 2015 17:47:42 +0000 (20:47 +0300)]
kernel: recognize flavor key

Since commit 7da76fa78f63 ("Use kernel_flavor when polling
gitbuilders"), teuthology-suite appends 'flavor: basic' to kernel task
config.  This broke all scheduled kernel suites, because
normalize_config() treats unknown keys as role types and when it
doesn't find a valid one it bails and returns {}, which means "do
nothing".

Fix this temporarily by adding flavor to a list of recognized keys.
This is wrong a bunch of levels, but it fixes a regression while
sticking to the way normalize_config() currently works.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
10 years agoMerge pull request #501 from ceph/wip-11772
Sage Weil [Thu, 28 May 2015 22:48:28 +0000 (15:48 -0700)]
Merge pull request #501 from ceph/wip-11772

Use CentOS packages on RHEL

Tested-by: Sage Weil <sage@redhat.com>
10 years agoBump default OS versions 502/head
Zack Cerza [Tue, 26 May 2015 20:37:20 +0000 (14:37 -0600)]
Bump default OS versions

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoTreat RHEL as CentOS in task.install 501/head
Zack Cerza [Tue, 26 May 2015 20:11:06 +0000 (14:11 -0600)]
Treat RHEL as CentOS in task.install

http://tracker.ceph.com/issues/11772

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoTreat RHEL as CentOS when scheduling
Zack Cerza [Tue, 26 May 2015 20:09:06 +0000 (14:09 -0600)]
Treat RHEL as CentOS when scheduling

http://tracker.ceph.com/issues/11772

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoFix Ansible.fetch_repo() for git:// URLs
Zack Cerza [Thu, 21 May 2015 17:06:04 +0000 (11:06 -0600)]
Fix Ansible.fetch_repo() for git:// URLs

With unit test

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAlso look for playbook file in repo directory
Zack Cerza [Thu, 21 May 2015 16:42:10 +0000 (10:42 -0600)]
Also look for playbook file in repo directory

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #495 from ceph/wip-11645
Andrew Schoen [Thu, 21 May 2015 15:38:38 +0000 (10:38 -0500)]
Merge pull request #495 from ceph/wip-11645

Use kernel_flavor when polling gitbuilders

10 years agoAdd tests for get_install_task_flavor() 495/head
Zack Cerza [Wed, 20 May 2015 21:35:11 +0000 (15:35 -0600)]
Add tests for get_install_task_flavor()

Also a couple bonus linter fixes

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd tests for get_flavor()
Zack Cerza [Wed, 20 May 2015 21:11:14 +0000 (15:11 -0600)]
Add tests for get_flavor()

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoLog pulpito URL after scheduling
Zack Cerza [Wed, 20 May 2015 19:03:32 +0000 (13:03 -0600)]
Log pulpito URL after scheduling

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAdd missing default for results_ui_server
Zack Cerza [Wed, 20 May 2015 16:49:05 +0000 (10:49 -0600)]
Add missing default for results_ui_server

It's already documented in docs/siteconfig.rst

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoDon't blindly continue if passed an invalid distro
Zack Cerza [Wed, 20 May 2015 16:35:03 +0000 (10:35 -0600)]
Don't blindly continue if passed an invalid distro

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAlso check install task's flavor when scheduling
Zack Cerza [Tue, 19 May 2015 20:30:41 +0000 (14:30 -0600)]
Also check install task's flavor when scheduling

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoDon't assume 'basic' flavor in check_packages()
Zack Cerza [Tue, 19 May 2015 20:22:24 +0000 (14:22 -0600)]
Don't assume 'basic' flavor in check_packages()

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoAbstract flavor-finding logic into get_flavor()
Zack Cerza [Tue, 19 May 2015 20:20:18 +0000 (14:20 -0600)]
Abstract flavor-finding logic into get_flavor()

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #489 from dmick/master
Zack Cerza [Tue, 19 May 2015 19:41:35 +0000 (13:41 -0600)]
Merge pull request #489 from dmick/master

lock.py: remove dead code trying to deal with locks

10 years agoMerge pull request #472 from dmick/wip-json-query
Zack Cerza [Tue, 19 May 2015 19:40:58 +0000 (13:40 -0600)]
Merge pull request #472 from dmick/wip-json-query

lock.py: Add '--json-query' to allow complex search for --list/--brief

10 years agolock.py: Add '--json-query' to allow complex search for --list/--brief 472/head
Dan Mick [Tue, 21 Apr 2015 03:35:56 +0000 (20:35 -0700)]
lock.py: Add '--json-query' to allow complex search for --list/--brief

--json-query <file> or --json-query <string> allows filtering search
results conveniently; the JSON must be a dictionary that is a subset
of the lock record to be matched.  The reason this was invented:
Find all VPSes on a particular vmhost:

teuthology-lock --list --all --json-query \
'{"vm_host":{"name":"mira003.front.sepia.ceph.com"}}'

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #498 from ceph/wip-11684
Andrew Schoen [Tue, 19 May 2015 16:56:43 +0000 (11:56 -0500)]
Merge pull request #498 from ceph/wip-11684

Update kernel dependencies on Ubuntu

10 years agoUpdate kernel dependencies on Ubuntu 498/head
Zack Cerza [Tue, 19 May 2015 16:25:53 +0000 (10:25 -0600)]
Update kernel dependencies on Ubuntu

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoRemove another pointless stdout suppression
Zack Cerza [Tue, 19 May 2015 16:20:35 +0000 (10:20 -0600)]
Remove another pointless stdout suppression

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoUse kernel_flavor when polling gitbuilders
Zack Cerza [Fri, 15 May 2015 19:13:18 +0000 (13:13 -0600)]
Use kernel_flavor when polling gitbuilders

http://tracker.ceph.com/issues/11645

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #496 from dmick/wip-howmany
Zack Cerza [Fri, 15 May 2015 23:17:12 +0000 (17:17 -0600)]
Merge pull request #496 from dmick/wip-howmany

task/internal: account for locked machines acquired on previous loops

10 years agotask/internal: account for locked machines acquired on previous loops 496/head
Dan Mick [Fri, 15 May 2015 21:48:21 +0000 (14:48 -0700)]
task/internal: account for locked machines acquired on previous loops

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoMerge pull request #494 from athanatos/wip-subset-print
Zack Cerza [Fri, 15 May 2015 19:11:38 +0000 (13:11 -0600)]
Merge pull request #494 from athanatos/wip-subset-print

suite: print out subset chosen

10 years agosuite: print out subset chosen 494/head
Samuel Just [Fri, 15 May 2015 18:10:37 +0000 (11:10 -0700)]
suite: print out subset chosen

Signed-off-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #493 from ceph/wip-kernel-update
Andrew Schoen [Thu, 14 May 2015 20:38:05 +0000 (15:38 -0500)]
Merge pull request #493 from ceph/wip-kernel-update

Remove old kernels on RPM-based systems