]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
9 years agoBreak out of retry loop 662/head
Zack Cerza [Tue, 20 Oct 2015 15:45:44 +0000 (09:45 -0600)]
Break out of retry loop

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #660 from dachary/wip-openstack-ports
John Spray [Mon, 19 Oct 2015 22:34:15 +0000 (23:34 +0100)]
Merge pull request #660 from dachary/wip-openstack-ports

openstack: open ports 1:65356 for all targets

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoopenstack: open ports 1:65356 for all targets 660/head
Loic Dachary [Mon, 19 Oct 2015 21:56:37 +0000 (23:56 +0200)]
openstack: open ports 1:65356 for all targets

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #659 from ceph/wip-retry-unlock-one
Andrew Schoen [Mon, 19 Oct 2015 21:43:58 +0000 (16:43 -0500)]
Merge pull request #659 from ceph/wip-retry-unlock-one

Use safe_while to work around an OVH problem

9 years agoUse safe_while to work around an OVH problem 659/head
Zack Cerza [Mon, 19 Oct 2015 21:35:37 +0000 (15:35 -0600)]
Use safe_while to work around an OVH problem

We're seeing intermittent network failures when running inside OVH; they
present as:
https://github.com/kennethreitz/requests/issues/2364
This should help work around the issue.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #654 from dachary/wip-openstack-home
Zack Cerza [Fri, 9 Oct 2015 16:15:43 +0000 (10:15 -0600)]
Merge pull request #654 from dachary/wip-openstack-home

openstack: ensure HOME environment variable

10 years agoMerge pull request #653 from dachary/wip-openstack-buildpackages
Zack Cerza [Fri, 9 Oct 2015 16:15:15 +0000 (10:15 -0600)]
Merge pull request #653 from dachary/wip-openstack-buildpackages

openstack: clear the buildpackages directory on stop

10 years agoMerge pull request #640 from dachary/wip-13249-package-signatures
Zack Cerza [Fri, 9 Oct 2015 16:14:43 +0000 (10:14 -0600)]
Merge pull request #640 from dachary/wip-13249-package-signatures

config: ~/teuthology.yaml check_package_signatures hint

10 years agoMerge pull request #652 from dachary/wip-revert-buildpackages
Zack Cerza [Fri, 9 Oct 2015 16:14:00 +0000 (10:14 -0600)]
Merge pull request #652 from dachary/wip-revert-buildpackages

openstack: do not buildpackages by default

10 years agoMerge pull request #650 from dachary/wip-install-upgrade-logic
Zack Cerza [Fri, 9 Oct 2015 16:13:01 +0000 (10:13 -0600)]
Merge pull request #650 from dachary/wip-install-upgrade-logic

install: split the upgrade_common function

10 years agoMerge pull request #641 from dachary/wip-11883-git-url
Zack Cerza [Fri, 9 Oct 2015 16:10:36 +0000 (10:10 -0600)]
Merge pull request #641 from dachary/wip-11883-git-url

config: add ceph_git_url and ceph_qa_suite_git_url

10 years agoMerge pull request #651 from dmick/master
Zack Cerza [Fri, 9 Oct 2015 16:09:12 +0000 (10:09 -0600)]
Merge pull request #651 from dmick/master

run_tasks.py: fix Sentry URL

10 years agoopenstack: ensure HOME environment variable 654/head
Loic Dachary [Wed, 16 Sep 2015 19:14:37 +0000 (21:14 +0200)]
openstack: ensure HOME environment variable

Make it so even after a reboot and run from root, the HOME is set to the
user directory where the scripts are expected to be.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoopenstack: clear the buildpackages directory on stop 653/head
Loic Dachary [Wed, 23 Sep 2015 15:48:31 +0000 (17:48 +0200)]
openstack: clear the buildpackages directory on stop

When running /etc/init.d/teuthology stop, all OpenStack resources are
destroyed, including the instance hosting the repository where the
buildpackages task artefacts are archived. Remove /tmp/stampsdir so that
everything gets rebuilt.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoconfig: ~/teuthology.yaml check_package_signatures hint 640/head
Loic Dachary [Fri, 25 Sep 2015 17:54:18 +0000 (19:54 +0200)]
config: ~/teuthology.yaml check_package_signatures hint

If check_package_signatures is false, the tasks installing
packages (install, ceph-deploy, ...) are authorized to skip the package
signatures verifications.

