]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
ceph-ansible.git
8 years agoCommon: Do not install ntp when ntp_service_enabled is false 1399/head
Guillaume Abrioux [Tue, 28 Mar 2017 15:45:09 +0000 (17:45 +0200)]
Common: Do not install ntp when ntp_service_enabled is false

ntp is still installed even if ntp_service_enabled is set to false.
That could be a problem if the time synchronization is managed by
something else than ceph-ansible or if you want to use different NTP
implementation as suggested in #1354.

Fixes: #1354
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Signed-off-by: Guits <gabrioux@redhat.com>
8 years agoMerge pull request #1397 from ceph/debug
Sébastien Han [Tue, 28 Mar 2017 10:15:49 +0000 (12:15 +0200)]
Merge pull request #1397 from ceph/debug

vagrant: add debug option

8 years agovagrant: add debug option 1397/head
Sébastien Han [Tue, 28 Mar 2017 10:00:32 +0000 (12:00 +0200)]
vagrant: add debug option

If debug is set to true in vagrant_variables.yml then during the vagrant
provision phase Ansible will run with -vvvv option

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1386 from WingkaiHo/master
Sébastien Han [Tue, 28 Mar 2017 07:50:39 +0000 (09:50 +0200)]
Merge pull request #1386 from WingkaiHo/master

Create recover-osds-after-ssd-journal-failure.yml

8 years agoMerge pull request #1391 from k0ste/newfeature
Sébastien Han [Mon, 27 Mar 2017 16:48:33 +0000 (18:48 +0200)]
Merge pull request #1391 from k0ste/newfeature

Resolve issues when groups names not in default value.

8 years agoMerge pull request #1396 from guits/fix_1374
Sébastien Han [Mon, 27 Mar 2017 16:13:51 +0000 (18:13 +0200)]
Merge pull request #1396 from guits/fix_1374

BugFix: Fix #1374

8 years agoResolve issues when groups names not in default value. 1391/head
Konstantin Shalygin [Fri, 24 Mar 2017 06:40:15 +0000 (13:40 +0700)]
Resolve issues when groups names not in default value.

8 years agoBugFix: Fix #1374 1396/head
Guillaume Abrioux [Thu, 23 Mar 2017 15:00:02 +0000 (16:00 +0100)]
BugFix: Fix #1374

If a group of hosts is empty, (for instance 'mdss', in case of a
deployment without any mds node), the playbook will fails when trying
to restart service with `"'dict object' has no attribute u'XXX'"` error.

The idea here is to force the `with_items` statements in all included handler tasks
to get at least an empty array.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agoMerge pull request #1394 from concubidated/master
Sébastien Han [Mon, 27 Mar 2017 09:12:15 +0000 (11:12 +0200)]
Merge pull request #1394 from concubidated/master

ceph-common: update sysctl file location

8 years agoremove the change 1386/head
WingkaiHo [Mon, 27 Mar 2017 03:06:32 +0000 (11:06 +0800)]
remove the change

8 years agoenable ceph-mon.target service after monitor start, fix the ceph monitor service...
WingkaiHo [Mon, 27 Mar 2017 03:01:35 +0000 (11:01 +0800)]
enable ceph-mon.target service after monitor start, fix the ceph monitor service do not start when the ceph reboot

8 years agoMerge https://github.com/ceph/ceph-ansible
WingkaiHo [Mon, 27 Mar 2017 02:50:38 +0000 (10:50 +0800)]
Merge https://github.com/ceph/ceph-ansible

8 years agoceph-common: update sysctl file location 1394/head
Concubidated [Fri, 24 Mar 2017 19:52:37 +0000 (12:52 -0700)]
ceph-common: update sysctl file location

systctl tuning should be in the sysctl.d directory. This creates
a seperation from what values were set specific to ceph, and what
values were set by the operator.

