]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
9 years agoMerge pull request #826 from dachary/wip-15236-rekey
Zack Cerza [Mon, 11 Apr 2016 22:46:10 +0000 (16:46 -0600)]
Merge pull request #826 from dachary/wip-15236-rekey

orchestra: disable re-keying to fix Key-exchange timed out

9 years agoMerge pull request #835 from dachary/wip-lock-arch
Zack Cerza [Mon, 11 Apr 2016 22:42:17 +0000 (16:42 -0600)]
Merge pull request #835 from dachary/wip-lock-arch

lock: add the --arch option

9 years agoMerge pull request #839 from ErwanAliasr1/evelu-bootstrap
Zack Cerza [Mon, 11 Apr 2016 22:38:25 +0000 (16:38 -0600)]
Merge pull request #839 from ErwanAliasr1/evelu-bootstrap

Bootstrap

9 years agoMerge pull request #842 from dachary/wip-xenial
Loic Dachary [Fri, 8 Apr 2016 22:47:13 +0000 (00:47 +0200)]
Merge pull request #842 from dachary/wip-xenial

add ubuntu 16.04 xenial support

9 years agoadd ubuntu 16.04 xenial support 842/head
Loic Dachary [Fri, 8 Apr 2016 11:40:16 +0000 (13:40 +0200)]
add ubuntu 16.04 xenial support

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoceph.conf: mon warn on no sortbitwise = false
Sage Weil [Wed, 6 Apr 2016 21:00:04 +0000 (17:00 -0400)]
ceph.conf: mon warn on no sortbitwise = false

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #840 from ceph/wip-osd-25
Samuel Just [Wed, 6 Apr 2016 14:52:09 +0000 (07:52 -0700)]
Merge pull request #840 from ceph/wip-osd-25

set debug osd = 25

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agosuite: debug osd = 25 840/head
Sage Weil [Wed, 6 Apr 2016 14:48:56 +0000 (10:48 -0400)]
suite: debug osd = 25

This lets me see an important maybe_handle_cache_detail line.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agobootstrap: Enforce LC_ALL for the script 839/head
Erwan Velu [Tue, 5 Apr 2016 14:09:13 +0000 (16:09 +0200)]
bootstrap: Enforce LC_ALL for the script

This script is expecting rpm to report with english sentences.
To avoid any issues with other locales, let's enforce the LC_ALL to C.

Signed-off-by: Erwan Velu <erwan@redhat.com>
9 years agobootstrap: DNF is the default package manager on Fedora > 22
Erwan Velu [Tue, 5 Apr 2016 13:43:35 +0000 (15:43 +0200)]
bootstrap: DNF is the default package manager on Fedora > 22

Let's use dnf if the fedora release is 23 or greater unless let's fall
back to yum

Signed-off-by: Erwan Velu <erwan@redhat.com>
9 years agoMerge pull request #837 from ceph/wip-rebase
Dan Mick [Tue, 5 Apr 2016 18:02:58 +0000 (11:02 -0700)]
Merge pull request #837 from ceph/wip-rebase

Rebase 2.0 to 10.1.0

Reviewed-by: Dan Mick <dmik@redhat.com>
9 years agoRebase 2.0 to 10.1.0 837/head
Vasu Kulkarni [Mon, 4 Apr 2016 18:19:49 +0000 (11:19 -0700)]
Rebase 2.0 to 10.1.0

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agolock: add the --arch option 835/head
Loic Dachary [Sat, 26 Mar 2016 18:41:59 +0000 (19:41 +0100)]
lock: add the --arch option

So that it is possible to lock a target of a given arch. The lock_many
function already has the argument, it only needs to be added to the list
of available options.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #834 from dachary/wip-13980-openstack-nfs
Zack Cerza [Thu, 31 Mar 2016 22:19:07 +0000 (16:19 -0600)]
Merge pull request #834 from dachary/wip-13980-openstack-nfs

openstack: open UDP ports required by NFS

9 years agoopenstack: open UDP ports required by NFS 834/head
Loic Dachary [Thu, 31 Mar 2016 14:12:42 +0000 (16:12 +0200)]
openstack: open UDP ports required by NFS

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #833 from ceph/wip-parallel
Zack Cerza [Wed, 30 Mar 2016 23:14:25 +0000 (17:14 -0600)]
Merge pull request #833 from ceph/wip-parallel

