]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
8 years agoMerge pull request #1060 from ceph/wip-use-sudo-health
Zack Cerza [Tue, 18 Apr 2017 15:46:35 +0000 (09:46 -0600)]
Merge pull request #1060 from ceph/wip-use-sudo-health

Add option to use sudo to check ceph health when required

8 years agoMerge pull request #1064 from ceph/wip-fix-pip
Dan Mick [Tue, 18 Apr 2017 00:25:36 +0000 (17:25 -0700)]
Merge pull request #1064 from ceph/wip-fix-pip

Fixes related to pip-tools

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoRun 'python setup.py develop' in bootstrap 1064/head
Zack Cerza [Tue, 18 Apr 2017 00:19:55 +0000 (18:19 -0600)]
Run 'python setup.py develop' in bootstrap

Our old wonky requirements.txt used to magically do this for us, but no
longer.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDon't use pip-sync
Zack Cerza [Tue, 18 Apr 2017 00:19:27 +0000 (18:19 -0600)]
Don't use pip-sync

It was removing pkg-resources, which breaks 'python setup.py develop'

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1063 from ceph/wip-pip-tools
Dan Mick [Mon, 17 Apr 2017 23:34:15 +0000 (16:34 -0700)]
Merge pull request #1063 from ceph/wip-pip-tools

Use pip-tools to manage dependencies

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoUse pip-tools to manage dependencies 1063/head
Zack Cerza [Mon, 17 Apr 2017 21:24:39 +0000 (15:24 -0600)]
Use pip-tools to manage dependencies

After yet another instance of pip failing to resolve dependencies, I
think it's time to pin everything. The pip-tools utilities provide a
simple way to pin libraries and update them when necessary.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1062 from tchaikov/wip-19631
Sage Weil [Mon, 17 Apr 2017 13:43:13 +0000 (08:43 -0500)]
Merge pull request #1062 from tchaikov/wip-19631

ceph.conf: adjust "mon reweight min *" for mgr also

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoceph.conf: adjust "mon reweight min *" for mgr also 1062/head
Kefu Chai [Mon, 17 Apr 2017 06:50:20 +0000 (14:50 +0800)]
ceph.conf: adjust "mon reweight min *" for mgr also

Fixes: http://tracker.ceph.com/issues/19631
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoAdd option to use sudo to check ceph health when required 1060/head
Vasu Kulkarni [Tue, 11 Apr 2017 20:34:13 +0000 (13:34 -0700)]
Add option to use sudo to check ceph health when required

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1061 from ceph/wip-fix-checkstatus
Dan Mick [Wed, 12 Apr 2017 17:06:39 +0000 (10:06 -0700)]
Merge pull request #1061 from ceph/wip-fix-checkstatus

check_status(): No-op if there's no proc object

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agocheck_status(): No-op if there's no proc object 1061/head
Zack Cerza [Wed, 12 Apr 2017 15:35:40 +0000 (09:35 -0600)]
check_status(): No-op if there's no proc object

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1049 from SUSE/misc-add-usecase
Zack Cerza [Tue, 11 Apr 2017 18:29:43 +0000 (12:29 -0600)]
Merge pull request #1049 from SUSE/misc-add-usecase

misc: add flexibility to delete_ and move_file

8 years agoMerge pull request #1059 from ceph/wip-daemon-failure
Dan Mick [Mon, 10 Apr 2017 17:55:32 +0000 (10:55 -0700)]
Merge pull request #1059 from ceph/wip-daemon-failure

If we're going to fail, fail sooner

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoparallel: Let exceptions interrupt other greenlets 1059/head
Zack Cerza [Fri, 31 Mar 2017 21:41:59 +0000 (15:41 -0600)]
parallel: Let exceptions interrupt other greenlets

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agomisc.wait_until_osds_up(): Check for daemon death
Zack Cerza [Fri, 31 Mar 2017 20:34:01 +0000 (14:34 -0600)]
misc.wait_until_osds_up(): Check for daemon death

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1057 from ceph/wip-exception-logging
Dan Mick [Thu, 30 Mar 2017 22:35:32 +0000 (15:35 -0700)]
Merge pull request #1057 from ceph/wip-exception-logging

