]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
9 years agotask/hadoop: fix for multi cluster is_type() change 859/head
Josh Durgin [Fri, 13 May 2016 04:43:44 +0000 (21:43 -0700)]
task/hadoop: fix for multi cluster is_type() change

This is the only non-ceph task that uses custom roles, and it happens
to put a '.' as a delimiter between hadoop and the rest of the
role. Since the multi-cluster branch, is_type() is ceph-specific and
interprets this as a cluster named hadoop.

To avoid needing to change several branches in ceph-qa-suite, just use
a local is_hadoop_type() function instead of relying on the now
ceph-specific misc.is_type().

Fixes: http://tracker.ceph.com/issues/15862
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #841 from ceph/wip-multi-cluster
Zack Cerza [Mon, 9 May 2016 22:18:57 +0000 (16:18 -0600)]
Merge pull request #841 from ceph/wip-multi-cluster

support multiple ceph clusters

9 years agoMerge pull request #855 from dmick/wip-dependencies
Zack Cerza [Fri, 6 May 2016 21:36:52 +0000 (15:36 -0600)]
Merge pull request #855 from dmick/wip-dependencies

bootstrap: Use mariadb-devel on RHEL for mysql-devel; remove mysqlclient dependency

9 years agomysqlclient is not needed; MySQLdb-python is for teuthology-coverage 855/head
Dan Mick [Mon, 2 May 2016 19:58:09 +0000 (12:58 -0700)]
mysqlclient is not needed; MySQLdb-python is for teuthology-coverage

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoUse the appropriate package name for mysql/mariadb
Dan Mick [Sat, 30 Apr 2016 00:23:03 +0000 (17:23 -0700)]
Use the appropriate package name for mysql/mariadb

Community package download isn't necessary; RHEL ships
mariadb and its -devel package

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #854 from ceph/wip-15711
Gregory Farnum [Tue, 3 May 2016 20:46:33 +0000 (13:46 -0700)]
Merge pull request #854 from ceph/wip-15711

Always mention name and sha1 when scheduling fails

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoAlways mention name and sha1 when scheduling fails 854/head
Zack Cerza [Tue, 3 May 2016 20:21:41 +0000 (14:21 -0600)]
Always mention name and sha1 when scheduling fails

http://tracker.ceph.com/issues/15711
Fixes: 15711
Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #832 from ceph/wip-fix-nuke
Zack Cerza [Tue, 3 May 2016 18:19:42 +0000 (12:19 -0600)]
Merge pull request #832 from ceph/wip-fix-nuke

 fix nuke

9 years agoMerge pull request #851 from ceph/wip-prune-mon
Dan Mick [Tue, 3 May 2016 17:52:38 +0000 (10:52 -0700)]
Merge pull request #851 from ceph/wip-prune-mon

prune: also remove mon data in jobs' 'data' subdir

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #853 from ceph/wip-pcp2
Sage Weil [Tue, 3 May 2016 12:28:07 +0000 (08:28 -0400)]
Merge pull request #853 from ceph/wip-pcp2

task/selinux: another pcp whitelist

Reviewed-by: Boris Ranto <branto@redhat.com>
9 years agotask/selinux: another pcp whitelist 853/head
Sage Weil [Tue, 3 May 2016 03:08:40 +0000 (23:08 -0400)]
task/selinux: another pcp whitelist

SELinux denials found on ubuntu@smithi027.front.sepia.ceph.com: ['type=AVC msg=audit(1462234212.274:85266): avc: denied { read } for pid=1984 comm="pmcd" name="pmlogger_daily.pid" dev="tmpfs" ino=1474542 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:cron_var_run_t:s0 tclass=file']

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #852 from ceph/wip-pcp-selinux
Sage Weil [Mon, 2 May 2016 19:34:05 +0000 (15:34 -0400)]
Merge pull request #852 from ceph/wip-pcp-selinux

task.selinux: add PCP's pmlogger to the whitelist

9 years agotask.selinux: add PCP's pmlogger to the whitelist 852/head
Zack Cerza [Mon, 2 May 2016 19:20:57 +0000 (13:20 -0600)]
task.selinux: add PCP's pmlogger to the whitelist

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoPrune mon data along with remote logs 851/head
Zack Cerza [Fri, 29 Apr 2016 19:21:18 +0000 (13:21 -0600)]
Prune mon data along with remote logs

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMove subdir removal logic into separate function
Zack Cerza [Fri, 29 Apr 2016 19:16:56 +0000 (13:16 -0600)]
Move subdir removal logic into separate function

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAdd timeout to commands 832/head
Vasu Kulkarni [Fri, 1 Apr 2016 22:00:56 +0000 (15:00 -0700)]
Add timeout to commands

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoFix nuke, redo some cleanup functions
Vasu Kulkarni [Fri, 1 Apr 2016 21:45:08 +0000 (14:45 -0700)]
Fix nuke, redo some cleanup functions

Redo some functions, remove proc waits, Reorder functions
for better cleanup.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoRemove ceph and its dependent packages
Vasu Kulkarni [Fri, 1 Apr 2016 20:07:51 +0000 (13:07 -0700)]
Remove ceph and its dependent packages