Set this as the default for a cluster dynamically generated by the
OpenStack backend.

http://tracker.ceph.com/issues/13249 Refs: #13249

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoopenstack: do not buildpackages by default 652/head
Loic Dachary [Fri, 9 Oct 2015 10:28:16 +0000 (12:28 +0200)]
openstack: do not buildpackages by default

It depends on other commits that were not merged yet.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agorun_tasks.py: fix Sentry URL 651/head
Dan Mick [Fri, 9 Oct 2015 01:22:25 +0000 (18:22 -0700)]
run_tasks.py: fix Sentry URL

I don't know when or why it changed, but the existing URL format, which
uses '/search?q=<id>', fails; what works, by observing the web UI's URL
submission and by testing, is to omit the 'search' part of the path:
'/?q=<id>'

Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agoinstall: split the upgrade_common function 650/head
Loic Dachary [Thu, 8 Oct 2015 21:16:45 +0000 (23:16 +0200)]
install: split the upgrade_common function

The upgrade_common function implements a non trivial logic that defines
how overrides are applied to the install.upgrade task, as well as the
way upgrades are applied to the desired targets.

The function is split in two:

  upgrade_common which remains the entry point
  upgrade_remote_to_config which encapsulates the logic

This allows other parts of teuthology to obey the same logic by calling
the function instead of replicating it.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoconfig: add ceph_git_url and ceph_qa_suite_git_url 641/head
Loic Dachary [Fri, 25 Sep 2015 10:39:24 +0000 (12:39 +0200)]
config: add ceph_git_url and ceph_qa_suite_git_url

The ~/.teuthology.yaml ceph_git_base_url configuration does not allow to
modify the URL of the Ceph repository without also modifying the URL of
the teuthology repository. Although it is frequently needed to point to
an alternate ceph or ceph-qa-suite repository, it is rarely necessary to
point to an alternate teuthology repository.

This is not a blocker: it is enough to mirror the teuthology,
ceph-cm-ansible, ceph-deploy and maybe a few other repositories to
satisfy this requirement. This is however inconvenient because the
exact list of repositories that need to be mirrored is not easily
accessible. In addition, unless the user is careful about updating the
mirrors prior to running teuthology, there is a good chance that an
obsolete version of the repository will be used and this may lead to
problems difficult to diagnose.

The git_ceph_url and git_ceph_qa_suite_url configuration variables are
added to specify the URL of the ceph and ceph-qa-suite repositories
without modifying the git_ceph_base_url value so that all other
repositories retain their default location.

For easier consumption within teuthology and ceph-qa-suite, the
get_git_ceph_url() and get_git_ceph_qa_suite_url() accessors are added
to the config class. They use the user provided value, if available, and
otherwise fallback to constructing the URL with git_ceph_base_url which
is the legacy behavior.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #617 from dachary/wip-openstack-doc
Zack Cerza [Tue, 6 Oct 2015 21:49:23 +0000 (15:49 -0600)]
Merge pull request #617 from dachary/wip-openstack-doc

openstack: document common pitfalls and OpenStack tenant grants

10 years agoMerge pull request #638 from dachary/wip-default-buildpackages
Zack Cerza [Tue, 6 Oct 2015 21:47:50 +0000 (15:47 -0600)]
Merge pull request #638 from dachary/wip-default-buildpackages

openstack: do not rely on gitbuilder.ceph.com by default

10 years agoMerge pull request #647 from dachary/wip-13027-openstack-security-group-pr
Zack Cerza [Tue, 6 Oct 2015 21:44:57 +0000 (15:44 -0600)]
Merge pull request #647 from dachary/wip-13027-openstack-security-group-pr

openstack: rackspace does not support security groups

10 years agoMerge pull request #648 from dachary/wip-13363-wait-osd-up
Zack Cerza [Tue, 6 Oct 2015 16:27:43 +0000 (10:27 -0600)]
Merge pull request #648 from dachary/wip-13363-wait-osd-up

misc: wait_until_osds_up must verify 'up' in state

10 years agomisc: wait_until_osds_up must verify 'up' in state 648/head
Loic Dachary [Tue, 6 Oct 2015 16:18:44 +0000 (18:18 +0200)]
misc: wait_until_osds_up must verify 'up' in state