Improve exception logging

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #1056 from ceph/wip-daemon-failure
Dan Mick [Thu, 30 Mar 2017 22:30:37 +0000 (15:30 -0700)]
Merge pull request #1056 from ceph/wip-daemon-failure

Provide a way for jobs to detect daemon failure

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #1054 from ceph/wip-19425-wusui
Zack Cerza [Thu, 30 Mar 2017 21:31:04 +0000 (15:31 -0600)]
Merge pull request #1054 from ceph/wip-19425-wusui

Add missing run.Raw() to ceph_ansible.py

8 years agoMerge pull request #1055 from tchaikov/wip-workunit-to-use-suite-branch
Zack Cerza [Thu, 30 Mar 2017 21:30:23 +0000 (15:30 -0600)]
Merge pull request #1055 from tchaikov/wip-workunit-to-use-suite-branch

suite: use "suite_branch" for workunit if avaiable

8 years agoPatch gevent.Hub.handle_error 1057/head
Zack Cerza [Fri, 24 Mar 2017 18:33:36 +0000 (12:33 -0600)]
Patch gevent.Hub.handle_error

So we don't miss out on any fun exceptions!

Lifted from:
https://github.com/ceph/calamari/commit/7edc4cfc7159175a552222700810dc943a0ca8ce

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoConsolidate sys.excepthook replacements
Zack Cerza [Fri, 24 Mar 2017 18:32:33 +0000 (12:32 -0600)]
Consolidate sys.excepthook replacements

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDaemonState: Catch CommandFailedError during stop 1056/head
Zack Cerza [Wed, 29 Mar 2017 19:38:37 +0000 (13:38 -0600)]
DaemonState: Catch CommandFailedError during stop

So that job teardown isn't hindered.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDaemonState: Add check_status()
Zack Cerza [Fri, 10 Mar 2017 23:32:00 +0000 (16:32 -0700)]
DaemonState: Add check_status()

So far, this just wraps self.proc.poll(). It's intended to provide a way
for tasks to know if their daemons are even running.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agosuite: use "suite_branch" for workunit if avaiable 1055/head
Kefu Chai [Thu, 30 Mar 2017 12:40:28 +0000 (20:40 +0800)]
suite: use "suite_branch" for workunit if avaiable

"git clone" allows us to clone a single branch, but not a sha1, so
prefer "branch" if it's available.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoAdd missing run.Raw() to ceph_ansible.py 1054/head
Warren Usui [Wed, 29 Mar 2017 23:32:34 +0000 (23:32 +0000)]
Add missing run.Raw() to ceph_ansible.py

Fixes issue: #19425

Signed-off-by: Warren Usui <wusui@redhat.com>
8 years agoMerge pull request #1053 from ceph/wip-ovh-destroy
Zack Cerza [Thu, 23 Mar 2017 18:14:17 +0000 (12:14 -0600)]
Merge pull request #1053 from ceph/wip-ovh-destroy

cloud.openstack: Destroy multiple nodes

8 years agocloud.openstack: Destroy multiple nodes 1053/head
Zack Cerza [Wed, 22 Mar 2017 16:33:33 +0000 (10:33 -0600)]
cloud.openstack: Destroy multiple nodes

In the very rare case where more than one node exists with the same name
(this can happen in case of an outage), destroy all nodes that match
instead of failing altogether.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agocloud.openstack: Split out node-finding
Zack Cerza [Wed, 22 Mar 2017 16:28:25 +0000 (10:28 -0600)]
cloud.openstack: Split out node-finding

