]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
ceph-ansible.git
8 years agomon: do not hardcode ipv4 1548/head
Sébastien Han [Thu, 18 May 2017 09:56:55 +0000 (11:56 +0200)]
mon: do not hardcode ipv4

Problem: fail to deploy a containerized Ceph cluster with ipv6
Solution: do not hardcode ipv4 when bootstrapping the container.

Now use ip_version: ipv6 to get a containerized cluster deployed with
ipv6.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1451786
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1532 from ceph/bpk-script
Sébastien Han [Thu, 18 May 2017 08:40:14 +0000 (10:40 +0200)]
Merge pull request #1532 from ceph/bpk-script

contrib: add backport script

8 years agocontrib: add backport script 1532/head
Sébastien Han [Wed, 17 May 2017 09:36:06 +0000 (11:36 +0200)]
contrib: add backport script

To ease the backport, I wrote a quick script.

Usage: ./backport.sh.sh stable-2.2
6892670d317698771be7e96ce9032bc27d3fd1e5 my-work

We can also pass multiple commits.
Follow up on @ktdreyer write up here:
https://github.com/ceph/ceph-ansible/pull/1529

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1546 from ceph/testinfra-version
David Galloway [Wed, 17 May 2017 20:51:03 +0000 (16:51 -0400)]
Merge pull request #1546 from ceph/testinfra-version

tests: pin testinfra to 1.6.0

8 years agotests: pin testinfra to 1.6.0 1546/head
Andrew Schoen [Wed, 17 May 2017 20:22:45 +0000 (15:22 -0500)]
tests: pin testinfra to 1.6.0

1.6.1 fails with 'testinfra is in an unsupported or invalid wheel'

See: https://github.com/philpep/testinfra/issues/201

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1531 from ceph/wip-1495
Andrew Schoen [Wed, 17 May 2017 14:36:07 +0000 (09:36 -0500)]
Merge pull request #1531 from ceph/wip-1495

docker: Retry OSD disk prepare to workaround race condition

8 years agoMerge pull request #1513 from flokli/monitor_interface
Sébastien Han [Wed, 17 May 2017 13:12:38 +0000 (15:12 +0200)]
Merge pull request #1513 from flokli/monitor_interface

monitor_interface: document need to use monitor_address when using IPv6

8 years agoMerge pull request #1528 from ceph/control-path
Sébastien Han [Wed, 17 May 2017 13:12:01 +0000 (15:12 +0200)]
Merge pull request #1528 from ceph/control-path

Control path

8 years agoMerge pull request #1527 from ceph/piwi3910-master
Sébastien Han [Wed, 17 May 2017 13:11:32 +0000 (15:11 +0200)]
Merge pull request #1527 from ceph/piwi3910-master

added support for Sandisk FusionIO devices

8 years agoMerge pull request #1500 from yanyixing/master
Sébastien Han [Wed, 17 May 2017 13:04:20 +0000 (15:04 +0200)]
Merge pull request #1500 from yanyixing/master

ignore error when key is not exist

8 years agoMerge pull request #1526 from ceph/wip-rgw-default-quota-set-testing
Andrew Schoen [Wed, 17 May 2017 12:11:33 +0000 (07:11 -0500)]
Merge pull request #1526 from ceph/wip-rgw-default-quota-set-testing

test: check if default bucket object quota is applied

8 years agoDocker: rm container before retry of ceph osd prepare 1531/head
Guillaume Abrioux [Mon, 15 May 2017 09:50:23 +0000 (11:50 +0200)]
Docker: rm container before retry of ceph osd prepare

In addition to `196fa7e` this commit check if a container has been
already launched and delete it before retrying the ceph osd prepare
process.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agotest: check if default bucket object quota is applied 1526/head
Ali Maredia [Mon, 15 May 2017 18:01:57 +0000 (14:01 -0400)]
test: check if default bucket object quota is applied

Resolves: rhbz#1391500

Signed-off-by: Ali Maredia <amaredia@redhat.com>
8 years agoansible: add a note in ansible.cfg 1528/head
Sébastien Han [Tue, 16 May 2017 12:42:39 +0000 (14:42 +0200)]
ansible: add a note in ansible.cfg