Signed-off-by: Tyler Brekke <tbrekke@redhat.com>
8 years agoMerge pull request #1389 from ceph/downstream-testing
Andrew Schoen [Fri, 24 Mar 2017 15:09:12 +0000 (10:09 -0500)]
Merge pull request #1389 from ceph/downstream-testing

tests: enable testing of rhcs

8 years agotests: change ceph/ubuntu-xenial boxes to rhel7 1389/head
Andrew Schoen [Thu, 23 Mar 2017 13:43:11 +0000 (08:43 -0500)]
tests: change ceph/ubuntu-xenial boxes to rhel7

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: when testing rhcs default CEPH_STABLE=false
Andrew Schoen [Thu, 23 Mar 2017 11:42:43 +0000 (06:42 -0500)]
tests: when testing rhcs default CEPH_STABLE=false

This will keep ceph-ansible from installing the upstream repo file on
the testing nodes.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agocommand module instead shell
WingkaiHo [Thu, 23 Mar 2017 09:38:41 +0000 (17:38 +0800)]
command module instead shell

8 years agoremove service enable
WingkaiHo [Thu, 23 Mar 2017 07:28:14 +0000 (15:28 +0800)]
remove service enable

8 years agobreak it into lines since you already use the string block synta and fix disable...
WingkaiHo [Thu, 23 Mar 2017 06:49:10 +0000 (14:49 +0800)]
break it into lines since you already use the string block synta and fix disable it here and enable again in later task

8 years agoremove this detection and simply rely on {{ cluster }}
WingkaiHo [Thu, 23 Mar 2017 01:22:06 +0000 (09:22 +0800)]
remove this detection and simply rely on {{ cluster }}

8 years agotests: change hosts in first play in rhcs_setup to localhost
Andrew Schoen [Thu, 23 Mar 2017 00:40:34 +0000 (19:40 -0500)]
tests: change hosts in first play in rhcs_setup to localhost

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: set MTU to 1400 on test node interfaces
Andrew Schoen [Wed, 22 Mar 2017 21:44:29 +0000 (16:44 -0500)]
tests: set MTU to 1400 on test node interfaces

In the environment we were testing on, MTU was set to 1500 which causes
download failures of our yum repos. There might be a better way to set
this instead of doing it here in ansible.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: adds a task to download a repo file for nightly rhel7 packages
Andrew Schoen [Wed, 22 Mar 2017 21:18:57 +0000 (16:18 -0500)]
tests: adds a task to download a repo file for nightly rhel7 packages

This is a url to an actual repo file, not a baseurl to use in a repo.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: fix ceph tools baseurl
Andrew Schoen [Wed, 22 Mar 2017 21:02:50 +0000 (16:02 -0500)]
tests: fix ceph tools baseurl

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: enable the downstream rhcs repos
Andrew Schoen [Wed, 22 Mar 2017 20:42:17 +0000 (15:42 -0500)]
tests: enable the downstream rhcs repos

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: fix task in rhcs_setup that changes vagrant box to rhel7
Andrew Schoen [Wed, 22 Mar 2017 17:38:12 +0000 (12:38 -0500)]
tests: fix task in rhcs_setup that changes vagrant box to rhel7

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: use the rhcs_setup.yml playbook in tox.ini
Andrew Schoen [Wed, 22 Mar 2017 15:14:41 +0000 (10:14 -0500)]
tests: use the rhcs_setup.yml playbook in tox.ini

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: adds a rhcs_setup.yml playbook
Andrew Schoen [Wed, 22 Mar 2017 15:13:51 +0000 (10:13 -0500)]
tests: adds a rhcs_setup.yml playbook

This is used to configure the test nodes for testing Ret Had Ceph
Storage.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotest: docker dmcrypt tests should use the site.docker.yml playbook
Andrew Schoen [Wed, 22 Mar 2017 14:16:06 +0000 (09:16 -0500)]
test: docker dmcrypt tests should use the site.docker.yml playbook

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: adds a 'rhcs-' prefix to the testing scenarios matrix
Andrew Schoen [Wed, 22 Mar 2017 13:49:49 +0000 (08:49 -0500)]
tests: adds a 'rhcs-' prefix to the testing scenarios matrix