... into its own method.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1052 from ceph/wip-mgr
Sage Weil [Tue, 21 Mar 2017 19:45:39 +0000 (14:45 -0500)]
Merge pull request #1052 from ceph/wip-mgr

ceph.conf: debug mgr by default

8 years agoceph.conf: debug mgr by default 1052/head
Sage Weil [Tue, 21 Mar 2017 19:44:27 +0000 (14:44 -0500)]
ceph.conf: debug mgr by default

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #1007 from ceph/wip-rh-internal-task
Zack Cerza [Tue, 21 Mar 2017 17:12:15 +0000 (11:12 -0600)]
Merge pull request #1007 from ceph/wip-rh-internal-task

Add redhat internal tasks that setup repo

8 years agomisc: add flexibility and move_file 1049/head
Jan Fajerski [Thu, 16 Mar 2017 13:21:31 +0000 (14:21 +0100)]
misc: add flexibility and move_file

Add preserve_perms argument to move_file to make the preservation of
permissions optional. This makes move_file usable if the target
file does not yet exist.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
8 years agorun redhat internal tasks based on config item 1007/head
Vasu Kulkarni [Mon, 20 Mar 2017 16:55:19 +0000 (09:55 -0700)]
run redhat internal tasks based on config item

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoAlways run tests with latest kernel on RHEL
Vasu Kulkarni [Mon, 20 Mar 2017 16:52:33 +0000 (09:52 -0700)]
Always run tests with latest kernel on RHEL

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoAdd redhat internal task to setup repos
Vasu Kulkarni [Mon, 20 Mar 2017 16:48:10 +0000 (09:48 -0700)]
Add redhat internal task to setup repos

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1047 from ceph/wip-daemon-register
Zack Cerza [Fri, 17 Mar 2017 20:00:48 +0000 (14:00 -0600)]
Merge pull request #1047 from ceph/wip-daemon-register

orchestra/daemon: separate register_daemon from add_daemon

8 years agoorchestra/daemon: separate register_daemon from add_daemon 1047/head
Sage Weil [Fri, 17 Mar 2017 19:46:22 +0000 (15:46 -0400)]
orchestra/daemon: separate register_daemon from add_daemon

The former registers without starting; the latter does both (as before).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #1050 from ceph/wip-pg-remap
Sage Weil [Fri, 17 Mar 2017 18:59:39 +0000 (13:59 -0500)]
Merge pull request #1050 from ceph/wip-pg-remap

ceph.conf: mon osd allow pg remap = true

8 years agoceph.conf: mon osd allow pg remap = true 1050/head
Sage Weil [Fri, 17 Mar 2017 18:58:50 +0000 (14:58 -0400)]
ceph.conf: mon osd allow pg remap = true

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #1045 from ceph/wip-daemon
Dan Mick [Thu, 16 Mar 2017 17:39:53 +0000 (10:39 -0700)]
Merge pull request #1045 from ceph/wip-daemon

Fix a couple bugs re: remote daemon execution

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #1048 from dmick/master
David Galloway [Thu, 16 Mar 2017 00:19:44 +0000 (20:19 -0400)]
Merge pull request #1048 from dmick/master

setup.py: disallow requests 2.13.0

8 years agosetup.py: disallow requests 2.13.0 1048/head
Dan Mick [Thu, 16 Mar 2017 00:01:03 +0000 (17:01 -0700)]
setup.py: disallow requests 2.13.0

python-cinderclient and/or keystoneauth1 apparently don't want
requests 2.13.0, so make it illegal for now

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoorchestra.run: More consistently notice failures 1045/head
Zack Cerza [Fri, 10 Mar 2017 23:14:30 +0000 (16:14 -0700)]
orchestra.run: More consistently notice failures

check_status=True in combination with wait=False resulted in
CommandFailedError never being raised if poll() was used instead of
wait(). Fix that.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoorchestra.run: Notice when short-lived procs exit
Zack Cerza [Fri, 10 Mar 2017 16:41:46 +0000 (09:41 -0700)]
orchestra.run: Notice when short-lived procs exit