Comments inside this file must be set BEFORE the option. NOT after the
option, otherwise the comment will be interpreted as a value to that
option.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoansible: fix control path line
Sébastien Han [Tue, 16 May 2017 12:39:03 +0000 (14:39 +0200)]
ansible: fix control path line

If the comment is put after the line then it is interpreted so we need
to move it before and have a dedicated line.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoadded support for Sandisk FusionIO devices 1527/head
Pascal Watteel [Fri, 7 Apr 2017 14:59:00 +0000 (18:59 +0400)]
added support for Sandisk FusionIO devices

Signed-off-by: Pascal Watteel <pascal.watteel@emc.com>
8 years agoMerge pull request #1522 from ceph/rhcs-jewel
Andrew Schoen [Mon, 15 May 2017 20:44:07 +0000 (15:44 -0500)]
Merge pull request #1522 from ceph/rhcs-jewel

tests: rhcs should set ceph_stable_release to jewel

8 years agoMerge pull request #1516 from ceph/docker-registry
Andrew Schoen [Mon, 15 May 2017 18:33:03 +0000 (13:33 -0500)]
Merge pull request #1516 from ceph/docker-registry

generate_group_vars_sample: merge role variables

8 years agotests: rhcs should set ceph_stable_release to jewel 1522/head
Andrew Schoen [Mon, 15 May 2017 14:54:01 +0000 (09:54 -0500)]
tests: rhcs should set ceph_stable_release to jewel

rhcs is based off of jewel, so we need to set this var in the tests so
that the ceph-mgr role is skipped.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1512 from ceph/ansible-ssh-control-path
Sébastien Han [Mon, 15 May 2017 14:24:10 +0000 (16:24 +0200)]
Merge pull request #1512 from ceph/ansible-ssh-control-path

ansible: shorten default control_path

8 years agogroup_vars: resync all.yml.sample with ceph-docker-common 1516/head
Sébastien Han [Mon, 15 May 2017 13:51:49 +0000 (15:51 +0200)]
group_vars: resync all.yml.sample with ceph-docker-common

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agogenerate_group_vars_sample: ability to merge roles
Sébastien Han [Mon, 15 May 2017 13:49:45 +0000 (15:49 +0200)]
generate_group_vars_sample: ability to merge roles

Problem: the meta declaration just includes the role, it does nothing
with the group_vars. For ansible to use files defined in group_vars/ the
name of the file must match a host group. Like mons, osds, etc. There is
no group docker-common so the variables defined there are never used, as
proved by https://bugzilla.redhat.com/show_bug.cgi?id=1447179 and the
ansible documentation.

Solution: bring the ability to merge roles files. So now by default,
ceph-docker-common and ceph-common will go into all.yml.sample

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1447179
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agogenerate_group_vars_sample: do not use expr
Sébastien Han [Mon, 15 May 2017 08:56:33 +0000 (10:56 +0200)]
generate_group_vars_sample: do not use expr

As mentionned in https://github.com/koalaman/shellcheck/wiki/SC2003
expr is antiquated.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agogenerate_group_vars_sample.sh: fix script indent
Sébastien Han [Mon, 15 May 2017 08:38:36 +0000 (10:38 +0200)]
generate_group_vars_sample.sh: fix script indent

Using indent of 2 on the entire script.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agorgw: resync group_vars
Sébastien Han [Mon, 15 May 2017 08:36:17 +0000 (10:36 +0200)]
rgw: resync group_vars

At some point, during a commit changing `roles/ceph-rgw/defaults/main.yml`
we forgot to run `generate_group_vars_sample.sh`.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1518 from ceph/pgs-error-message
Sébastien Han [Mon, 15 May 2017 11:58:35 +0000 (13:58 +0200)]
Merge pull request #1518 from ceph/pgs-error-message

ceph-common: improve error message on restart osd daemon script

8 years agoMerge pull request #1515 from ceph/mgr-key
Andrew Schoen [Fri, 12 May 2017 17:02:53 +0000 (12:02 -0500)]
Merge pull request #1515 from ceph/mgr-key

mon: do not create mgr key on jewel