This allows for us to have a copy of the existing testing scenarios with
a 'rhcs-' prefix. We can use that in the tox.ini to take actions we need
to properly test Red Hat Ceph Storage.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1345 from guits/fix_1338
Sébastien Han [Wed, 22 Mar 2017 11:02:35 +0000 (12:02 +0100)]
Merge pull request #1345 from guits/fix_1338

ceph-docker: fix bootstrap directories permissions

8 years agoceph-docker: fix bootstrap directories permissions 1345/head
Guillaume Abrioux [Fri, 3 Mar 2017 13:58:56 +0000 (14:58 +0100)]
ceph-docker: fix bootstrap directories permissions

Make bootstrap directories permissions work for both RedHat and Debian
os families.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Fix: #1338

8 years agofix some pelling mistakes and wirting format, use full device path for device name
WingkaiHo [Wed, 22 Mar 2017 09:48:34 +0000 (17:48 +0800)]
fix some pelling mistakes and wirting format, use full device path for device name

8 years agoThis assumes ceph as a cluster name. We need detect the name of the cluster
WingkaiHo [Wed, 22 Mar 2017 02:09:06 +0000 (10:09 +0800)]
This assumes ceph as a cluster name. We need detect the name of the cluster

8 years agoThis assumes ceph as a cluster name. We need detect the name of the cluster
WingkaiHo [Wed, 22 Mar 2017 02:06:11 +0000 (10:06 +0800)]
This assumes ceph as a cluster name. We need detect the name of the cluster

8 years agoAdd auto detect the ceph cluster name
WingkaiHo [Wed, 22 Mar 2017 02:00:44 +0000 (10:00 +0800)]
Add auto detect the ceph cluster name

8 years agoMerge pull request #1385 from ceph/fetch-dir
Alfredo Deza [Tue, 21 Mar 2017 17:34:42 +0000 (13:34 -0400)]
Merge pull request #1385 from ceph/fetch-dir

tests: allow setting fetch_directory with an environment variable

8 years agoMerge pull request #1382 from anthonyeleven/master
Sébastien Han [Tue, 21 Mar 2017 09:12:42 +0000 (10:12 +0100)]
Merge pull request #1382 from anthonyeleven/master

Enhance clean PG check to catch active+clean+scrubbing and active+cle…

8 years agoMerge pull request #1381 from joke-lee/master
Sébastien Han [Tue, 21 Mar 2017 08:53:01 +0000 (09:53 +0100)]
Merge pull request #1381 from joke-lee/master

the $? of pgrep ceph-rest-api command return is 1 when ceph-rest-api is already run

8 years agoMerge pull request #1379 from D3N14L/fix_1299
Sébastien Han [Tue, 21 Mar 2017 08:43:10 +0000 (09:43 +0100)]
Merge pull request #1379 from D3N14L/fix_1299

Use ansible uri module instead of shell module with curl

8 years agoMerge pull request #1376 from czunker/fix_osd_crush_location
Sébastien Han [Tue, 21 Mar 2017 08:41:10 +0000 (09:41 +0100)]
Merge pull request #1376 from czunker/fix_osd_crush_location

Fix osd_crush_location to prevent systemd error message

8 years agoMerge pull request #1365 from czunker/fix_osd_fragments
Sébastien Han [Tue, 21 Mar 2017 08:40:25 +0000 (09:40 +0100)]
Merge pull request #1365 from czunker/fix_osd_fragments

Make ceph-common aware of osd config fragments

8 years agoAnsible will include host_vars/ansible_hostname.yml itself, no need this task IMO.
WingkaiHo [Tue, 21 Mar 2017 05:50:27 +0000 (13:50 +0800)]
Ansible will include host_vars/ansible_hostname.yml itself, no need this task IMO.