If a command exits immediately, there is a race between greenlet
completion (which flushes the ChannelFile buffers) and the call to
exit_status_ready(). Waiting for 0.1s on the greenlets removes the race
condition.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoorchestra.run: Fix bug in RemoteProcess.finished
Zack Cerza [Thu, 9 Mar 2017 22:27:31 +0000 (15:27 -0700)]
orchestra.run: Fix bug in RemoteProcess.finished

Previously, if wait() had not been called, we didn't have the returncode
attribute set. Set it from within the finished property if it isn't
already.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1044 from ceph/wip-vps-docs
Dan Mick [Wed, 8 Mar 2017 23:02:59 +0000 (15:02 -0800)]
Merge pull request #1044 from ceph/wip-vps-docs

docs: Update libvirt conf to match current vps_hosts list

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agodocs: Update libvirt conf to match current vps_hosts list 1044/head
David Galloway [Wed, 8 Mar 2017 20:07:41 +0000 (15:07 -0500)]
docs: Update libvirt conf to match current vps_hosts list

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #1043 from ceph/wip-fix-1041
Zack Cerza [Tue, 7 Mar 2017 16:50:26 +0000 (09:50 -0700)]
Merge pull request #1043 from ceph/wip-fix-1041

provision.downburst: Fix a bug in PR #1041

8 years agoprovision.downburst: Fix a bug in PR #1041 1043/head
Zack Cerza [Tue, 7 Mar 2017 16:18:56 +0000 (09:18 -0700)]
provision.downburst: Fix a bug in PR #1041

Looks like an argument was dropped to a string format().

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1042 from dmick/wip-downburst-logging
Zack Cerza [Tue, 7 Mar 2017 00:57:30 +0000 (17:57 -0700)]
Merge pull request #1042 from dmick/wip-downburst-logging

provision: ctx does not always have 'config' attribute

8 years agoprovision: ctx does not always have 'config' attribute 1042/head
Dan Mick [Tue, 7 Mar 2017 00:14:30 +0000 (16:14 -0800)]
provision: ctx does not always have 'config' attribute

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoMerge pull request #1041 from dmick/wip-downburst-logging
Zack Cerza [Tue, 7 Mar 2017 00:05:22 +0000 (17:05 -0700)]
Merge pull request #1041 from dmick/wip-downburst-logging

Invoke downburst with logging

8 years agodownburst: always log output and error, check returncode for failure 1041/head
Dan Mick [Mon, 6 Mar 2017 23:41:36 +0000 (15:41 -0800)]
downburst: always log output and error, check returncode for failure

The more info the better; always log everything about the downburst
execution to the teuthology log.  Check for command failure by
checking for returncode != 0 rather than "presence of stderr", since
logging always happens to stderr.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoprovision: invoke downburst with -v and --logfile
Dan Mick [Mon, 6 Mar 2017 23:40:05 +0000 (15:40 -0800)]
provision: invoke downburst with -v and --logfile

Verbose output isn't verbose enough to matter, and can be helpful
tracking down weirdness.  Also, log to private file in case
downburst hangs mid-operation, to avoid having to do any
select() madness in teuthology.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoMerge pull request #1040 from ceph/wip-downburst-unlock
Dan Mick [Mon, 6 Mar 2017 21:43:12 +0000 (13:43 -0800)]
Merge pull request #1040 from ceph/wip-downburst-unlock

provision.downburst: Tweak destroy return code

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoprovision.downburst: Tweak destroy return code 1040/head
Zack Cerza [Mon, 6 Mar 2017 19:35:27 +0000 (19:35 +0000)]
provision.downburst: Tweak destroy return code

Specifically, if the instance doesn't even exist, consider the destroy
op to have succeeded.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1035 from ceph/wip-f25
Zack Cerza [Mon, 6 Mar 2017 16:19:28 +0000 (09:19 -0700)]
Merge pull request #1035 from ceph/wip-f25