parallel: parallel.__exit__ should always wait for greenlets to finish

9 years agoMerge pull request #831 from ceph/wip-parallel-config
Zack Cerza [Wed, 30 Mar 2016 20:06:01 +0000 (14:06 -0600)]
Merge pull request #831 from ceph/wip-parallel-config

task/parallel: accept lists of tasks in referenced sections

9 years agotask/parallel: accept lists of tasks in referenced sections 831/head
Josh Durgin [Tue, 29 Mar 2016 22:19:38 +0000 (15:19 -0700)]
task/parallel: accept lists of tasks in referenced sections

This syntax is consistent with task configuration everywhere else.

The subtley of different syntax for this task made modifying suites
error-prone. Keep the existing syntax so we don't have to change all
the upgrade suites in each ceph-qa-suite branch.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoparallel: parallel.__exit__ should always wait for greenlets to finish 833/head
Samuel Just [Mon, 28 Mar 2016 21:02:05 +0000 (14:02 -0700)]
parallel: parallel.__exit__ should always wait for greenlets to finish

Per the class docstring, one gevent (or the with body) throwing an
exception should not stop the other events.  Instead, wait for them to
finish and then reraise the first exception we find.

A concrete problem caused by this is that with multiple parallel
installs, one failure can cause packaging operations on the other nodes
to be unceremoniously killed and left in an inconsistent state.

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #830 from ceph/wip-apt-clean
Zack Cerza [Tue, 29 Mar 2016 18:09:54 +0000 (12:09 -0600)]
Merge pull request #830 from ceph/wip-apt-clean

task/kernel: run apt-get clean before updating to avoid 15090

9 years agotask/kernel: run apt-get clean before updating to avoid 15090 830/head
Samuel Just [Fri, 25 Mar 2016 01:26:47 +0000 (18:26 -0700)]
task/kernel: run apt-get clean before updating to avoid 15090

Fixes: http://tracker.ceph.com/issues/15090
Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #828 from smithfarm/wip-debian-symlink-fix
Loic Dachary [Fri, 25 Mar 2016 17:35:05 +0000 (18:35 +0100)]
Merge pull request #828 from smithfarm/wip-debian-symlink-fix

openstack-debian-7.0-user-data.txt: fix symlink

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoopenstack-debian-7.0-user-data.txt: fix symlink 828/head
Nathan Cutler [Fri, 25 Mar 2016 16:07:00 +0000 (17:07 +0100)]
openstack-debian-7.0-user-data.txt: fix symlink

The file this symlink was pointing to no longer exists.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #827 from smithfarm/wip-opensuse-image
Loic Dachary [Fri, 25 Mar 2016 08:21:15 +0000 (09:21 +0100)]
Merge pull request #827 from smithfarm/wip-opensuse-image

openstack: add wget command for openSUSE Leap 42.1 VM image

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoopenstack: add wget command for openSUSE Leap 42.1 VM image 827/head
Nathan Cutler [Fri, 25 Mar 2016 08:05:56 +0000 (09:05 +0100)]
openstack: add wget command for openSUSE Leap 42.1 VM image

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoorchestra: disable re-keying to fix Key-exchange timed out 826/head
Loic Dachary [Thu, 17 Mar 2016 13:56:24 +0000 (14:56 +0100)]
orchestra: disable re-keying to fix Key-exchange timed out

Disable re-keying entirely: it does not work at all and alway times
out. Here is the reproducer:

ceph-workbench ceph-qa-suite --verbose --suite upgrade/infernalis-x --suite-branch jewel --ceph jewel --ceph-git-url https://github.com/ceph/ceph --filter 'upgrade:infernalis-x/stress-split/{0-cluster/start.yaml 1-infernalis-install/infernalis.yaml 2-partial-upgrade/firsthalf.yaml 3-thrash/default.yaml 4-mon/mona.yaml 5-workload/{rbd-cls.yaml rbd-import-export.yaml readwrite.yaml snaps-few-objects.yaml} 6-next-mon/monb.yaml 7-workload/{radosbench.yaml rbd_api.yaml} 8-next-mon/monc.yaml 9-workload/{rbd-python.yaml rgw-swift.yaml snaps-many-objects.yaml} distros/centos_7.2.yaml}'

Which always fails after ~4h with the following:

2016-03-17T23:44:32.607 INFO:tasks.thrashosds.thrasher:Traceback (most recent call last):
  File "/home/ubuntu/src/ceph-qa-suite_master/tasks/ceph_manager.py", line 639, in wrapper
    return func(self)
  File "/home/ubuntu/src/ceph-qa-suite_master/tasks/ceph_manager.py", line 693, in do_thrash
    self.choose_action()()
  File "/home/ubuntu/src/ceph-qa-suite_master/tasks/ceph_manager.py", line 445, in fix_pgp_num
    self.ceph_manager.set_pool_pgpnum(pool)
  File "/home/ubuntu/src/ceph-qa-suite_master/tasks/ceph_manager.py", line 1294, in set_pool_pgpnum
    if self.get_num_creating() > 0:
  File "/home/ubuntu/src/ceph-qa-suite_master/tasks/ceph_manager.py", line 1456, in get_num_creating
    pgs = self.get_pg_stats()
  File "/home/ubuntu/src/ceph-qa-suite_master/tasks/ceph_manager.py", line 1325, in get_pg_stats
    out = self.raw_cluster_cmd('pg', 'dump', '--format=json')
  File "/home/ubuntu/src/ceph-qa-suite_master/tasks/ceph_manager.py", line 810, in raw_cluster_cmd
    stdout=StringIO(),
  File "/home/ubuntu/teuthology/teuthology/orchestra/remote.py", line 196, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/ubuntu/teuthology/teuthology/orchestra/run.py", line 378, in run
    r.wait()
  File "/home/ubuntu/teuthology/teuthology/orchestra/run.py", line 94, in wait
    greenlet.get()
  File "/home/ubuntu/teuthology/virtualenv/local/lib/python2.7/site-packages/gevent/greenlet.py", line 274, in get
    raise self._exception
SSHException: Key-exchange timed out waiting for key negotiation

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #825 from ceph/wip-kill-doc
Dan Mick [Tue, 22 Mar 2016 17:53:12 +0000 (10:53 -0700)]
Merge pull request #825 from ceph/wip-kill-doc

Mention that -kill must be run on the master node

9 years agoMention that -kill must be run on the master node 825/head
Zack Cerza [Tue, 22 Mar 2016 16:49:40 +0000 (10:49 -0600)]
Mention that -kill must be run on the master node

There isn't currently a remote kill-a-process feature.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #824 from ceph/wip-ver-update
Zack Cerza [Fri, 18 Mar 2016 21:06:31 +0000 (15:06 -0600)]
Merge pull request #824 from ceph/wip-ver-update

rh version update

9 years agoInstall ceph-fuse for 2.0 by default for tests to work 824/head
Vasu Kulkarni [Thu, 17 Mar 2016 23:56:42 +0000 (19:56 -0400)]
Install ceph-fuse for 2.0 by default for tests to work

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoPackage name split, ceph is now ceph-mon, ceph-osd
Vasu Kulkarni [Thu, 17 Mar 2016 23:28:14 +0000 (19:28 -0400)]
Package name split, ceph is now ceph-mon, ceph-osd

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoAdd ceph-selinux to pkg list for 1.3.2 builds
Vasu Kulkarni [Thu, 17 Mar 2016 21:33:08 +0000 (17:33 -0400)]
Add ceph-selinux to pkg list for 1.3.2 builds

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #797 from dachary/wip-openstack-override-clone
Zack Cerza [Thu, 17 Mar 2016 15:46:06 +0000 (09:46 -0600)]
Merge pull request #797 from dachary/wip-openstack-override-clone

openstack: allow override of openstack:clone:

9 years agoMerge pull request #822 from dachary/wip-14997-openstack-stale-keypairs
Zack Cerza [Thu, 17 Mar 2016 15:40:38 +0000 (09:40 -0600)]
Merge pull request #822 from dachary/wip-14997-openstack-stale-keypairs

openstack: protect against stale keypairs

9 years agoopenstack: protect against stale keypairs 822/head
Loic Dachary [Tue, 8 Mar 2016 07:56:20 +0000 (14:56 +0700)]
openstack: protect against stale keypairs

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoUpdate rh_version supported in downstream
Vasu Kulkarni [Thu, 17 Mar 2016 02:53:53 +0000 (22:53 -0400)]
Update rh_version supported in downstream

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #821 from ceph/wip-yum-priorities
Dan Mick [Thu, 17 Mar 2016 01:30:38 +0000 (18:30 -0700)]
Merge pull request #821 from ceph/wip-yum-priorities