It is not enough to count the number of entries in the osds
array, wait_until_osds_up must count which one are actually up by
checking if the string "up" is in the "state" array.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoopenstack: rackspace does not support security groups 647/head
Loic Dachary [Sat, 3 Oct 2015 23:40:47 +0000 (01:40 +0200)]
openstack: rackspace does not support security groups

Skip security groups if running against RackSpace and document the
restriction.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #646 from ceph/wip-kernel-uri
Zack Cerza [Mon, 5 Oct 2015 15:43:01 +0000 (09:43 -0600)]
Merge pull request #646 from ceph/wip-kernel-uri

task/kernel: set the URI properly

10 years agotask/kernel: set the URI properly 646/head
John Spray [Mon, 5 Oct 2015 15:32:30 +0000 (16:32 +0100)]
task/kernel: set the URI properly

...instead of relying on already-created repos to have
the correct URI.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agovalgrind.supp: suppress ec factory leaks infernalis
Sage Weil [Thu, 1 Oct 2015 18:17:26 +0000 (14:17 -0400)]
valgrind.supp: suppress ec factory leaks

fixme someday

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #645 from ceph/wip-131version
Zack Cerza [Thu, 1 Oct 2015 17:04:29 +0000 (11:04 -0600)]
Merge pull request #645 from ceph/wip-131version

fix for version match, 1.3.1 now maps to 0.94.3

10 years agofix for version match, 1.3.1 now maps to 0.94.3 instead of the prevoius 0.94.2 645/head
Vasu Kulkarni [Thu, 1 Oct 2015 00:34:20 +0000 (20:34 -0400)]
fix for version match, 1.3.1 now maps to 0.94.3 instead of the prevoius 0.94.2

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
10 years agoMerge pull request #644 from ceph/wip-valgrind
Zack Cerza [Wed, 30 Sep 2015 23:23:33 +0000 (17:23 -0600)]
Merge pull request #644 from ceph/wip-valgrind

misc: do not trace children with valgrind

10 years agomisc: do not trace children with valgrind 644/head
Sage Weil [Wed, 30 Sep 2015 19:50:00 +0000 (15:50 -0400)]
misc: do not trace children with valgrind

Fixes: #13251
Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #639 from ceph/wip-prun
Andrew Schoen [Mon, 28 Sep 2015 20:17:16 +0000 (15:17 -0500)]
Merge pull request #639 from ceph/wip-prun

Add teuthology-prune-logs

10 years agoMerge pull request #642 from dachary/wip-openstack-throttle
Zack Cerza [Mon, 28 Sep 2015 17:27:08 +0000 (11:27 -0600)]
Merge pull request #642 from dachary/wip-openstack-throttle

openstack: throttling helps the instance running the cluster

10 years agoMerge pull request #643 from dachary/wip-openstack-centos-6
Zack Cerza [Mon, 28 Sep 2015 16:07:31 +0000 (10:07 -0600)]
Merge pull request #643 from dachary/wip-openstack-centos-6

openstack: update CentOS 6 cloud image

10 years agoopenstack: update CentOS 6 cloud image 643/head
Loic Dachary [Sat, 26 Sep 2015 17:09:27 +0000 (19:09 +0200)]
openstack: update CentOS 6 cloud image

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoopenstack: throttling helps the instance running the cluster 642/head
Loic Dachary [Mon, 14 Sep 2015 12:04:27 +0000 (14:04 +0200)]
openstack: throttling helps the instance running the cluster

The instance throttling (not launching more than X instances per minute)
helps the instance running the teuthology cluster when running multiple
workers. The workload does not spike when launching a suite and that
allows to run more workers on a machine with the same hardware configuration.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoAdd teuthology-prune-logs 639/head
Zack Cerza [Wed, 29 Jul 2015 15:40:54 +0000 (09:40 -0600)]
Add teuthology-prune-logs

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoopenstack: do not rely on gitbuilder.ceph.com by default 638/head
Loic Dachary [Wed, 23 Sep 2015 19:57:12 +0000 (21:57 +0200)]
openstack: do not rely on gitbuilder.ceph.com by default

Make it so the default when using the OpenStack backend is to build the
packages transparently using the OpenStack cluster instead of relying on
http://ceph.com/gitbuilder.cgi.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #623 from dachary/wip-13031-repositories
Zack Cerza [Wed, 23 Sep 2015 21:17:43 +0000 (15:17 -0600)]
Merge pull request #623 from dachary/wip-13031-repositories