8 years agofix some syntax error
WingkaiHo [Tue, 21 Mar 2017 03:19:25 +0000 (11:19 +0800)]
fix some syntax error

8 years agoCreate recover-osds-after-ssd-journal-failure.yml
WingKai Ho [Tue, 21 Mar 2017 03:08:25 +0000 (11:08 +0800)]
Create recover-osds-after-ssd-journal-failure.yml

This playbook use to recover Ceph OSDs after ssd journal failure.

8 years agotests: allow setting fetch_directory with an environment variable 1385/head
Andrew Schoen [Mon, 20 Mar 2017 21:22:07 +0000 (16:22 -0500)]
tests: allow setting fetch_directory with an environment variable

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1378 from ceph/ceph-create-keys
Alfredo Deza [Mon, 20 Mar 2017 14:25:27 +0000 (10:25 -0400)]
Merge pull request #1378 from ceph/ceph-create-keys

ceph-mon: always call ceph-create-keys

8 years agoEnhance clean PG check to catch active+clean+scrubbing and active+clean+scrubbing... 1382/head
Anthony D'Atri [Sun, 19 Mar 2017 07:23:26 +0000 (00:23 -0700)]
Enhance clean PG check to catch active+clean+scrubbing and active+clean+scrubbing+deep

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
8 years agothe $? of pgrep ceph-rest-api command return is 1 when ceph-rest-api already run... 1381/head
yuliyang [Fri, 17 Mar 2017 09:40:45 +0000 (17:40 +0800)]
the $? of pgrep ceph-rest-api command return is 1 when ceph-rest-api already run.  use ps instead

8 years agoMerge pull request #1368 from ceph/test-install-methods
Andrew Schoen [Fri, 17 Mar 2017 14:28:12 +0000 (09:28 -0500)]
Merge pull request #1368 from ceph/test-install-methods

tests: provide ways to change the install method

8 years agoFix osd_crush_location to prevent systemd error message 1376/head
Christian Zunker [Thu, 16 Mar 2017 13:25:15 +0000 (14:25 +0100)]
Fix osd_crush_location to prevent systemd error message

With ' in osd_crush_location, systemd will show this error:
ceph-osd-prestart.sh[2931]: Invalid command:  invalid chars ' in 'root=

Signed-off-by: Christian Zunker <christian.zunker@codecentric.de>
8 years agoUse ansible uri module instead of shell module with curl 1379/head
Daniel Marks [Thu, 16 Mar 2017 22:16:30 +0000 (23:16 +0100)]
Use ansible uri module instead of shell module with curl

This fixes issue #1299. According to @ktdreyer s comment in the ticket,
he fixed the web server config so also older (non-SNI) python clients
can use the uri module here.

8 years agoceph-mon: always call ceph-create-keys 1378/head
Andrew Schoen [Thu, 16 Mar 2017 21:31:25 +0000 (16:31 -0500)]
ceph-mon: always call ceph-create-keys

After the jewel release the mon startup does not generate keys, but it's
still harmless to call ceph-create-keys with jewel because this task has
a 'creates' argument that will cause it not to run if the keys already
exist.

Removing this when condition also allows the downstream CI tests to
install kraken or luminous without resetting ceph_stable_release, which does not
pertain to rhcs.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: convert extra-vars to use json 1368/head
Andrew Schoen [Thu, 16 Mar 2017 11:16:09 +0000 (06:16 -0500)]
tests: convert extra-vars to use json

This will prevent ansible from misreading any of these values. There
were failures with xenial deployments because the value set for
``ceph_rhcs`` was being treated as a boolean True even though I'd set
the value to false. This is because boolean values passed in with
--extra-vars must use the json format.

The formatting of the json is very important as you need a '\' to escape
the starting and ending json to make tox happy. Also, each line needs to
end with '\' if it's a multi-line command.