8 years agoceph-common: improve error message on restart osd daemon script 1518/head
Alfredo Deza [Fri, 12 May 2017 15:01:03 +0000 (11:01 -0400)]
ceph-common: improve error message on restart osd daemon script

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agomon: do not create mgr key on jewel 1515/head
Sébastien Han [Thu, 11 May 2017 09:55:00 +0000 (11:55 +0200)]
mon: do not create mgr key on jewel

The CI on Docker is reporting the following error:

STDERR:
Error EINVAL: bad entity name

This is due to the fact that this auth entity name does not exist on
Jewel so we should not create that key when running Jewel containers.

Fixes: https://github.com/ceph/ceph-ansible/issues/1514
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1507 from ceph/rpm-strip-coreos
Sébastien Han [Thu, 11 May 2017 20:54:01 +0000 (22:54 +0200)]
Merge pull request #1507 from ceph/rpm-strip-coreos

rpm: do not package coreos-related files

8 years agoMerge pull request #1511 from ceph/rm-ansible-install
Sébastien Han [Thu, 11 May 2017 20:50:27 +0000 (22:50 +0200)]
Merge pull request #1511 from ceph/rm-ansible-install

ceph-aio-no-vagrant.sh: check if ansible is installed

8 years agodocker: Retry osd disk prep to workaround race condition
David Galloway [Thu, 11 May 2017 20:19:11 +0000 (16:19 -0400)]
docker: Retry osd disk prep to workaround race condition

Fixes: https://github.com/ceph/ceph-ansible/issues/1495
Signed-off-by: David Galloway <dgallowa@redhat.com>
8 years agoMerge pull request #1510 from ktdreyer/ansible-2.2.3
Andrew Schoen [Thu, 11 May 2017 11:13:20 +0000 (06:13 -0500)]
Merge pull request #1510 from ktdreyer/ansible-2.2.3

tox: bump ansible version to 2.2.3

8 years agomonitor_interface: document need to use monitor_address when using IPv6 1513/head
Florian Klink [Thu, 11 May 2017 09:15:28 +0000 (11:15 +0200)]
monitor_interface: document need to use monitor_address when using IPv6

Already documented in the Red Hat Ceph Storage 2 Installation Guide
for Red Hat Enterprise Linux, but not here

Signed-off-by: Florian Klink <flokli@flokli.de>
8 years agoansible: shorten default control_path 1512/head
Sébastien Han [Thu, 11 May 2017 06:57:53 +0000 (08:57 +0200)]
ansible: shorten default control_path

Default ansible control_path option is too long, so we shorten it by
changing the ansible.cfg file.

For more info see: https://github.com/ansible/ansible/issues/11536
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1447569
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1508 from ceph/wip-rgw-conf-var-move
Andrew Schoen [Wed, 10 May 2017 20:23:01 +0000 (15:23 -0500)]
Merge pull request #1508 from ceph/wip-rgw-conf-var-move

rgw: move default bucket quota conf vars to global

8 years agoceph-aio-no-vagrant.sh: check if ansible is installed 1511/head
Sébastien Han [Wed, 10 May 2017 18:00:13 +0000 (20:00 +0200)]
ceph-aio-no-vagrant.sh: check if ansible is installed

Since we don't provide install-ansible.sh anymore we just check if it
exists. If not we fail and ask for installation.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agotox: bump ansible version to 2.2.3 1510/head
Ken Dreyer [Wed, 10 May 2017 17:10:13 +0000 (11:10 -0600)]
tox: bump ansible version to 2.2.3

The Ansible team has released v2.2.3, which fixes two CVEs:

CVE-2017-7481
CVE-2017-7466

https://www.ansible.com/security

8 years agorpm: do not package coreos-related files 1507/head
Ken Dreyer [Wed, 10 May 2017 17:08:33 +0000 (11:08 -0600)]
rpm: do not package coreos-related files

These are unnecessary on RPM-based platforms, and it makes it harder to
audit the RPM-packaged files for security when we ship things that are
unneeded.

8 years agorgw: move default bucket quota conf vars to global 1508/head
Ali Maredia [Wed, 10 May 2017 17:00:41 +0000 (13:00 -0400)]
rgw: move default bucket quota conf vars to global