install: Fix non-idempotent check_obsoletes tweak

Reviewed-by: Dan Mick<dmick@redhat.com>
9 years agoMerge pull request #813 from smithfarm/wip-fix-siteconfig
Zack Cerza [Wed, 16 Mar 2016 23:15:48 +0000 (17:15 -0600)]
Merge pull request #813 from smithfarm/wip-fix-siteconfig

docs/siteconfig.rst: adapt comments to reality

9 years agodocs/siteconfig.rst: consistency 813/head
Nathan Cutler [Tue, 8 Mar 2016 08:18:40 +0000 (09:18 +0100)]
docs/siteconfig.rst: consistency

Change "count: 0" to "count: 3" for consistency with the comment.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoinstall: Fix non-idempotent check_obsoletes tweak 821/head
Zack Cerza [Wed, 16 Mar 2016 18:13:25 +0000 (12:13 -0600)]
install: Fix non-idempotent check_obsoletes tweak

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #820 from ceph/wip-nrpe
vasukulkarni [Wed, 16 Mar 2016 17:37:19 +0000 (10:37 -0700)]
Merge pull request #820 from ceph/wip-nrpe

selinux: Whitelist nrpe

9 years agoselinux: Whitelist nagios' nrpe 820/head
Zack Cerza [Wed, 16 Mar 2016 17:24:38 +0000 (11:24 -0600)]
selinux: Whitelist nagios' nrpe

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoselinux: Fix linter complaints
Zack Cerza [Wed, 16 Mar 2016 17:23:23 +0000 (11:23 -0600)]
selinux: Fix linter complaints

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoceph.conf: do not warn on straw calc version = 0
Sage Weil [Mon, 14 Mar 2016 21:33:31 +0000 (17:33 -0400)]
ceph.conf: do not warn on straw calc version = 0

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #818 from dachary/wip-14799-valgrind
Sage Weil [Fri, 11 Mar 2016 17:37:02 +0000 (12:37 -0500)]
Merge pull request #818 from dachary/wip-14799-valgrind

valgrind: add suppression for tcmalloc in libboost_thread-mt.so.1.53.0

9 years agovalgrind: add suppression for tcmalloc in libboost_thread-mt.so.1.53.0 818/head
Loic Dachary [Fri, 11 Mar 2016 03:49:51 +0000 (10:49 +0700)]
valgrind: add suppression for tcmalloc in libboost_thread-mt.so.1.53.0

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #817 from ceph/wip-valgrind-supp
Dan Mick [Fri, 11 Mar 2016 02:53:01 +0000 (18:53 -0800)]
Merge pull request #817 from ceph/wip-valgrind-supp

valgrind: ignore boost thread-local warning

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agovalgrind: ignore boost thread-local warning 817/head
Greg Farnum [Thu, 10 Mar 2016 22:56:34 +0000 (14:56 -0800)]
valgrind: ignore boost thread-local warning

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #814 from ceph/wip-15014
Dan Mick [Thu, 10 Mar 2016 22:03:26 +0000 (14:03 -0800)]
Merge pull request #814 from ceph/wip-15014

install task: Make package lists configurable

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #816 from ceph/wip-big-vps
Dan Mick [Thu, 10 Mar 2016 18:02:52 +0000 (10:02 -0800)]
Merge pull request #816 from ceph/wip-big-vps

lock: Pass canonicalized hostname to create_if_vm

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agolock: Pass canonicalized hostname to create_if_vm 816/head
Zack Cerza [Thu, 10 Mar 2016 17:17:10 +0000 (10:17 -0700)]
lock: Pass canonicalized hostname to create_if_vm

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoinstall: Remove old "lib deps" cruft 814/head
Zack Cerza [Tue, 8 Mar 2016 22:55:28 +0000 (15:55 -0700)]
install: Remove old "lib deps" cruft

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agonuke: Use install_task.get_package_list()
Zack Cerza [Tue, 8 Mar 2016 22:29:00 +0000 (15:29 -0700)]
nuke: Use install_task.get_package_list()

(Properly named task.install.get_package_list())

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoinstall: Add get_package_list()
Zack Cerza [Tue, 8 Mar 2016 21:38:31 +0000 (14:38 -0700)]
install: Add get_package_list()