Another thing to note is that if you want to use extra vars at the
command line to respond to a vars_prompt it must be in key/value format.
This is why we have a -e and a --extra-vars on the purge and update
tests.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1371 from ceph/yum-repo v2.2.0rc1
Sébastien Han [Thu, 16 Mar 2017 14:17:20 +0000 (15:17 +0100)]
Merge pull request #1371 from ceph/yum-repo

docker: change centos extra repo var name

8 years agodocker: change centos extra repo var name 1371/head
Sébastien Han [Thu, 16 Mar 2017 09:57:13 +0000 (10:57 +0100)]
docker: change centos extra repo var name

This is not only for monitors, but also mds, rgw and rbd mirror so
making the var name more generic:
ceph_docker_enable_centos_extra_repo

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1331 from guits/enh_1321
Sébastien Han [Thu, 16 Mar 2017 12:28:45 +0000 (13:28 +0100)]
Merge pull request #1331 from guits/enh_1321

ceph-mon: create openstack pools and keys even for containerized deployments

8 years agoMerge pull request #1373 from ceph/docker-mon-wait
Sébastien Han [Thu, 16 Mar 2017 11:03:15 +0000 (12:03 +0100)]
Merge pull request #1373 from ceph/docker-mon-wait

mon: increase wait for monitor socket timeout

8 years agomon: increase wait for monitor socket timeout 1373/head
Sébastien Han [Thu, 16 Mar 2017 10:16:49 +0000 (11:16 +0100)]
mon: increase wait for monitor socket timeout

Sometimes the socket appears during the 5th attempt and sometimes not so
increasing the timeout a little bit.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoceph-mon: Create openstack pools and keys even for containerized deployments 1331/head
Guillaume Abrioux [Fri, 24 Feb 2017 09:22:16 +0000 (10:22 +0100)]
ceph-mon: Create openstack pools and keys even for containerized deployments

Add the possibility to create openstack pools and keys even for containerized deployments

Fix: #1321
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agoMerge pull request #1370 from ceph/template-rbd-mirror
Sébastien Han [Thu, 16 Mar 2017 09:19:26 +0000 (10:19 +0100)]
Merge pull request #1370 from ceph/template-rbd-mirror

rbd-mirror: fix spelling

8 years agorbd-mirror: fix spelling 1370/head
Sébastien Han [Thu, 16 Mar 2017 09:18:31 +0000 (10:18 +0100)]
rbd-mirror: fix spelling

It is RBD and NOT RDB.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMake ceph-common aware off osd config fragments 1365/head
Christian Zunker [Wed, 15 Mar 2017 12:32:30 +0000 (13:32 +0100)]
Make ceph-common aware off osd config fragments

This removes the implicit order requirement when using OSD fragments.
When you use OSD fragments and ceph-osd role is not the last one,
the fragments get removed from ceph.conf by ceph-common.

It is not nice to have this code at two locations, but this is
necessary to prevent problems, when ceph-osd is the last role as
ceph-common gets executed before ceph-osd.

This could be prevented when ceph-common would be explicitly called
at the end of the playbook.

Signed-off-by: Christian Zunker <christian.zunker@codecentric.de>
8 years agotests: change USE_CEPH_RHCS to CEPH_RHCS
Andrew Schoen [Wed, 15 Mar 2017 21:28:50 +0000 (16:28 -0500)]
tests: change USE_CEPH_RHCS to CEPH_RHCS

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: use CEPH_STABLE to set the value for ceph_stable
Andrew Schoen [Wed, 15 Mar 2017 21:10:08 +0000 (16:10 -0500)]
tests: use CEPH_STABLE to set the value for ceph_stable

When using CEPH_DEV=true you'll need to set CEPH_STABLE=false so that
that an upstream repo file doesn't get created.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: reformat tox.ini for better readability
Andrew Schoen [Wed, 15 Mar 2017 21:06:00 +0000 (16:06 -0500)]
tests: reformat tox.ini for better readability

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: adds the ability to set the ceph_stable_release value
Andrew Schoen [Wed, 15 Mar 2017 20:08:39 +0000 (15:08 -0500)]
tests: adds the ability to set the ceph_stable_release value