Remove ceph and its dependent packages using force option

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agouse timeout feature of paramiko
Vasu Kulkarni [Wed, 30 Mar 2016 21:35:02 +0000 (17:35 -0400)]
use timeout feature of paramiko

use timeout feature of paramiko when executing commands

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #836 from ceph/wip-rh-bootstrap
Zack Cerza [Fri, 29 Apr 2016 17:53:31 +0000 (11:53 -0600)]
Merge pull request #836 from ceph/wip-rh-bootstrap

Changes for bootstrap to work on RHEL

9 years agoMerge pull request #850 from ceph/wip-paramiko
Dan Mick [Fri, 29 Apr 2016 17:40:07 +0000 (10:40 -0700)]
Merge pull request #850 from ceph/wip-paramiko

Unpin paramiko

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoUnpin paramiko 850/head
Zack Cerza [Thu, 28 Apr 2016 23:18:14 +0000 (17:18 -0600)]
Unpin paramiko

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #848 from ceph/wip-filter-wusui
Yuri Weinstein [Thu, 21 Apr 2016 22:12:58 +0000 (15:12 -0700)]
Merge pull request #848 from ceph/wip-filter-wusui

Restrict filter to not scan too far up a path.

9 years agoRestrict filter to not scan too far up a path. 848/head
Warren Usui [Thu, 21 Apr 2016 18:58:01 +0000 (11:58 -0700)]
Restrict filter to not scan too far up a path.
Directory names closer to the root than /suites are not used by the filter.
Fixes: http://tracker.ceph.com/issues/15470
Signed-off-by: Warren Usui <wusui@redhat.com>
9 years agoChanges for bootstrap to work on RHEL 836/head
Vasu Kulkarni [Fri, 1 Apr 2016 18:54:37 +0000 (11:54 -0700)]
Changes for bootstrap to work on RHEL

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
9 years agoMerge pull request #846 from ceph/wip-babel
Dan Mick [Tue, 19 Apr 2016 20:54:07 +0000 (13:54 -0700)]
Merge pull request #846 from ceph/wip-babel

Work around pip dependency issue w/ nova and Babel

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoWork around pip dependency issue w/ nova and Babel 846/head
Zack Cerza [Tue, 19 Apr 2016 20:12:06 +0000 (14:12 -0600)]
Work around pip dependency issue w/ nova and Babel

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #845 from ceph/wip-vault-pass
Dan Mick [Fri, 15 Apr 2016 22:08:49 +0000 (15:08 -0700)]
Merge pull request #845 from ceph/wip-vault-pass

ansible.CephLab: touch ~/.vault_pass.txt

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoansible.CephLab: touch ~/.vault_pass.txt 845/head
Zack Cerza [Fri, 15 Apr 2016 21:52:18 +0000 (15:52 -0600)]
ansible.CephLab: touch ~/.vault_pass.txt

To avoid ansible bailing with an OSError. Normally we don't even need
the vault password for cephlab.yml.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoMerge pull request #843 from ceph/wip-gethash
Dan Mick [Thu, 14 Apr 2016 17:26:27 +0000 (10:26 -0700)]
Merge pull request #843 from ceph/wip-gethash

teuthology-suite: Don't allow scheduling when packages are not present

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoSimplify message counting filtered jobs 843/head
Zack Cerza [Wed, 13 Apr 2016 21:33:23 +0000 (15:33 -0600)]
Simplify message counting filtered jobs

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoDon't attempt to schedule when missing packages
Zack Cerza [Wed, 13 Apr 2016 19:00:05 +0000 (13:00 -0600)]
Don't attempt to schedule when missing packages

By default, anyway. It's possible to set
config.suite_allow_missing_packages to continue stick with the old
behavior.

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoget_hash() -> get_gitbuilder_hash()
Zack Cerza [Wed, 13 Apr 2016 18:43:51 +0000 (12:43 -0600)]
get_hash() -> get_gitbuilder_hash()

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agoAlways use git_ls_remote() for ceph packages
Zack Cerza [Wed, 13 Apr 2016 18:31:04 +0000 (12:31 -0600)]
Always use git_ls_remote() for ceph packages

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agogit_ls_remote(): Add debug output and docstring
Zack Cerza [Wed, 13 Apr 2016 18:27:03 +0000 (12:27 -0600)]
git_ls_remote(): Add debug output and docstring

Signed-off-by: Zack Cerza <zack@redhat.com>
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 agoceph.conf.template: add cluster name to paths 841/head
Josh Durgin [Thu, 31 Mar 2016 06:01:37 +0000 (23:01 -0700)]
ceph.conf.template: add cluster name to paths