Move package lists out of the module and into packages.yaml. Enable
overriding package lists via the job config.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #815 from ceph/wip-14855
Zack Cerza [Wed, 9 Mar 2016 20:19:48 +0000 (13:19 -0700)]
Merge pull request #815 from ceph/wip-14855

misc.get_wwn_id_map: not finding wwns is not an error

9 years agomisc.get_wwn_id_map: not finding wwns is not an error 815/head
Dan Mick [Wed, 9 Mar 2016 19:27:34 +0000 (11:27 -0800)]
misc.get_wwn_id_map: not finding wwns is not an error

Fixes: #14855
Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #790 from ceph/wip-fixdenials
Zack Cerza [Tue, 8 Mar 2016 23:08:46 +0000 (16:08 -0700)]
Merge pull request #790 from ceph/wip-fixdenials

Add whitelist option and fix for cephtest denials

9 years agoAdd whitelist option and fix for cephtest denials 790/head
Vasu Kulkarni [Sat, 20 Feb 2016 17:52:46 +0000 (12:52 -0500)]
Add whitelist option and fix for cephtest denials

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #812 from ceph/wip-gevent
Dan Mick [Tue, 8 Mar 2016 00:24:16 +0000 (16:24 -0800)]
Merge pull request #812 from ceph/wip-gevent

Unpin gevent and avoid patching subprocess

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoUnpin gevent and avoid patching subprocess 812/head
Zack Cerza [Mon, 7 Mar 2016 23:47:50 +0000 (16:47 -0700)]
Unpin gevent and avoid patching subprocess

Recently, gevent updated to 1.1.0, breaking a few things like misc.sh().
PR #810 pinned gevent to 1.0.2, but I wanted to properly investigate the
issue to not be stuck on an old version. Some git bisects later, I
discovered that gevent began patching the subprocess module by default
in:

https://github.com/gevent/gevent/commit/fc73e9afa34d811ede5d62531025d2e3876b8c01

Unpinning gevent and also telling it not to patch subprocess fixes the
issue.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #811 from ceph/wip-prime
Samuel Just [Mon, 7 Mar 2016 22:08:06 +0000 (14:08 -0800)]
Merge pull request #811 from ceph/wip-prime

mon osd prime pg temp = true

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoceph.conf: mon osd prime pg temp = true 811/head
Sage Weil [Mon, 7 Mar 2016 21:56:59 +0000 (16:56 -0500)]
ceph.conf: mon osd prime pg temp = true

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #809 from smithfarm/wip_doc_fake_fs
Zack Cerza [Mon, 7 Mar 2016 17:37:35 +0000 (10:37 -0700)]
Merge pull request #809 from smithfarm/wip_doc_fake_fs

doc: update documentation of make_fake_fstools()

9 years agoMerge pull request #808 from smithfarm/wip-doc-teuos
Zack Cerza [Mon, 7 Mar 2016 17:37:20 +0000 (10:37 -0700)]
Merge pull request #808 from smithfarm/wip-doc-teuos

README.rst: mention teuthology-openstack in Provided Utilities

9 years agoMerge pull request #810 from dachary/wip-14990-gevent
Zack Cerza [Mon, 7 Mar 2016 16:34:20 +0000 (09:34 -0700)]
Merge pull request #810 from dachary/wip-14990-gevent

pin gevent 1.0.2

9 years agopin gevent 1.0.2 810/head
Loic Dachary [Sat, 5 Mar 2016 17:01:24 +0000 (00:01 +0700)]
pin gevent 1.0.2

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agodoc: update documentation of make_fake_fstools() 809/head
Nathan Cutler [Sun, 6 Mar 2016 10:43:47 +0000 (11:43 +0100)]
doc: update documentation of make_fake_fstools()

When the documentation of make_fake_fstools() was written, the function
evidently only returned two values. Now it returns four values. Additional
return values might be added later.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoREADME.rst: mention teuthology-openstack in Provided Utilities 808/head
Nathan Cutler [Sat, 5 Mar 2016 17:41:58 +0000 (18:41 +0100)]
README.rst: mention teuthology-openstack in Provided Utilities

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #807 from ceph/wip-repo-set-remote
Andrew Schoen [Fri, 4 Mar 2016 16:48:26 +0000 (10:48 -0600)]
Merge pull request #807 from ceph/wip-repo-set-remote

repo_utils: Call git set remote-url