Use CEPH_STABLE_RELEASE to set the name of the ceph release you plan to
install. When testing an upgrade scenario you'll also need to set
UPGRADE_CEPH_STABLE_RELEASE.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: add the ability to run tests with shaman repos
Andrew Schoen [Wed, 15 Mar 2017 20:01:32 +0000 (15:01 -0500)]
tests: add the ability to run tests with shaman repos

To run tests that deploy shaman repos set CEPH_DEV=true and optionally
use CEPH_DEV_BRANCH and CEPH_DEV_SHA1 to define with branch and sha1 to
test. CEPH_DEV_BRANCH defaults to master and CEPH_DEV_SHA1 defaults to
latest.

For example, this would run the journal_collocation test with the latest
build of the master branch:

  CEPH_DEV=true tox -rve ansible2.2-journal_collocation

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: use CEPH_ORIGIN to control the value of ceph_origin
Andrew Schoen [Wed, 15 Mar 2017 19:53:42 +0000 (14:53 -0500)]
tests: use CEPH_ORIGIN to control the value of ceph_origin

For example, the following would run the journal collocation test and
would install ceph from the repos already on the nodes:

  CEPH_ORIGIN=distro tox -rve ansible2.2-journal_collocation

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: when running test set USE_RHCS=true to install set ceph_rhcs=true
Andrew Schoen [Wed, 15 Mar 2017 19:32:42 +0000 (14:32 -0500)]
tests: when running test set USE_RHCS=true to install set ceph_rhcs=true

When invoking the tests if USE_RHCS=true is set then all tests will be
run with ceph_rhcs=True.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1367 from D3N14L/fix_whitespaces_from_1336
Andrew Schoen [Wed, 15 Mar 2017 21:37:04 +0000 (16:37 -0500)]
Merge pull request #1367 from D3N14L/fix_whitespaces_from_1336

Fixing tabs that are breaking the syntax check

8 years agoFixing tabs that are breaking the syntax check 1367/head
Daniel Marks [Wed, 15 Mar 2017 13:15:15 +0000 (14:15 +0100)]
Fixing tabs that are breaking the syntax check

With the merge of PR #1336 the syntax check fails. This commit replaces
the tabs with proper indentation.

8 years agoMerge pull request #1336 from WingkaiHo/master
Sébastien Han [Wed, 15 Mar 2017 10:55:26 +0000 (11:55 +0100)]
Merge pull request #1336 from WingkaiHo/master

Load a variable file for devices partition

8 years agoMerge pull request #1363 from ceph/rgw-mds-container
Sébastien Han [Tue, 14 Mar 2017 21:50:05 +0000 (22:50 +0100)]
Merge pull request #1363 from ceph/rgw-mds-container

kv scenario: add KV_PORT option

8 years agokv scenario: add KV_PORT option 1363/head
Sébastien Han [Tue, 14 Mar 2017 21:46:09 +0000 (22:46 +0100)]
kv scenario: add KV_PORT option

This option was missing for rrgw, mds, rbd mirror and nfs making these
daemon impossible to run on a kv deployment with containers.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1317 from ibotty/harmonize-docker-names
Sébastien Han [Tue, 14 Mar 2017 17:20:20 +0000 (18:20 +0100)]
Merge pull request #1317 from ibotty/harmonize-docker-names

harmonize docker names

8 years agoMerge pull request #1358 from ceph/nfs-ganesha-fsal-deb
Sébastien Han [Tue, 14 Mar 2017 15:03:14 +0000 (16:03 +0100)]
Merge pull request #1358 from ceph/nfs-ganesha-fsal-deb

ceph-common: install nfs-ganesha FSALs on Debian

8 years agoceph-common: install nfs-ganesha FSALs on Debian 1358/head
Ken Dreyer [Mon, 13 Mar 2017 15:34:35 +0000 (09:34 -0600)]
ceph-common: install nfs-ganesha FSALs on Debian