This is more like the defaults, and makes non-osd daemons from
multiple clusters work on the same host.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agotest_misc: fix shadowing of cluster
Josh Durgin [Fri, 25 Mar 2016 02:10:53 +0000 (19:10 -0700)]
test_misc: fix shadowing of cluster

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: add cluster param to wait_until_healthy()
Josh Durgin [Thu, 17 Mar 2016 01:23:06 +0000 (18:23 -0700)]
misc: add cluster param to wait_until_healthy()

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: add cluster param to wait_until_osds_up()
Josh Durgin [Thu, 17 Mar 2016 01:21:55 +0000 (18:21 -0700)]
misc: add cluster param to wait_until_osds_up()

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: add cluster filter to num_instances_of_type
Josh Durgin [Thu, 17 Mar 2016 01:20:07 +0000 (18:20 -0700)]
misc: add cluster filter to num_instances_of_type

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: add optional path param to create_simple_monmap()
Josh Durgin [Thu, 17 Mar 2016 01:19:14 +0000 (18:19 -0700)]
misc: add optional path param to create_simple_monmap()

This will let us provision multiple clusters in parallel by using
different names for the monmap file.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: add cluster param to skeleton_config
Josh Durgin [Thu, 17 Mar 2016 00:57:47 +0000 (17:57 -0700)]
misc: add cluster param to skeleton_config

We need to consider all monitors to allocate unique ips in get_mons(),
but generate the conf file per-cluster.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: add cluster-aware roles filter
Josh Durgin [Thu, 17 Mar 2016 00:46:30 +0000 (17:46 -0700)]
misc: add cluster-aware roles filter

Unlike roles_of_type, this actually returns roles. We can't change the
semantics of the existing one due to backwards compatibility
requirements for old ceph-qa-suite branches, so make a new function
and implement the old one in terms of the new more general interface.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: add optional cluster filter to is_type
Josh Durgin [Thu, 17 Mar 2016 00:09:21 +0000 (17:09 -0700)]
misc: add optional cluster filter to is_type

reimplement in terms of split_role while we're at it

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agocommon_fs_utils: use common method to extract id from role
Josh Durgin [Wed, 16 Mar 2016 06:37:20 +0000 (23:37 -0700)]
common_fs_utils: use common method to extract id from role

This works with multiple clusters too.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: pass cluster through stop_daemons_of_type()
Josh Durgin [Wed, 16 Mar 2016 06:32:21 +0000 (23:32 -0700)]
misc: pass cluster through stop_daemons_of_type()

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoorchestra/daemon: update resolve_role_list() for multi-cluster setups
Josh Durgin [Wed, 16 Mar 2016 06:09:17 +0000 (23:09 -0700)]
orchestra/daemon: update resolve_role_list() for multi-cluster setups

Add a parameter for backwards compatibility, to determine whether the
returned roles should include the cluster.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agoorchestra/daemon: update simple DaemonGroup methods to handle clusters
Josh Durgin [Wed, 16 Mar 2016 06:00:48 +0000 (23:00 -0700)]
orchestra/daemon: update simple DaemonGroup methods to handle clusters

Add new kwarg parameters for cluster to stay backwards-compatible with
older ceph-qa-suite branches, and rename role arguments to type_,
since they were never full roles. Default the cluster to ceph, and
normalize role to $cluster.$type.$id internally.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: make get_mon_names() and get_first_mon() cluster-aware
Josh Durgin [Wed, 16 Mar 2016 04:36:45 +0000 (21:36 -0700)]
misc: make get_mon_names() and get_first_mon() cluster-aware

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: make all_roles_of_type cluster-aware
Josh Durgin [Tue, 15 Mar 2016 23:29:16 +0000 (16:29 -0700)]
misc: make all_roles_of_type cluster-aware

Reimplement in terms of roles_of_type to simplify it

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: make roles_of_type() cluster-aware
Josh Durgin [Tue, 15 Mar 2016 22:13:27 +0000 (15:13 -0700)]
misc: make roles_of_type() cluster-aware

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: convert get_clients() to work with multiple clusters
Josh Durgin [Tue, 15 Mar 2016 22:04:23 +0000 (15:04 -0700)]
misc: convert get_clients() to work with multiple clusters

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: convert num_instances_of_type() to use is_type()
Josh Durgin [Tue, 15 Mar 2016 21:57:45 +0000 (14:57 -0700)]
misc: convert num_instances_of_type() to use is_type()

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: convert skeleton_config to work with clusters in roles
Josh Durgin [Tue, 15 Mar 2016 21:54:53 +0000 (14:54 -0700)]
misc: convert skeleton_config to work with clusters in roles

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: add helpers to get components of a role
Josh Durgin [Tue, 15 Mar 2016 21:40:05 +0000 (14:40 -0700)]
misc: add helpers to get components of a role

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: make get_mons() cluster-aware
Josh Durgin [Tue, 15 Mar 2016 21:26:02 +0000 (14:26 -0700)]
misc: make get_mons() cluster-aware

Use the is_type() helper to keep the logic in one place.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agomisc: allow a prefix for cluster in is_type()
Josh Durgin [Tue, 15 Mar 2016 21:08:36 +0000 (14:08 -0700)]
misc: allow a prefix for cluster in is_type()

This still matches roles with no prefix first, so it stays compatible
with existing suites.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
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>