bootstrap: Update required package names for Fedora 25

8 years agoMerge pull request #1039 from dmick/wip-clock
Zack Cerza [Fri, 3 Mar 2017 21:38:21 +0000 (14:38 -0700)]
Merge pull request #1039 from dmick/wip-clock

Include missing pieces from ntpd clock task change

8 years agontpdc is deprecated; use ntpq (in the ntp package everywhere) 1039/head
Dan Mick [Mon, 30 Jan 2017 21:25:57 +0000 (13:25 -0800)]
ntpdc is deprecated; use ntpq (in the ntp package everywhere)

See https://www.eecis.udel.edu/~mills/ntp/html/ntpdc.html

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoclock: handle different service names
Dan Mick [Fri, 13 Jan 2017 22:49:05 +0000 (14:49 -0800)]
clock: handle different service names

Restarting ntpd involves two different service names (thanks
again, distro maintainers, much appreciated)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoMerge pull request #1038 from tchaikov/wip-yaml-with-repo
Zack Cerza [Fri, 3 Mar 2017 18:10:46 +0000 (11:10 -0700)]
Merge pull request #1038 from tchaikov/wip-yaml-with-repo

docs/detailed_test_config.rst: fix the sample yaml

8 years agodocs/detailed_test_config.rst: fix the sample yaml 1038/head
Kefu Chai [Fri, 3 Mar 2017 10:54:22 +0000 (18:54 +0800)]
docs/detailed_test_config.rst: fix the sample yaml

so it is able to work with latest teuthology

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #1037 from ceph/wip-cloud-volume-retry
Dan Mick [Wed, 1 Mar 2017 23:43:57 +0000 (15:43 -0800)]
Merge pull request #1037 from ceph/wip-cloud-volume-retry

cloud.openstack: Also retry on BaseHTTPError

8 years agocloud.openstack: Also retry on BaseHTTPError 1037/head
Zack Cerza [Wed, 1 Mar 2017 23:20:35 +0000 (16:20 -0700)]
cloud.openstack: Also retry on BaseHTTPError

We attach volumes immediately after creating them; sometimes they are
still momentarily in the 'creating' state, causing the attach call to
throw a BaseHTTPError. When that happens, simply retry the request
instead of failing node creation, starting the entire cycle all over
again.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agobootstrap: Update required package names for Fedora 25 1035/head
David Galloway [Thu, 16 Feb 2017 22:04:26 +0000 (17:04 -0500)]
bootstrap: Update required package names for Fedora 25

Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #1012 from ceph/wip-libcloud
Dan Mick [Tue, 28 Feb 2017 20:55:54 +0000 (12:55 -0800)]
Merge pull request #1012 from ceph/wip-libcloud

libcloud provisioning backend with OpenStack support

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #1034 from ceph/wip-nuke-nfsganesha
Zack Cerza [Fri, 24 Feb 2017 20:56:46 +0000 (13:56 -0700)]
Merge pull request #1034 from ceph/wip-nuke-nfsganesha

nuke: Remove nfs-ganesha repos

8 years agonuke: Remove nfs-ganesha repos 1034/head
David Galloway [Fri, 24 Feb 2017 19:01:12 +0000 (14:01 -0500)]
nuke: Remove nfs-ganesha repos

Fixes: http://tracker.ceph.com/issues/18974
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agocloud.openstack: Exclude windows-specific sizes 1012/head
Zack Cerza [Tue, 21 Feb 2017 20:17:43 +0000 (13:17 -0700)]
cloud.openstack: Exclude windows-specific sizes

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agonuke: Do not log the namespace object
Zack Cerza [Fri, 10 Feb 2017 21:32:01 +0000 (14:32 -0700)]
nuke: Do not log the namespace object

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agocloud.openstack: Cache authentication tokens
Zack Cerza [Fri, 10 Feb 2017 17:25:53 +0000 (10:25 -0700)]
cloud.openstack: Cache authentication tokens