"rgw override bucket index max shards" and
"rgw bucket default quota max objects" were in the
client section of the ceph.conf and not being
applied, this commit moves them to global

Resolves: bz#1391500

Signed-off-by: Ali Maredia <amaredia@redhat.com>
8 years agoMerge pull request #1505 from ceph/remove-install-ansible-script
Andrew Schoen [Wed, 10 May 2017 16:20:52 +0000 (11:20 -0500)]
Merge pull request #1505 from ceph/remove-install-ansible-script

remove the install-ansible.sh script

8 years agoremove the install-ansible.sh script 1505/head
Andrew Schoen [Wed, 10 May 2017 16:16:47 +0000 (11:16 -0500)]
remove the install-ansible.sh script

I'm unsure why this is needed, users should be able to install ansible
on their own in the method they prefer.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1460 from albertomurillo/clearlinux
Sébastien Han [Tue, 9 May 2017 22:15:55 +0000 (18:15 -0400)]
Merge pull request #1460 from albertomurillo/clearlinux

Add clearlinux to supported platforms

8 years agoMerge pull request #1504 from ceph/docker-osd-typo
Andrew Schoen [Tue, 9 May 2017 00:18:53 +0000 (19:18 -0500)]
Merge pull request #1504 from ceph/docker-osd-typo

ceph-osd: fix typo in containerized OSD systemd unit

8 years agoceph-osd: fix typo in containerized OSD systemd unit 1504/head
Andrew Schoen [Mon, 8 May 2017 20:30:45 +0000 (15:30 -0500)]
ceph-osd: fix typo in containerized OSD systemd unit

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1502 from ceph/update-test-stable-release
Andrew Schoen [Sat, 6 May 2017 00:27:37 +0000 (19:27 -0500)]
Merge pull request #1502 from ceph/update-test-stable-release

tests: update default of CEPH_STABLE_RELEASE to kraken

8 years agotests: update default of CEPH_STABLE_RELEASE to kraken 1502/head
Andrew Schoen [Fri, 5 May 2017 20:51:54 +0000 (15:51 -0500)]
tests: update default of CEPH_STABLE_RELEASE to kraken

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1484 from ceph/wip-rgw-testing
Andrew Schoen [Fri, 5 May 2017 15:56:00 +0000 (10:56 -0500)]
Merge pull request #1484 from ceph/wip-rgw-testing

rgw: test functionality of conf vars and pool creation for tuning

8 years agoMerge pull request #1501 from ceph/try-jewel-xenial-container
Andrew Schoen [Fri, 5 May 2017 15:36:47 +0000 (10:36 -0500)]
Merge pull request #1501 from ceph/try-jewel-xenial-container

tests: use the xenial container for jewel instead of centos7

8 years agotests: use the xenial container for jewel instead of centos7 1501/head
Andrew Schoen [Fri, 5 May 2017 14:18:11 +0000 (09:18 -0500)]
tests: use the xenial container for jewel instead of centos7

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agorgw: test functionality of conf vars and pool creation for tuning 1484/head
Ali Maredia [Fri, 28 Apr 2017 19:47:21 +0000 (15:47 -0400)]
rgw: test functionality of conf vars and pool creation for tuning

Signed-off-by: Ali Maredia <amaredia@redhat.com>
8 years agoignore error when key is not exist 1500/head
yanyx [Fri, 5 May 2017 08:44:58 +0000 (16:44 +0800)]
ignore error when key is not exist

8 years agoMerge pull request #1499 from ceph/fix_1494
Andrew Schoen [Thu, 4 May 2017 22:49:53 +0000 (17:49 -0500)]
Merge pull request #1499 from ceph/fix_1494

Common: Do not install ceph-mgr packages on jewel

8 years agotests: all tests must use the node fixture 1499/head
Andrew Schoen [Thu, 4 May 2017 21:36:36 +0000 (16:36 -0500)]
tests: all tests must use the node fixture

Otherwise the logic we have for skipping tests does not work.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: do not test mgr nodes on jewel
Andrew Schoen [Thu, 4 May 2017 19:04:23 +0000 (14:04 -0500)]
tests: do not test mgr nodes on jewel

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoCommon: Do not install ceph-mgr packages on jewel
Guillaume Abrioux [Thu, 4 May 2017 09:14:58 +0000 (11:14 +0200)]
Common: Do not install ceph-mgr packages on jewel