internal: move buildpackages before install task

10 years agointernal: do not check packages if task buildpackages is found 623/head
Loic Dachary [Tue, 15 Sep 2015 13:45:57 +0000 (15:45 +0200)]
internal: do not check packages if task buildpackages is found

The buildpackages task is responsible for creating the packages, there
is no point in verifying they are already present.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agointernal: move buildpackages before install task
Loic Dachary [Mon, 14 Sep 2015 11:25:02 +0000 (13:25 +0200)]
internal: move buildpackages before install task

If a buildpackages task is found, ensure it is always before the install
task because it is intended to produce the packages that will be used by
the install task.

http://tracker.ceph.com/issues/13031 Refs: #13031

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #636 from ceph/wip-13116
Sage Weil [Tue, 22 Sep 2015 18:54:18 +0000 (14:54 -0400)]
Merge pull request #636 from ceph/wip-13116

ceph.conf: short cephfs data pool replay window

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoceph.conf: short cephfs data pool replay window 636/head
Sage Weil [Tue, 22 Sep 2015 18:01:40 +0000 (14:01 -0400)]
ceph.conf: short cephfs data pool replay window

This will make it more likely for us to hit #13116

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #635 from ceph/wip-readme-typo
Zack Cerza [Mon, 21 Sep 2015 20:10:30 +0000 (14:10 -0600)]
Merge pull request #635 from ceph/wip-readme-typo

README.rst: minor grammar/style fixes (first half)

10 years agoREADME.rst: minor grammar/style fixes (first half) 635/head
Nathan Cutler [Mon, 21 Sep 2015 20:00:01 +0000 (22:00 +0200)]
README.rst: minor grammar/style fixes (first half)

Signed-off-by: Nathan Cutler <ncutler@suse.com>
10 years agoMerge pull request #634 from ceph/wip-fix-email
Andrew Schoen [Mon, 21 Sep 2015 19:49:27 +0000 (14:49 -0500)]
Merge pull request #634 from ceph/wip-fix-email

Fix results-email-job scheduling

10 years agoFix email scheduling bug 634/head
Zack Cerza [Mon, 21 Sep 2015 19:41:23 +0000 (13:41 -0600)]
Fix email scheduling bug

The call to teuthology_schedule was buried inside an 'if dry_run:'
clause. That clause is unnecessary since teuthology_schedule handles
dry_run cases - we pass it the same value as an arg

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoRevert "suite: fixes a bug that causes the email results job to not be scheduled"
Zack Cerza [Mon, 21 Sep 2015 19:38:07 +0000 (13:38 -0600)]
Revert "suite: fixes a bug that causes the email results job to not be scheduled"

This reverts commit be5ce3662caeadd489ffada0cdda823da0fb4abd.

10 years agoMerge pull request #633 from dachary/wip-openstack-ephemeral
Zack Cerza [Mon, 21 Sep 2015 16:21:23 +0000 (10:21 -0600)]
Merge pull request #633 from dachary/wip-openstack-ephemeral

openstack: get rid of failed attempt to use ephemerals

10 years agoMerge pull request #632 from dachary/wip-os-client-config
Zack Cerza [Mon, 21 Sep 2015 16:19:35 +0000 (10:19 -0600)]
Merge pull request #632 from dachary/wip-os-client-config

os-client-config is fixed

10 years agoopenstack: get rid of failed attempt to use ephemerals 633/head
Loic Dachary [Mon, 7 Sep 2015 21:31:39 +0000 (23:31 +0200)]
openstack: get rid of failed attempt to use ephemerals

It's a hack at best.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoos-client-config is fixed 632/head
Loic Dachary [Sun, 20 Sep 2015 09:28:15 +0000 (11:28 +0200)]
os-client-config is fixed

No need to pin 1.6.3 since 1.7.3 has been released and fixes the
regression.

https://bugs.launchpad.net/python-openstackclient/+bug/1496689

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #630 from dachary/wip-os-client-config
Andrew Schoen [Fri, 18 Sep 2015 14:17:44 +0000 (09:17 -0500)]
Merge pull request #630 from dachary/wip-os-client-config

openstack: workaround os-client-config 1.7.0 regression

10 years agoMerge pull request #631 from ceph/wip-13125
vasukulkarni [Thu, 17 Sep 2015 17:34:14 +0000 (10:34 -0700)]
Merge pull request #631 from ceph/wip-13125