9 years agorepo_utils: Call git set remote-url 807/head
Zack Cerza [Fri, 4 Mar 2016 16:23:31 +0000 (09:23 -0700)]
repo_utils: Call git set remote-url

This will cause git repos on-disk to be updated to point at the correct
remote based on config.ceph_git_base_url

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #804 from dachary/wip-openstack-vault
Zack Cerza [Wed, 2 Mar 2016 18:47:04 +0000 (11:47 -0700)]
Merge pull request #804 from dachary/wip-openstack-vault

openstack: create default ~/.vault_pass.txt

9 years agoMerge pull request #806 from dachary/wip-openstack-sitepackage
Zack Cerza [Wed, 2 Mar 2016 16:19:57 +0000 (09:19 -0700)]
Merge pull request #806 from dachary/wip-openstack-sitepackage

openstack: do not use sitepackages for openstack-integration tests

9 years agoMerge pull request #805 from dachary/wip-openstack-test-selection
Zack Cerza [Wed, 2 Mar 2016 16:19:35 +0000 (09:19 -0700)]
Merge pull request #805 from dachary/wip-openstack-test-selection

openstack: test selection for openstack-integration

9 years agoopenstack: do not use sitepackages for openstack-integration tests 806/head
Loic Dachary [Sun, 28 Feb 2016 06:27:22 +0000 (13:27 +0700)]
openstack: do not use sitepackages for openstack-integration tests

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: test selection for openstack-integration 805/head
Loic Dachary [Sun, 28 Feb 2016 05:33:41 +0000 (12:33 +0700)]
openstack: test selection for openstack-integration

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: create default ~/.vault_pass.txt 804/head
Loic Dachary [Sun, 28 Feb 2016 04:57:48 +0000 (11:57 +0700)]
openstack: create default ~/.vault_pass.txt

It is now required by teuthology.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: allow override of openstack:clone: 797/head
Loic Dachary [Wed, 2 Dec 2015 14:06:26 +0000 (15:06 +0100)]
openstack: allow override of openstack:clone:

When running from a wip teuthology branch, it is inconvenient to tweak
~/.teuthology.yaml. Add --teuthology-git-url and --teuthology-branch to
take precendence and override the defaults.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #794 from dachary/wip-openstack-wait
Zack Cerza [Tue, 1 Mar 2016 16:57:00 +0000 (09:57 -0700)]
Merge pull request #794 from dachary/wip-openstack-wait

openstack: add --wait to block until the suite finishes

9 years agoMerge pull request #802 from dachary/wip-openstack-neutron
Zack Cerza [Mon, 29 Feb 2016 20:23:52 +0000 (13:23 -0700)]
Merge pull request #802 from dachary/wip-openstack-neutron

openstack: openstacklient >= 2.1.0 does not depend on neutronclient

9 years agoMerge pull request #801 from dachary/wip-openstack-centos-7-2
Zack Cerza [Mon, 29 Feb 2016 20:23:36 +0000 (13:23 -0700)]
Merge pull request #801 from dachary/wip-openstack-centos-7-2

openstack: package CentOS 7.2 data file

9 years agoMerge pull request #800 from dachary/wip-openstack-cleanup
Zack Cerza [Mon, 29 Feb 2016 20:23:18 +0000 (13:23 -0700)]
Merge pull request #800 from dachary/wip-openstack-cleanup

openstack: only destroy target/ceph- VMs on restart

9 years agoMerge pull request #799 from dachary/wip-openstack-timeout
Zack Cerza [Mon, 29 Feb 2016 20:21:25 +0000 (13:21 -0700)]
Merge pull request #799 from dachary/wip-openstack-timeout

openstack: default to 9h job timeout

9 years agoMerge pull request #796 from dachary/wip-archive-upload
Zack Cerza [Mon, 29 Feb 2016 20:20:05 +0000 (13:20 -0700)]
Merge pull request #796 from dachary/wip-archive-upload

suite/openstack: add --archive-upload-url

9 years agoMerge pull request #795 from dachary/wip-openstack-suite-exit-code
Zack Cerza [Mon, 29 Feb 2016 20:18:49 +0000 (13:18 -0700)]
Merge pull request #795 from dachary/wip-openstack-suite-exit-code

suite/openstack: implement the exit code

9 years agoopenstack: openstacklient >= 2.1.0 does not depend on neutronclient 802/head
Loic Dachary [Sat, 27 Feb 2016 07:04:29 +0000 (14:04 +0700)]
openstack: openstacklient >= 2.1.0 does not depend on neutronclient