Constantly causing Keystone to regenerate auth tokens was the cause of
our hitting rate limits during testing. This will let us reuse auth
tokens - including across processes - to avoid hitting those limits.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoAdd cloud.util.AuthToken
Zack Cerza [Thu, 9 Feb 2017 20:50:20 +0000 (13:50 -0700)]
Add cloud.util.AuthToken

This provides a mechanism for caching OpenStack authentication tokens

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMove FileLock out of repo_utils
Zack Cerza [Thu, 9 Feb 2017 20:53:57 +0000 (13:53 -0700)]
Move FileLock out of repo_utils

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agocloud: Volume creation fails node creation
Zack Cerza [Thu, 9 Feb 2017 00:13:51 +0000 (17:13 -0700)]
cloud: Volume creation fails node creation

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agocloud: Retry failed requests in libcloud
Zack Cerza [Mon, 6 Feb 2017 21:16:13 +0000 (14:16 -0700)]
cloud: Retry failed requests in libcloud

It's common to see "429 Rate limit exceeded", at least with OVH. When we
encounter the exception associated with that exception, backoff and
retry for an interval before eventually giving up.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoupdatekeys: Fix argument parsing
Zack Cerza [Fri, 20 Jan 2017 20:00:38 +0000 (13:00 -0700)]
updatekeys: Fix argument parsing

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years ago.gitignore: .idea
Zack Cerza [Wed, 18 Jan 2017 21:03:03 +0000 (14:03 -0700)]
.gitignore: .idea

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoDon't unlock VMs when destroy fails
Zack Cerza [Tue, 10 Jan 2017 19:47:21 +0000 (12:47 -0700)]
Don't unlock VMs when destroy fails

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoUpdate SSH keys when creating VMs
Zack Cerza [Fri, 6 Jan 2017 20:47:59 +0000 (13:47 -0700)]
Update SSH keys when creating VMs

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoHandle VMs missing consoles safely
Zack Cerza [Fri, 6 Jan 2017 20:01:42 +0000 (13:01 -0700)]
Handle VMs missing consoles safely

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMake teuthology.lock a subpackage
Zack Cerza [Fri, 6 Jan 2017 00:04:11 +0000 (17:04 -0700)]
Make teuthology.lock a subpackage

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMore intelligently implement is_vm()
Zack Cerza [Thu, 5 Jan 2017 20:24:11 +0000 (13:24 -0700)]
More intelligently implement is_vm()

Move to using one decent implementation instead of multiple (some naive)
implementations

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoLocking changes needed for libcloud
Zack Cerza [Wed, 4 Jan 2017 17:22:44 +0000 (10:22 -0700)]
Locking changes needed for libcloud

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoAdd libcloud backend
Zack Cerza [Thu, 8 Dec 2016 03:30:57 +0000 (20:30 -0700)]
Add libcloud backend

Initially this supports OpenStack but will grow to support other methods
of cloud-like deployment. Some assuptions are made regarding supporting
infrastructure (FIXME document these)

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1033 from ceph/wip-wait-osd-timeout
Dan Mick [Fri, 24 Feb 2017 01:25:20 +0000 (17:25 -0800)]
Merge pull request #1033 from ceph/wip-wait-osd-timeout

misc.wait_until_osds_up(): timeout after 5min

8 years agomisc.wait_until_osds_up(): timeout after 5min 1033/head
Zack Cerza [Fri, 24 Feb 2017 00:36:05 +0000 (17:36 -0700)]
misc.wait_until_osds_up(): timeout after 5min

It doesn't make any sense to wait more than a few minutes for OSDs to
come up. If they take more than five minutes, fail the job.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #1030 from tchaikov/wip-suite-sha1-for-workunit
Zack Cerza [Thu, 23 Feb 2017 23:34:36 +0000 (16:34 -0700)]
Merge pull request #1030 from tchaikov/wip-suite-sha1-for-workunit