suite: fixes a bug that causes the email results job to not be scheduled

10 years agosuite: fixes a bug that causes the email results job to not be scheduled 631/head
Andrew Schoen [Thu, 17 Sep 2015 16:54:44 +0000 (11:54 -0500)]
suite: fixes a bug that causes the email results job to not be scheduled

See: http://tracker.ceph.com/issues/13125

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoopenstack: workaround os-client-config 1.7.0 regression 630/head
Loic Dachary [Wed, 16 Sep 2015 23:25:41 +0000 (01:25 +0200)]
openstack: workaround os-client-config 1.7.0 regression

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #629 from dachary/wip-openstack-centos
Zack Cerza [Wed, 16 Sep 2015 23:32:03 +0000 (17:32 -0600)]
Merge pull request #629 from dachary/wip-openstack-centos

openstack: update CentOS image

10 years agoopenstack: update CentOS image 629/head
Loic Dachary [Tue, 15 Sep 2015 21:17:25 +0000 (23:17 +0200)]
openstack: update CentOS image

Get the latest CentOS 7 cloud image.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #627 from dachary/wip-openstack-gitbuilder-host
Zack Cerza [Mon, 14 Sep 2015 23:39:11 +0000 (17:39 -0600)]
Merge pull request #627 from dachary/wip-openstack-gitbuilder-host

openstack: explicitly set gitbuilder_host default

10 years agoMerge pull request #628 from dachary/wip-openstack-cleanup
Zack Cerza [Mon, 14 Sep 2015 23:38:52 +0000 (17:38 -0600)]
Merge pull request #628 from dachary/wip-openstack-cleanup

openstack: cleanup the src directory when stopping the cluster

10 years agoopenstack: cleanup the src directory when stopping the cluster 628/head
Loic Dachary [Mon, 14 Sep 2015 21:40:55 +0000 (23:40 +0200)]
openstack: cleanup the src directory when stopping the cluster

So that there is no leftover from the ceph-qa-suite clones.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoopenstack: explicitly set gitbuilder_host default 627/head
Loic Dachary [Mon, 14 Sep 2015 21:31:39 +0000 (23:31 +0200)]
openstack: explicitly set gitbuilder_host default

So that it is easier to replace because there is no need to verify if
it's already present or not.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #626 from dachary/wip-openstack-debian
Zack Cerza [Mon, 14 Sep 2015 15:46:50 +0000 (09:46 -0600)]
Merge pull request #626 from dachary/wip-openstack-debian

openstack: upgrade to debian 8.2.0

10 years agoMerge pull request #625 from dachary/wip-clone-openstack
Zack Cerza [Mon, 14 Sep 2015 15:36:14 +0000 (09:36 -0600)]
Merge pull request #625 from dachary/wip-clone-openstack

openstack: clone from the teuthology master

10 years agoopenstack: upgrade to debian 8.2.0 626/head
Loic Dachary [Mon, 14 Sep 2015 15:23:29 +0000 (17:23 +0200)]
openstack: upgrade to debian 8.2.0

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoopenstack: clone from the teuthology master 625/head
Loic Dachary [Mon, 14 Sep 2015 12:20:57 +0000 (14:20 +0200)]
openstack: clone from the teuthology master

Do not clone from an obsolete development branch by default.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #621 from ceph/wip-13030
Zack Cerza [Thu, 10 Sep 2015 21:04:14 +0000 (15:04 -0600)]
Merge pull request #621 from ceph/wip-13030

packaging: correctly select flavor when initializing with a remote

10 years agopackaging: correctly select flavor when initializing with a remote 621/head
Andrew Schoen [Thu, 10 Sep 2015 20:39:48 +0000 (15:39 -0500)]
packaging: correctly select flavor when initializing with a remote

See: http://tracker.ceph.com/issues/13030

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoopenstack: document common pitfalls and OpenStack tenant grants 617/head
Loic Dachary [Tue, 25 Aug 2015 08:11:48 +0000 (10:11 +0200)]
openstack: document common pitfalls and OpenStack tenant grants

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #618 from dachary/wip-openstack-throttle
Zack Cerza [Tue, 8 Sep 2015 19:16:03 +0000 (13:16 -0600)]
Merge pull request #618 from dachary/wip-openstack-throttle