Explicitly require it python-neutronclient.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: package CentOS 7.2 data file 801/head
Loic Dachary [Mon, 18 Jan 2016 07:07:09 +0000 (14:07 +0700)]
openstack: package CentOS 7.2 data file

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: only destroy target/ceph- VMs on restart 800/head
Loic Dachary [Thu, 14 Jan 2016 07:37:27 +0000 (08:37 +0100)]
openstack: only destroy target/ceph- VMs on restart

Obsolete resources will be taken care of by the teuthology-nuke
--stale-openstack cron job. We just want to avoid running into obsolete
targets.

The ceph-* targets which are created by the buildpackages task must also
be disposed of.

The timestamps dir is wiped out, except for packages-repository, if
it exists.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: default to 9h job timeout 799/head
Loic Dachary [Thu, 14 Jan 2016 07:01:55 +0000 (08:01 +0100)]
openstack: default to 9h job timeout

Because a few job take more than 6h. Ideally this could be overriden on
a case by case basis.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agosuite/openstack: add --archive-upload-url 796/head
Loic Dachary [Wed, 2 Dec 2015 11:19:48 +0000 (12:19 +0100)]
suite/openstack: add --archive-upload-url

When uploading job results with --upload, it may be non-trivial to
figure out the public facing URL where the job will be visible. When
used via teuthology-openstack, it defaults to

    http://teuthology-logs.public.ceph.com

so that using --wait --upload --teardown displays the URLs of the
uploaded job results that are accessible even after the cluster is
gone.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agosuite/openstack: implement the exit code 795/head
Loic Dachary [Wed, 2 Dec 2015 11:05:13 +0000 (12:05 +0100)]
suite/openstack: implement the exit code

Make it so the exit code of the command reflects the success or failure
of the suite. This is useful when running with --wait.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoopenstack: add --wait to block until the suite finishes 794/head
Loic Dachary [Sun, 29 Nov 2015 11:51:45 +0000 (12:51 +0100)]
openstack: add --wait to block until the suite finishes

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #791 from ceph/wip-ceph-ansible
Dan Mick [Fri, 26 Feb 2016 20:22:08 +0000 (12:22 -0800)]
Merge pull request #791 from ceph/wip-ceph-ansible

ceph_ansible: provide devices, monitor_interface, public_network

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoSet network-related hostvars if necessary 791/head
Zack Cerza [Wed, 24 Feb 2016 17:36:24 +0000 (10:36 -0700)]
Set network-related hostvars if necessary

Specifically, monitor_interface and public_network

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd Remote.{ip_address, interface, cidr}
Zack Cerza [Wed, 24 Feb 2016 17:30:06 +0000 (10:30 -0700)]
Add Remote.{ip_address, interface, cidr}

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoUse misc.get_scratch_devices() when necessary
Zack Cerza [Tue, 23 Feb 2016 18:18:19 +0000 (11:18 -0700)]
Use misc.get_scratch_devices() when necessary

That is, if osd_auto_discovery is disabled.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoRefactor hosts file generation
Zack Cerza [Tue, 23 Feb 2016 17:38:56 +0000 (10:38 -0700)]
Refactor hosts file generation

This is in preparation to enable us to write host-specific vars to the
file.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #793 from ceph/wip-suite-error
Dan Mick [Fri, 26 Feb 2016 01:09:00 +0000 (17:09 -0800)]
Merge pull request #793 from ceph/wip-suite-error

Add a warning when gitbuilder 404s

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoAdd a warning when gitbuilder 404s 793/head
Zack Cerza [Fri, 26 Feb 2016 00:59:51 +0000 (17:59 -0700)]
Add a warning when gitbuilder 404s

When determining the ceph hash, we usually ask gitbuilder. When that
fails, the error is misleading but it would take a bit of refactoring to
truly fix it. Let's at least put a useful warning before the confusing error
message.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #792 from ceph/wip-os-version-str
Dan Mick [Thu, 25 Feb 2016 02:01:39 +0000 (19:01 -0700)]
Merge pull request #792 from ceph/wip-os-version-str

get_distro_version: Always return a string

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoget_distro_version: Always return a string 792/head
Zack Cerza [Wed, 24 Feb 2016 23:53:25 +0000 (16:53 -0700)]
get_distro_version: Always return a string

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