ceph-mgr tasks has to be skipped on jewel.

Fix: #1494

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agoMerge pull request #1492 from ceph/add-luminous
Andrew Schoen [Wed, 3 May 2017 18:58:06 +0000 (13:58 -0500)]
Merge pull request #1492 from ceph/add-luminous

ceph-common: add luminous to ceph_release_num

8 years agoMerge pull request #1468 from ceph/logging
Sébastien Han [Wed, 3 May 2017 15:52:37 +0000 (11:52 -0400)]
Merge pull request #1468 from ceph/logging

ansible: add logging path

8 years agoceph-common: add luminous to ceph_release_num 1492/head
Andrew Schoen [Wed, 3 May 2017 14:11:52 +0000 (09:11 -0500)]
ceph-common: add luminous to ceph_release_num

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1482 from ceph/remove-debian-ceph-packages
Andrew Schoen [Wed, 3 May 2017 13:55:23 +0000 (08:55 -0500)]
Merge pull request #1482 from ceph/remove-debian-ceph-packages

ceph-common: remove debian_ceph_packages

8 years agoMerge pull request #1490 from ceph/insecure-registry
Andrew Schoen [Wed, 3 May 2017 01:16:49 +0000 (20:16 -0500)]
Merge pull request #1490 from ceph/insecure-registry

tests: allow for insecure docker registries when testing rhcs

8 years agotests: allow for insecure docker registries when testing rhcs 1490/head
Andrew Schoen [Tue, 2 May 2017 20:49:50 +0000 (15:49 -0500)]
tests: allow for insecure docker registries when testing rhcs

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1487 from ceph/docker-jewel-tests
Andrew Schoen [Tue, 2 May 2017 20:13:21 +0000 (15:13 -0500)]
Merge pull request #1487 from ceph/docker-jewel-tests

tests: actually test jewel when we say we are

8 years agodocs: update tox docs to reflect the removed environment variables 1487/head
Andrew Schoen [Tue, 2 May 2017 19:15:42 +0000 (14:15 -0500)]
docs: update tox docs to reflect the removed environment variables

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: switch to using key/value extra-vars instead of json
Andrew Schoen [Tue, 2 May 2017 16:15:23 +0000 (11:15 -0500)]
tests: switch to using key/value extra-vars instead of json

I continue to have issues with extra-vars as json. The latest issue
being that the ceph_docker_image_tag config option included in the json
was being ignored. I can't find the root cause, by using the key/value
format seems to work.

I've also removed several options here to simply the interface. We can
add those back if they become necessary.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: actually test a jewel container for the jewel-* docker tests
Andrew Schoen [Mon, 1 May 2017 19:08:55 +0000 (14:08 -0500)]
tests: actually test a jewel container for the jewel-* docker tests

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1485 from ceph/docker-osd-tests
Andrew Schoen [Mon, 1 May 2017 19:05:57 +0000 (14:05 -0500)]
Merge pull request #1485 from ceph/docker-osd-tests

tests: test all docker osds are up and in

8 years agotests: test that all docker OSDs are up and in 1485/head
Andrew Schoen [Mon, 1 May 2017 15:45:44 +0000 (10:45 -0500)]
tests: test that all docker OSDs are up and in

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: adds a way to mark docker only tests
Andrew Schoen [Mon, 1 May 2017 15:45:03 +0000 (10:45 -0500)]
tests: adds a way to mark docker only tests

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-common: remove debian_ceph_packages 1482/head
Andrew Schoen [Fri, 28 Apr 2017 15:47:27 +0000 (10:47 -0500)]
ceph-common: remove debian_ceph_packages

We shouldn't need this anymore as the upgrade bug that
debian_ceph_packages was used to workaround should have
been fixed as of jewel.

See https://github.com/ceph/ceph-ansible/issues/1481 for more
detailed information.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1477 from ceph/quick_fix
Sébastien Han [Thu, 27 Apr 2017 12:37:32 +0000 (14:37 +0200)]
Merge pull request #1477 from ceph/quick_fix

Common: Fix condition on osd restart handler