openstack: throttle job scheduling by default

10 years agoMerge pull request #619 from dachary/wip-openstack-jessie
Zack Cerza [Tue, 8 Sep 2015 19:14:55 +0000 (13:14 -0600)]
Merge pull request #619 from dachary/wip-openstack-jessie

openstack: add jessie / debian 8 support

10 years agoopenstack: add jessie / debian 8 support 619/head
Loic Dachary [Mon, 7 Sep 2015 21:32:56 +0000 (23:32 +0200)]
openstack: add jessie / debian 8 support

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

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoopenstack: throttle job scheduling by default 618/head
Loic Dachary [Mon, 7 Sep 2015 11:42:19 +0000 (13:42 +0200)]
openstack: throttle job scheduling by default

When running a suite with 50 jobs, it will schedule about 100 instance
creation within less than a minute. It is likely to exceed the API
quotas of the OpenStack provider (number of instance creation per
minute) and lead to instance creation failures.

Set the teuthology-suite to be called with --throttle 15 by default,
that is about 60 / 15 = 4 * 2 = ~8 server creation per minute.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agosuite: add --throttle to pause between jobs
Loic Dachary [Mon, 7 Sep 2015 11:40:47 +0000 (13:40 +0200)]
suite: add --throttle to pause between jobs

When scheduling, wait SLEEP seconds between jobs.  Useful to avoid
bursts that may be too hard on the underlying infrastructure or exceed
OpenStack API limits (server creation per minute for instance).

http://tracker.ceph.com/issues/12977 Refs: #12977

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #620 from ceph/wip-12995
vasukulkarni [Tue, 8 Sep 2015 17:40:11 +0000 (10:40 -0700)]
Merge pull request #620 from ceph/wip-12995

Fix bug in using priority 0

10 years agoFix bug in using priority 0 620/head
Zack Cerza [Tue, 8 Sep 2015 17:32:54 +0000 (11:32 -0600)]
Fix bug in using priority 0

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

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoopenstack: fix teuthology config test for clone
Loic Dachary [Mon, 7 Sep 2015 11:38:12 +0000 (13:38 +0200)]
openstack: fix teuthology config test for clone

The test failed because it looked for upload= instead of clone=

Signed-off-by: Loic Dachary <ldachary@dachary.org>
10 years agoRevert "use modern paramiko"
Sage Weil [Sun, 6 Sep 2015 12:33:41 +0000 (08:33 -0400)]
Revert "use modern paramiko"

This reverts commit 76e1b093354dd31d94dd56299d1a245ff82db72e.

I see lots of these failures:

2015-09-06T00:02:43.199 ERROR:paramiko.transport:SSHException: Key-exchange timed out waiting for key negotiation

10 years agoMerge pull request #610 from ceph/wip-rh131-cephlab
Dan Mick [Fri, 4 Sep 2015 23:03:07 +0000 (16:03 -0700)]
Merge pull request #610 from ceph/wip-rh131-cephlab

Add version check for 1.3.1, add ansible task

Reviewed-by: Dan Mick <dmick@redhat.com>
10 years agoAdd ansible task to install repo if config provides it 610/head
Vasu Kulkarni [Thu, 3 Sep 2015 16:23:50 +0000 (12:23 -0400)]
Add ansible task to install repo if config provides it

If playbook is specificed as shown in doc string usage, It will run ansible task and install
the repos so that rpm's can be installed from the provided repo

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
10 years agoDon't consume config['rhbuild'] until overrides are merged
Vasu Kulkarni [Thu, 3 Sep 2015 16:10:39 +0000 (12:10 -0400)]
Don't consume config['rhbuild'] until overrides are merged

rhbuild from config was read before overrides was merged

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
10 years agoMerge pull request #616 from ceph/wip-modern-paramiko
Zack Cerza [Fri, 4 Sep 2015 18:57:56 +0000 (12:57 -0600)]
Merge pull request #616 from ceph/wip-modern-paramiko

use modern paramiko

10 years agouse modern paramiko 616/head
Sage Weil [Fri, 4 Sep 2015 18:55:39 +0000 (14:55 -0400)]
use modern paramiko

We need >= 1.15 to connect to newer OpenSSH, such as the version used
by debian jessie.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoAdd support for rh version 1.3.1
Vasu Kulkarni [Thu, 3 Sep 2015 16:01:51 +0000 (12:01 -0400)]
Add support for rh version 1.3.1