suite: use "suite_hash" as the default sha1 for workunit

8 years agoMerge pull request #1032 from ceph/wip-nuke-samba
Zack Cerza [Thu, 23 Feb 2017 17:17:35 +0000 (10:17 -0700)]
Merge pull request #1032 from ceph/wip-nuke-samba

nuke: Remove samba repos

8 years agonuke: Remove samba repos 1032/head
David Galloway [Thu, 23 Feb 2017 16:21:47 +0000 (11:21 -0500)]
nuke: Remove samba repos

Fixes: http://tracker.ceph.com/issues/19061
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agorun: allow using alternate suite repo 1030/head
Ilya Dryomov [Fri, 17 Feb 2017 11:56:20 +0000 (12:56 +0100)]
run: allow using alternate suite repo

Do the same thing we do for ceph repo to make ceph.git commit
1f82b9b9446d ("qa/tasks/workunit: use the suite repo for cloning
workunit") work for scheduled jobs.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agosuite: use "suite_hash" as the default sha1 for workunit
Kefu Chai [Thu, 16 Feb 2017 06:59:21 +0000 (14:59 +0800)]
suite: use "suite_hash" as the default sha1 for workunit

as "workunits" reside in ceph/qa/workunits, it's more intuitive to
respect suite-branch option when cloning workunits.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #1027 from ceph/wip-ceph-ansible-boot
Zack Cerza [Fri, 10 Feb 2017 20:43:36 +0000 (13:43 -0700)]
Merge pull request #1027 from ceph/wip-ceph-ansible-boot

ceph_ansible: update pip and ansible versions

8 years agoMerge pull request #1013 from ceph/wip-clock
Zack Cerza [Thu, 9 Feb 2017 23:08:21 +0000 (16:08 -0700)]
Merge pull request #1013 from ceph/wip-clock

Change to use task 'clock' instead of 'clock.check'

8 years agoupdate default ansible version to 2.2.1 1027/head
Vasu Kulkarni [Thu, 9 Feb 2017 00:16:55 +0000 (16:16 -0800)]
update default ansible version to 2.2.1

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoupgrade pip first before setuptools
Vasu Kulkarni [Thu, 9 Feb 2017 00:15:38 +0000 (16:15 -0800)]
upgrade pip first before setuptools

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #1018 from jan--f/wip-bootstrap-tumbleweed
Zack Cerza [Wed, 8 Feb 2017 22:11:04 +0000 (15:11 -0700)]
Merge pull request #1018 from jan--f/wip-bootstrap-tumbleweed

bootstrap: add support for opensuse tumbleweed.

8 years agoMerge pull request #1021 from ceph/wip-suite-default
Zack Cerza [Wed, 8 Feb 2017 22:10:22 +0000 (15:10 -0700)]
Merge pull request #1021 from ceph/wip-suite-default

teuthology-suite: Drop default for --ceph

8 years agoMerge pull request #1004 from SUSE/wip-17981
Zack Cerza [Wed, 8 Feb 2017 22:00:19 +0000 (15:00 -0700)]
Merge pull request #1004 from SUSE/wip-17981

nuke: Use pkill -KILL to unconditionally wipe out hadoop processes

8 years agoMerge pull request #1026 from dmick/master
Zack Cerza [Tue, 7 Feb 2017 20:22:40 +0000 (13:22 -0700)]
Merge pull request #1026 from dmick/master

prune: use the shortest time of -p or -r to decide on processing

8 years agoprune: use the shortest time of -p or -r to decide on processing 1026/head
Dan Mick [Tue, 7 Feb 2017 20:07:47 +0000 (12:07 -0800)]
prune: use the shortest time of -p or -r to decide on processing

invoking -p 7 -r 30 was only removing passed jobs 30 days or older.

Signed-off-by: Dan Mick <dan.mick@redhat.com>