8 years agoCommon: Fix condition on osd restart handler 1477/head
Guillaume Abrioux [Thu, 27 Apr 2017 14:24:21 +0000 (16:24 +0200)]
Common: Fix condition on osd restart handler

Fix the condition on the osd restart handler.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agoMerge pull request #1476 from WingkaiHo/improve-shrink-osd.yml
Sébastien Han [Thu, 27 Apr 2017 09:01:27 +0000 (11:01 +0200)]
Merge pull request #1476 from WingkaiHo/improve-shrink-osd.yml

improve shrink-osd.yml can shrink osd when disk damage

8 years agoimprove shrink-osd.yml can shrink osd when disk damage 1476/head
WingkaiHo [Thu, 27 Apr 2017 02:26:26 +0000 (10:26 +0800)]
improve shrink-osd.yml can shrink osd when disk damage

8 years agoMerge pull request #1458 from ceph/wip-rgw-tuning
Andrew Schoen [Tue, 25 Apr 2017 22:12:15 +0000 (17:12 -0500)]
Merge pull request #1458 from ceph/wip-rgw-tuning

rgw: set tuning parameters

8 years agorgw: set tuning parameters 1458/head
Ali Maredia [Wed, 19 Apr 2017 16:30:40 +0000 (12:30 -0400)]
rgw: set tuning parameters

Change civetweb_num_thread default to 100

Add capability to override number of pgs for
rgw pools.

Add ceph.conf vars to enable default bucket
object quota at users choosing into the ceph.conf.j2
template

Resolves: rhbz#1437173
Resolves: rhbz#1391500

Signed-off-by: Ali Maredia <amaredia@redhat.com>
8 years agoMerge pull request #1464 from ceph/purge-ceph-target
Alfredo Deza [Tue, 25 Apr 2017 18:12:49 +0000 (14:12 -0400)]
Merge pull request #1464 from ceph/purge-ceph-target

purge-cluster: remove unneeded tasks

8 years agopurge-cluster: check for any running ceph process after purge 1464/head
Andrew Schoen [Tue, 25 Apr 2017 12:35:13 +0000 (07:35 -0500)]
purge-cluster: check for any running ceph process after purge

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoansible: add logging path 1468/head
Sébastien Han [Tue, 25 Apr 2017 08:10:09 +0000 (10:10 +0200)]
ansible: add logging path

Ability to log ansible plays in a log file. Default location is
/var/log/ansible.log
Be sure the user running Ansible has permissions on the logfile.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1445065
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1466 from ceph/upgrade-calamari
Andrew Schoen [Mon, 24 Apr 2017 14:34:41 +0000 (07:34 -0700)]
Merge pull request #1466 from ceph/upgrade-calamari

mon: upgrade calamari when running rolling_update playbook

8 years agoAdd clearlinux to supported platforms 1460/head
Alberto Murillo [Fri, 22 Apr 2016 19:13:36 +0000 (14:13 -0500)]
Add clearlinux to supported platforms

Signed-off-by: Alberto Murillo Silva <alberto.murillo.silva@intel.com>
8 years agoMerge pull request #1455 from ceph/restart_daemons
Andrew Schoen [Mon, 24 Apr 2017 13:54:07 +0000 (06:54 -0700)]
Merge pull request #1455 from ceph/restart_daemons

Common: Restore check_socket

8 years agoCommon: Restore check_socket 1455/head
Guillaume Abrioux [Tue, 18 Apr 2017 10:40:43 +0000 (12:40 +0200)]
Common: Restore check_socket

Restore the check_socket that was removed by `5bec62b`.
This commit also improves the logging in `restart_*_daemon.sh` scripts

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agomon: upgrade calamari when running rolling_update playbook 1466/head
Sébastien Han [Mon, 24 Apr 2017 09:04:06 +0000 (11:04 +0200)]
mon: upgrade calamari when running rolling_update playbook

Prior to this change, ansible was only checking for the existence of the
package, now if upgrade_ceph_packages is true this means we are
performing an upgrade.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1442016
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1461 from ceph/wip-remove-osd-directory-scenario
Sébastien Han [Mon, 24 Apr 2017 08:54:54 +0000 (10:54 +0200)]
Merge pull request #1461 from ceph/wip-remove-osd-directory-scenario