This adds support for RH version 1.3.1, previously it will work
with only 1.3.0 downstream builds

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
10 years agoMerge pull request #615 from dachary/wip-openstack-doc
Zack Cerza [Thu, 3 Sep 2015 17:46:46 +0000 (11:46 -0600)]
Merge pull request #615 from dachary/wip-openstack-doc

openstack: update HOWTO

10 years agoopenstack: update HOWTO 615/head
Loic Dachary [Thu, 3 Sep 2015 16:54:18 +0000 (18:54 +0200)]
openstack: update HOWTO

Clone from master instead of a designated branch.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoRemove libpython-dev for now
Zack Cerza [Thu, 3 Sep 2015 16:25:07 +0000 (10:25 -0600)]
Remove libpython-dev for now

It's not available on precise and is breaking testing in the sepia lab

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoMerge pull request #613 from ceph/wip-12934
Zack Cerza [Thu, 3 Sep 2015 15:48:46 +0000 (09:48 -0600)]
Merge pull request #613 from ceph/wip-12934

GitbuilderProject: fetch sha1 from gitbuilder if not in the config

10 years agoGitbuilderProject: fetch sha1 from gitbuilder if not in the config 613/head
Andrew Schoen [Thu, 3 Sep 2015 15:12:12 +0000 (10:12 -0500)]
GitbuilderProject: fetch sha1 from gitbuilder if not in the config

If the sha1 is not provided in the job config, it needs to be fetched
from gitbuilder.

See: http://tracker.ceph.com/issues/12934

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
10 years agoMerge pull request #592 from dachary/wip-6502-openstack-v3
Zack Cerza [Wed, 2 Sep 2015 22:16:49 +0000 (16:16 -0600)]
Merge pull request #592 from dachary/wip-6502-openstack-v3

transparent OpenStack provisioning for teuthology-suite

10 years agoopenstack: explains args vs argv 592/head
Loic Dachary [Wed, 2 Sep 2015 22:05:35 +0000 (00:05 +0200)]
openstack: explains args vs argv

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoopenstack: --upload defaults to teuthology-logs.public.ceph.com
Loic Dachary [Mon, 31 Aug 2015 21:18:15 +0000 (23:18 +0200)]
openstack: --upload defaults to teuthology-logs.public.ceph.com

Instead of a non-ceph domain.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoAdd unit tests for OpenStack config defaults
Zack Cerza [Thu, 27 Aug 2015 22:03:35 +0000 (16:03 -0600)]
Add unit tests for OpenStack config defaults

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoopenstack: make git clone configurable
Loic Dachary [Fri, 28 Aug 2015 14:03:02 +0000 (16:03 +0200)]
openstack: make git clone configurable

When teuthology-openstack clone theuthology for the purpose of creating
the cluster, use the clone configuration value instead of a hardcoded value.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoopenstack: set config default and documentation
Loic Dachary [Fri, 28 Aug 2015 13:38:07 +0000 (15:38 +0200)]
openstack: set config default and documentation

Add documentation for the ~/.teuthology.yaml OpenStack configuration
values and set reasonable defaults.

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoopenstack: remove debug line that does not print
Loic Dachary [Tue, 25 Aug 2015 08:17:05 +0000 (10:17 +0200)]
openstack: remove debug line that does not print

It misses the IP that was set previous to 20bdef4b7892178d5e0fb8fa23beae52ba143eb2

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoOpenStack(): Don't connect via paramiko directly
Zack Cerza [Fri, 21 Aug 2015 16:20:25 +0000 (10:20 -0600)]
OpenStack(): Don't connect via paramiko directly

Instead, use teuthology.orchestra.connection.connect() - to take
advantage of its parsing of the ssh config. This way users won't run
into surprises when using OpenStack vs. other machine types.

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoconnect(): Optionally override key_filename
Zack Cerza [Fri, 21 Aug 2015 16:16:02 +0000 (10:16 -0600)]
connect(): Optionally override key_filename

Signed-off-by: Zack Cerza <zack@redhat.com>
10 years agoconnect(): Make retries optional
Zack Cerza [Fri, 21 Aug 2015 16:06:47 +0000 (10:06 -0600)]
connect(): Make retries optional

Signed-off-by: Zack Cerza <zack@redhat.com>