Prior to this change, ceph-ansible would install the main NFS Ganesha
server daemon on Ubuntu, but it would skip the Ceph FSALs.

Running "apt-get install nfs-ganesha" will only install the main NFS Ganesha
server. It does *not* pull in the RGW FSAL
(/usr/lib/x86_64-linux-gnu/ganesha/libfsalrgw.so)

Running "apt-get install nfs-ganesha-fsal" will install the RGW FSAL as
well as the main NFS Ganesha server package.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
8 years agoMerge pull request #1356 from ceph/wip-calamari-debug
Sébastien Han [Tue, 14 Mar 2017 09:55:52 +0000 (10:55 +0100)]
Merge pull request #1356 from ceph/wip-calamari-debug

calamari: Add debugging option

8 years agocalamari: Add debugging option 1356/head
Boris Ranto [Mon, 13 Mar 2017 12:46:38 +0000 (13:46 +0100)]
calamari: Add debugging option

This patch introduces calamari_debug option which will turn on debugging
for calamari before initializing and running it.

Signed-off-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #1355 from ceph/rolling-update-tests
Alfredo Deza [Thu, 9 Mar 2017 19:08:59 +0000 (14:08 -0500)]
Merge pull request #1355 from ceph/rolling-update-tests

tests: adds an update_cluster testing scenario

8 years agotests: adds an update_cluster testing scenario 1355/head
Andrew Schoen [Tue, 7 Mar 2017 20:05:03 +0000 (14:05 -0600)]
tests: adds an update_cluster testing scenario

This updates the centos 7 cluster scenario from jewel to kraken using
the rolling_update playbook.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1349 from ceph/rhbz-1354700
Sébastien Han [Wed, 8 Mar 2017 17:02:30 +0000 (18:02 +0100)]
Merge pull request #1349 from ceph/rhbz-1354700

purge-cluster: do not set group name vars at playbook level

8 years agoMerge pull request #1347 from ceph/no-vfs-cache-pressure
Sébastien Han [Wed, 8 Mar 2017 17:02:06 +0000 (18:02 +0100)]
Merge pull request #1347 from ceph/no-vfs-cache-pressure

avoid setting vfs_cache_pressure

8 years agoswitch-to-containers: do not include group vars or role defaults 1349/head
Andrew Schoen [Tue, 7 Mar 2017 19:51:48 +0000 (13:51 -0600)]
switch-to-containers: do not include group vars or role defaults

Doing so will override any values set for these in the group_vars
directory relative to the users inventory.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agopurge-docker-cluster: do not include role defaults or group vars
Andrew Schoen [Tue, 7 Mar 2017 19:45:22 +0000 (13:45 -0600)]
purge-docker-cluster: do not include role defaults or group vars

Doing so at playbook level overrides whatever values might be set for
these in the user's group_vars directory that's relative to their
inventory.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoswitch-to-containers: do not set group name vars at playbook level
Andrew Schoen [Tue, 7 Mar 2017 19:32:57 +0000 (13:32 -0600)]
switch-to-containers: do not set group name vars at playbook level

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agopurge-docker-cluster: do not set group names vars at playbook level
Andrew Schoen [Tue, 7 Mar 2017 19:23:40 +0000 (13:23 -0600)]
purge-docker-cluster: do not set group names vars at playbook level

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agorolling-update: do not set group name vars at playbook level
Andrew Schoen [Tue, 7 Mar 2017 19:16:12 +0000 (13:16 -0600)]
rolling-update: do not set group name vars at playbook level

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agopurge-cluster: do not set group name vars at playbook level
Andrew Schoen [Tue, 7 Mar 2017 16:16:09 +0000 (10:16 -0600)]
purge-cluster: do not set group name vars at playbook level

This has the behavior of overriding custom values set in group_vars.
I've added defaults to the rest of the group names so that if they are
not overridden in group_vars then defaults will be used.