remove osd directory scenario

8 years agoremove osd directory scenario 1461/head
Gregory Meno [Thu, 20 Apr 2017 23:47:06 +0000 (16:47 -0700)]
remove osd directory scenario

Proof-of-concept clusters or actual production clusters will never want to use this. We also do not test it anywhere for this same reason.

Signed-off-by: Gregory Meno <gmeno@redhat.com>
8 years agopurge-cluster: we don't support sysv or upstart anymore
Andrew Schoen [Fri, 21 Apr 2017 22:14:38 +0000 (15:14 -0700)]
purge-cluster: we don't support sysv or upstart anymore

Now that ceph-ansible only supports > jewel we don't need
to bother with sysv or upstart

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agopurge-cluster: do not need to check for running ceph processes
Andrew Schoen [Fri, 21 Apr 2017 22:12:46 +0000 (15:12 -0700)]
purge-cluster: do not need to check for running ceph processes

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agopurge-cluster: no need to remove ceph.target
Andrew Schoen [Fri, 21 Apr 2017 22:11:03 +0000 (15:11 -0700)]
purge-cluster: no need to remove ceph.target

The package uninstalls will stop ceph.target

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1463 from ceph/mgr-rhcs
Alfredo Deza [Fri, 21 Apr 2017 19:48:13 +0000 (12:48 -0700)]
Merge pull request #1463 from ceph/mgr-rhcs

tests: mgr nodes should have the ceph-mon repo install

8 years agoMerge pull request #1459 from jcsp/wip-19713
Sébastien Han [Fri, 21 Apr 2017 18:34:46 +0000 (13:34 -0500)]
Merge pull request #1459 from jcsp/wip-19713

mon: update mgr key capabilities

8 years agotests: mgr nodes should have the ceph-mon repo install 1463/head
Andrew Schoen [Fri, 21 Apr 2017 17:45:33 +0000 (10:45 -0700)]
tests: mgr nodes should have the ceph-mon repo install

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agomon: update mgr key capabilities 1459/head
John Spray [Thu, 20 Apr 2017 14:17:45 +0000 (15:17 +0100)]
mon: update mgr key capabilities

This is to allow ceph-mgr daemons to remote control
osd and mds daemons with MCommand messages.

Fixes: http://tracker.ceph.com/issues/19713
Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #1456 from netservers/master
Sébastien Han [Wed, 19 Apr 2017 19:25:41 +0000 (14:25 -0500)]
Merge pull request #1456 from netservers/master

Apparmor on Ubuntu Xenial will not permit containers to mount devices.

8 years agoApparmor on Ubuntu Xenial will not permit containers to mount devices, even with... 1456/head
John McEleney [Wed, 19 Apr 2017 09:12:04 +0000 (10:12 +0100)]
Apparmor on Ubuntu Xenial will not permit containers to mount devices, even with CAP SYS_ADMIN.

8 years agoMerge pull request #1453 from ceph/docs-fixtures
Andrew Schoen [Mon, 17 Apr 2017 20:46:02 +0000 (15:46 -0500)]
Merge pull request #1453 from ceph/docs-fixtures

[docs] fixtures and Python tests

8 years agoMerge pull request #1454 from ceph/tox-docs
Alfredo Deza [Mon, 17 Apr 2017 20:43:05 +0000 (16:43 -0400)]
Merge pull request #1454 from ceph/tox-docs

docs: write docs for tox.ini file

8 years agodocs: review feedback on testing/tox.rst 1454/head
Andrew Schoen [Mon, 17 Apr 2017 20:39:01 +0000 (15:39 -0500)]
docs: review feedback on testing/tox.rst

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agodocs: fix rst error in scenarios.rst
Andrew Schoen [Mon, 17 Apr 2017 20:15:33 +0000 (15:15 -0500)]
docs: fix rst error in scenarios.rst

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agodocs: write docs for tox.ini file
Andrew Schoen [Thu, 13 Apr 2017 19:50:43 +0000 (14:50 -0500)]
docs: write docs for tox.ini file

Signed-off-by: Andrew Schoen <aschoen@redhat.com>