See: https://bugzilla.redhat.com/show_bug.cgi?id=1354700

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoUpdate make-osd-partitions.yml 1336/head
WingKai Ho [Wed, 8 Mar 2017 09:46:37 +0000 (17:46 +0800)]
Update make-osd-partitions.yml

change

8 years agoMerge pull request #1350 from ceph/make-handle-rc
Alfredo Deza [Tue, 7 Mar 2017 21:12:10 +0000 (16:12 -0500)]
Merge pull request #1350 from ceph/make-handle-rc

Makefile: handle "rc" version tags

8 years agoMakefile: handle "rc" version tags 1350/head
Ken Dreyer [Tue, 7 Mar 2017 18:01:15 +0000 (11:01 -0700)]
Makefile: handle "rc" version tags

When "git describe" returns an "rc" tag (eg "2.2.0rc1"), insert the RC
number into the RPM's "Release" field.

Add comments with some git-describe values and NVRs.

8 years agoMakefile: generate tagged RPMs with "-1" release value
Ken Dreyer [Tue, 7 Mar 2017 18:11:53 +0000 (11:11 -0700)]
Makefile: generate tagged RPMs with "-1" release value

Prior to this change, if we built an RPM from a tagged commit, the RPM
would have a release value of "0".

This causes some problems with RPM version comparisons when comparing
version numbers with "rc" tags/packages, which should also have a
less-than-one Release value.

8 years agoMerge pull request #1335 from batrick/mon-fs-cmd-1mon
Sébastien Han [Tue, 7 Mar 2017 15:45:16 +0000 (16:45 +0100)]
Merge pull request #1335 from batrick/mon-fs-cmd-1mon

send fs commands to one mon

8 years agoMerge pull request #1339 from ceph/rgw-remove-sudo
Sébastien Han [Tue, 7 Mar 2017 15:44:28 +0000 (16:44 +0100)]
Merge pull request #1339 from ceph/rgw-remove-sudo

rgw: remove sudoers file

8 years agoMerge pull request #1346 from ceph/fix-rhcs-rhel-supported-message
Sébastien Han [Mon, 6 Mar 2017 14:50:24 +0000 (15:50 +0100)]
Merge pull request #1346 from ceph/fix-rhcs-rhel-supported-message

check_system: improve RHCS support message and version comparison

8 years agoUpdate make-osd-partitions.yml
WingKai Ho [Mon, 6 Mar 2017 07:43:09 +0000 (15:43 +0800)]
Update make-osd-partitions.yml

When ansible do not load the file host_vars/{{ ansible_hostname }}.yml and host_vars/default.yml it will show syntactic, so keyword "skip" to fix it.
Exit the playbook if the user not define devices  in both  host_vars/{{ ansible_hostname }}.yml and host_vars/default.yml

8 years agoUpdate make-osd-partitions.yml
WingKai Ho [Mon, 6 Mar 2017 02:33:22 +0000 (10:33 +0800)]
Update make-osd-partitions.yml

When ansible do not load the file host_vars/{{ ansible_hostname }}.yml and host_vars/default.yml it will show syntactic err, so add keyword "skip" to fix it.

Exit the playbook if the user not define devices  in both  host_vars/{{ ansible_hostname }}.yml and host_vars/default.yml
host_vars/default.yml

8 years agoavoid setting vfs_cache_pressure 1347/head
Ken Dreyer [Fri, 3 Mar 2017 18:20:05 +0000 (11:20 -0700)]
avoid setting vfs_cache_pressure

From Josh Durgin, "I'd recommend not setting vfs_cache_pressure in
ceph-ansible. The syncfs issue is still there, and has caused real
problems in the past, whereas there hasn't been good data showing lower
vfs_cache_pressure is very helpful - the only cases I'm aware of have
shown it makes little difference to performance."

https://bugzilla.redhat.com/show_bug.cgi?id=1395451