]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
Guillaume Abrioux [Thu, 16 Nov 2017 10:49:18 +0000 (11:49 +0100)]
purge-cluster: remove usage of `with_fileglob`
`with_fileglob` loops over files on the machine where ansible-playbook
is being run.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Mon, 20 Nov 2017 09:40:18 +0000 (10:40 +0100)]
Merge pull request #2197 from ceph/fix_gpt_prepare
osd: ensure a gpt label is set on device
Guillaume Abrioux [Fri, 17 Nov 2017 16:32:23 +0000 (17:32 +0100)]
osd: ensure a gpt label is set on device
ceph-disk prepare will fail on jewel if a GPT label is not present on
device.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Thu, 16 Nov 2017 18:39:01 +0000 (19:39 +0100)]
Merge pull request #2189 from fultonj/empty-acl
Make openstack_keys param support no acls list
Guillaume Abrioux [Thu, 16 Nov 2017 17:02:35 +0000 (18:02 +0100)]
Merge pull request #2184 from ceph/fix_wildcard_remove
purge-docker: remove osd disk prepare logs
John Fulton [Thu, 16 Nov 2017 16:29:59 +0000 (11:29 -0500)]
Make openstack_keys param support no acls list
A recent change [1] required that the openstack_keys
param always containe an acls list. However, it's
possible it might not contain that list. Thus, this
param sets a default for that list to be empty if it
is not in the structure as defined by the user.
[1]
d65cbaa53952269ec9a2e76fca8203ce7ad22c2b
Sébastien Han [Thu, 16 Nov 2017 15:55:39 +0000 (16:55 +0100)]
Merge pull request #2182 from ceph/fix_reboot_rbd
rbd: enable ceph-rbd-mirror.target on releases prior to luminous
Guillaume Abrioux [Thu, 16 Nov 2017 15:52:13 +0000 (16:52 +0100)]
Merge pull request #2186 from ceph/dmcrypt-fixfg
osd: multiple fixes
Sébastien Han [Thu, 16 Nov 2017 13:58:40 +0000 (14:58 +0100)]
osd: remove leftover from osd partition
We used to support osds that are a partition. This is long gone so
removing this task.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 16 Nov 2017 13:57:49 +0000 (14:57 +0100)]
osd: remove failed_when on activation
There is no need to continue if the activation fails.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 16 Nov 2017 13:55:08 +0000 (14:55 +0100)]
osd: fix bad activation for dmcrypt
We were activating dmcrypt devices with the wrong command. Basically the
first task execute the wrong activate command. The task fails but
continues because of the 'failed_when: false'. Then the right activation
sequence is being done by the next task.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 16 Nov 2017 13:35:28 +0000 (14:35 +0100)]
Merge pull request #2151 from hwoarang/add-opensuse
Add openSUSE Leap 42.3 support
Guillaume Abrioux [Thu, 16 Nov 2017 10:36:17 +0000 (11:36 +0100)]
purge-docker: remove osd disk prepare logs
`with_fileglob` loops over files on the machine that runs the playbook.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Thu, 16 Nov 2017 13:14:23 +0000 (14:14 +0100)]
Merge pull request #2172 from ceph/lvm-raw-device
lvm: add support for --data to be a raw device or partition
Guillaume Abrioux [Thu, 16 Nov 2017 09:50:30 +0000 (10:50 +0100)]
rbd: enable ceph-rbd-mirror.target for releases <= luminous
when `ceph-rbd-mirror.target` is not enabled, the service won't start
after a reboot because there is a dependency between these two units.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Thu, 16 Nov 2017 09:29:03 +0000 (10:29 +0100)]
Merge pull request #2181 from yanyixing/fix_nfs_pkg
[skip ci] fix: remove the duplicated code
Yixing Yan [Thu, 16 Nov 2017 08:45:03 +0000 (16:45 +0800)]
fix: remove the duplicated code
Guillaume Abrioux [Wed, 15 Nov 2017 16:17:23 +0000 (17:17 +0100)]
Merge pull request #2174 from fultonj/chmod-facl-on-all-mon
Set permissions and ACLs of OpenStack keys on all ceph-mons
Andrew Schoen [Tue, 14 Nov 2017 19:19:03 +0000 (13:19 -0600)]
update group_vars/osds.yml.sample for the new lvm_volumes examples
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 13 Nov 2017 20:56:51 +0000 (14:56 -0600)]
lvm: support --data as a raw device or partition in ceph-volume
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 13 Nov 2017 20:29:37 +0000 (14:29 -0600)]
lvm: ensure the data_vg exists before using it
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
John Fulton [Mon, 6 Nov 2017 22:24:48 +0000 (17:24 -0500)]
Set permissions and ACLs of OpenStack keys on all ceph-mons
If ceph-ansible deploys a Ceph cluster with "openstack_config: true"
and sets the openstack_keys map to have certain ACLs or permissions,
the requested ACLs or permissions are only set on one of the monitor
nodes [2] when they should be set on all of them.
This patch solves [3] the above issue by having the chmod and setfacl
tasks iterate the list of mon nodes (including the mon node that the
task was delegated to) to apply the chmod of setfacl to the keys in
openstack_keys.
[1]
```
openstack_keys:
- { name: client.openstack, key: "$(ceph-authtool --gen-print-key)", mon_cap: "allow r", osd_cap: "allow class-read object_prefix rbd_children, allow rwx pool=images, allow rwx pool=vms, allow rwx pool=volumes, allow rwx pool=backups", mode: "0600", acls: ["u:nova:r--", "u:cinder:r--", "u:glance:r--", "u:gnocchi:r--"] }
```
[2]
```
$ ansible mons -m shell -b -a "ls -l /etc/ceph/ceph.client.openstack.keyring ; getfacl /etc/ceph/ceph.client.openstack.keyring"
192.168.1.26 | SUCCESS | rc=0 >>
-rw-r-----+ 1 root root 253 Nov 3 20:30 /etc/ceph/ceph.client.openstack.keyring
user::rw-
user:glance:r--
user:nova:r--
user:cinder:r--
user:gnocchi:r--
group::---
mask::r--
other::---getfacl: Removing leading '/' from absolute path names
192.168.1.29 | SUCCESS | rc=0 >>
-rw-r--r--. 1 root root 253 Nov 3 20:30 /etc/ceph/ceph.client.openstack.keyring
user::rw-
group::r--
other::r--getfacl: Removing leading '/' from absolute path names
192.168.1.23 | SUCCESS | rc=0 >>
-rw-r--r--. 1 root root 253 Nov 3 20:30 /etc/ceph/ceph.client.openstack.keyring
user::rw-
group::r--
other::r--getfacl: Removing leading '/' from absolute path names
$
```
[3]
```
(undercloud) [stack@hci-director ceph-ansible]$ ansible mons -m shell -b -a "ls -l /etc/ceph/ceph.client.openstack.keyring ; getfacl /etc/ceph/ceph.client.openstack.keyring"
192.168.1.25 | SUCCESS | rc=0 >>
-rw-r-----+ 1 root root 253 Nov 14 01:12 /etc/ceph/ceph.client.openstack.keyring
user::rw-
user:glance:r--
user:nova:r--
user:cinder:r--
user:gnocchi:r--
group::---
mask::r--
other::---getfacl: Removing leading '/' from absolute path names
192.168.1.29 | SUCCESS | rc=0 >>
-rw-r-----+ 1 root root 253 Nov 14 01:12 /etc/ceph/ceph.client.openstack.keyring
user::rw-
user:glance:r--
user:nova:r--
user:cinder:r--
user:gnocchi:r--
group::---
mask::r--
other::---getfacl: Removing leading '/' from absolute path names
192.168.1.27 | SUCCESS | rc=0 >>
-rw-r-----+ 1 root root 253 Nov 14 01:12 /etc/ceph/ceph.client.openstack.keyring
user::rw-
user:glance:r--
user:nova:r--
user:cinder:r--
user:gnocchi:r--
group::---
mask::r--
other::---getfacl: Removing leading '/' from absolute path names
(undercloud) [stack@hci-director ceph-ansible]$
```
Guillaume Abrioux [Tue, 14 Nov 2017 21:02:18 +0000 (22:02 +0100)]
Merge pull request #2170 from ceph/remove_osd_zap
tests: remove OSD_FORCE_ZAP variable from tests
Guillaume Abrioux [Tue, 14 Nov 2017 10:58:38 +0000 (11:58 +0100)]
tests: remove OSD_FORCE_ZAP variable from tests
according to ceph/ceph-container#840, this variable is no longer needed.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Tue, 14 Nov 2017 13:46:38 +0000 (14:46 +0100)]
Merge pull request #2165 from ceph/sync_ceph-build
tests: set CEPH_STABLE_RELEASE in ceph-build
Guillaume Abrioux [Fri, 10 Nov 2017 17:25:25 +0000 (18:25 +0100)]
tests: set CEPH_STABLE_RELEASE in ceph-build
`CEPH_STABLE_RELEASE` needs to bet set in ceph-build according
to ceph/ceph-ansible#2165
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Markos Chandras [Thu, 12 Oct 2017 15:30:57 +0000 (16:30 +0100)]
vagrant_variables.yml.sample: Add openSUSE box
Add comment for the appropriate openSUSE box for testing.
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Thu, 12 Oct 2017 14:36:14 +0000 (15:36 +0100)]
ceph-docker-common: Add support for openSUSE Leap distributions
Add support for the openSUSE Leap distributions.
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Thu, 12 Oct 2017 14:32:14 +0000 (15:32 +0100)]
ceph-nfs: Add support for openSUSE Leap distributions
Add support for the openSUSE distributions. The required packages
are available either in the distribution repositories or in the
OBS one.
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Thu, 12 Oct 2017 15:01:00 +0000 (16:01 +0100)]
ceph-rgw: Add support for openSUSE Leap distributions
Add support for openSUSE Leap distributions.
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Thu, 12 Oct 2017 15:00:20 +0000 (16:00 +0100)]
ceph-restapi: Add support for openSUSE Leap distributions
Add support for openSUSE Leap distributions.
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Thu, 12 Oct 2017 14:59:26 +0000 (15:59 +0100)]
ceph-rbd-mirror: Add support for openSUSE Leap distributions
Add support for openSUSE Leap distributions
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Thu, 12 Oct 2017 14:58:32 +0000 (15:58 +0100)]
ceph-osd: Add support for openSUSE Leap distributions
Add support for openSUSE Leap distributions
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Thu, 12 Oct 2017 14:48:11 +0000 (15:48 +0100)]
ceph-mon: Add support for openSUSE Leap distributions
Add support for openSUSE Leap distributions.
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Thu, 12 Oct 2017 14:46:40 +0000 (15:46 +0100)]
ceph-mgr: Add support for openSUSE Leap distributions
Add support for openSUSE Leap distributions.
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Thu, 12 Oct 2017 14:46:06 +0000 (15:46 +0100)]
ceph-mds: Add support for openSUSE Leap distributions
Add support for openSUSE Leap distributions
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Thu, 12 Oct 2017 14:44:26 +0000 (15:44 +0100)]
ceph-fetch-keys: Add support for openSUSE Leap distributions
Add support for openSUSE Leap distributions
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Thu, 12 Oct 2017 14:39:07 +0000 (15:39 +0100)]
ceph-config: Add support for the openSUSE Leap distributions
Add support for the openSUSE Leap distributions
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Thu, 12 Oct 2017 14:38:01 +0000 (15:38 +0100)]
ceph-client: Add support for the openSUSE Leap distributions
Add support for the openSUSE Leap distributions
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Thu, 12 Oct 2017 10:19:31 +0000 (11:19 +0100)]
ceph-agent: Add support for the openSUSE Leap distributions
Add support for the openSUSE Leap distributions.
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Fri, 13 Oct 2017 09:18:27 +0000 (10:18 +0100)]
ceph-common: Don't check for ceph_stable_release for distro packages
When we consume the distribution packages, we don't have the choise on
which version to install, so we shouldn't require that variable to be
set. Distributions normally provide only one version of Ceph in the
official repositories so we get whatever they provide.
Signed-off-by: Markos Chandras <mchandras@suse.de>
Markos Chandras [Thu, 12 Oct 2017 13:55:20 +0000 (14:55 +0100)]
ceph-common: Add initial support for openSUSE Leap distributions
openSUSE Leap 42.3 provides support for Ceph Luminous in both the
distribution package and the latest available version in the OBS
repository so add these as the only available installation methods for
openSUSE.
Signed-off-by: Markos Chandras <mchandras@suse.de>
Sébastien Han [Mon, 13 Nov 2017 16:37:37 +0000 (03:37 +1100)]
Merge pull request #2167 from ceph/bz-
1510906
defaults: fix rgw restart script in handlers
Guillaume Abrioux [Mon, 13 Nov 2017 15:27:51 +0000 (16:27 +0100)]
defaults: fix rgw restart script in handlers
Like
80d32dec , the path to the fact is not correct.
In any case, we will retrieve the IP address in hostvars, the variable
is the way we get the interface name according where it has been set
(eg.: inventory host file vs. group_vars/)
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1510906
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Mon, 13 Nov 2017 11:23:44 +0000 (12:23 +0100)]
Merge pull request #2146 from mslovy/wip-fix-crush-location
osd: fix crush location for non-containerized deployment
Sébastien Han [Mon, 13 Nov 2017 11:11:26 +0000 (22:11 +1100)]
Merge pull request #2140 from yanyixing/doc_fix
Fix: the ansible version for the stable-3.0 branch
Sébastien Han [Mon, 13 Nov 2017 11:06:16 +0000 (22:06 +1100)]
Merge pull request #2142 from squidboylan/master
infra: fix take-over-existing-cluster.yml playbook
Sébastien Han [Mon, 13 Nov 2017 10:50:37 +0000 (21:50 +1100)]
Merge pull request #2144 from ceph/quick_fix_lvm
osd: skip some set_fact when osd_scenario=lvm
Sébastien Han [Mon, 13 Nov 2017 10:37:35 +0000 (21:37 +1100)]
Merge pull request #2141 from Arano-kai/run_restart_scripts_in_noexec_tmp
FIX: run restart scripts in `noexec` /tmp
Guillaume Abrioux [Fri, 10 Nov 2017 17:19:29 +0000 (18:19 +0100)]
Merge pull request #2163 from ktdreyer/rpm-ansible-2.4.1.0
rpm: require ansible 2.4.1.0
Ken Dreyer [Fri, 10 Nov 2017 17:11:31 +0000 (10:11 -0700)]
rpm: require ansible 2.4.1.0
2.4.0.0 has some bugs, and we're going to ship with v2.4.1.0.
Guillaume Abrioux [Fri, 10 Nov 2017 05:55:13 +0000 (06:55 +0100)]
Merge pull request #2152 from ceph/bz-
1510470
purge-docker-cluster: ensure old logs are removed
Guillaume Abrioux [Fri, 10 Nov 2017 00:19:20 +0000 (01:19 +0100)]
Merge pull request #2154 from ceph/fix_auto_discover
osd: avoid using non desired loop device in autodiscovery
Guillaume Abrioux [Thu, 9 Nov 2017 22:50:32 +0000 (23:50 +0100)]
Merge pull request #2153 from ceph/fix_disk_list_test
osd: always run disk_list test
Guillaume Abrioux [Thu, 9 Nov 2017 09:42:14 +0000 (10:42 +0100)]
purge-docker-cluster: ensure old logs are removed
purge-docker-cluster must remove all osd_disk_prepare logs in
`{{ ceph_osd_docker_run_script_path }}`, otherwise if you purge your
cluster and try to redeploy it, osds will fail to start since because it
will try to retrieve find a partition uuid which doesn't exist.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1510470
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Thu, 9 Nov 2017 10:05:59 +0000 (11:05 +0100)]
osd: always run disk_list test
there is no need to have a condition on this task, this test should be
always run since the result will be interpreted later.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Thu, 9 Nov 2017 10:24:34 +0000 (11:24 +0100)]
Merge pull request #2150 from ceph/fix_typo
config: fix config generation
Guillaume Abrioux [Thu, 9 Nov 2017 09:26:24 +0000 (10:26 +0100)]
osd: avoid using non desired loop device in autodiscovery
This will prevent ceph-ansible from using a loop device while it
shouldn't in auto_discovery mode.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Wed, 8 Nov 2017 23:03:00 +0000 (00:03 +0100)]
config: fix config generation
The path to the fact is not correct.
In any case, we will retrieve the IP address in hostvars, the variable
is the way we get the interface name according where it has been set
(eg.: inventory host file vs. group_vars/)
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1510906
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Wed, 8 Nov 2017 10:56:51 +0000 (11:56 +0100)]
Merge pull request #2145 from ceph/fix-autodiscover
osd: do not use dm when osd_auto_discovery
Guillaume Abrioux [Wed, 8 Nov 2017 07:47:39 +0000 (08:47 +0100)]
osd: fix automatic prepare when auto_discover
Use `devices` variable instead of `ansible_devices`, otherwise it means
we are not using the devices which have been 'auto discovered'
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
yaoning [Wed, 8 Nov 2017 01:02:51 +0000 (12:02 +1100)]
fix crush location for non-containerized deployment
crush location only set for containerized deployment
Signed-off-by: yaoning <yaoning@unitedstack.com>
Sébastien Han [Wed, 8 Nov 2017 00:33:10 +0000 (11:33 +1100)]
osd: do not use dm when osd_auto_discovery
The current code will also return lvm devices such as /dev/dm-2, this
kind of device type is not supported by ceph-disk at the moment. Now we
just ignore them.
Signed-off-by: Sébastien Han <seb@redhat.com>
Guillaume Abrioux [Tue, 7 Nov 2017 14:30:08 +0000 (15:30 +0100)]
osd: skip some set_fact when osd_scenario=lvm
these tasks are not needed when using `osd_scenario: lvm`
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1509230
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Tue, 7 Nov 2017 10:39:34 +0000 (11:39 +0100)]
Merge pull request #2143 from ceph/fix_typo
osd: fix a typo in roles/ceph-osd/defaults/main.yml
Guillaume Abrioux [Tue, 7 Nov 2017 08:48:29 +0000 (09:48 +0100)]
osd: fix a typo in roles/ceph-osd/defaults/main.yml
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Caleb Boylan [Fri, 3 Nov 2017 16:54:54 +0000 (09:54 -0700)]
infra: fix take-over-existing-cluster.yml playbook
The ansible inventory could have more than just ceph-ansible hosts, so
we shouldnt use "hosts: all", also only grab one file when getting
the ceph cluster name instead of failing when there is more than one
file in /etc/ceph. Also fix location of the ceph.conf template
Arano-kai [Mon, 6 Nov 2017 14:02:47 +0000 (16:02 +0200)]
FIX: run restart scripts in `noexec` /tmp
- One can not run scripts directly in place, that mounted with `noexec`
option. But one can run scripts as arguments for `bash/sh`.
Signed-off-by: Arano-kai <captcha.is.evil@gmail.com>
Yixing Yan [Mon, 6 Nov 2017 08:15:47 +0000 (16:15 +0800)]
fix the ansible version for the stable-3.0 branch
Sébastien Han [Fri, 3 Nov 2017 12:05:51 +0000 (13:05 +0100)]
Merge pull request #2128 from ceph/mon_interface
config: fix monitor_interface when not passed in the inventory file | osd: fix old jewel container activation
Sébastien Han [Fri, 3 Nov 2017 11:26:12 +0000 (12:26 +0100)]
Merge pull request #2129 from ceph/update_nightly_ci
[skip ci] tests: sync with ceph/ceph-build for ceph-ansible-nightlies
Sébastien Han [Thu, 2 Nov 2017 15:17:38 +0000 (16:17 +0100)]
osd: enhance backward compatibility
During the initial implementation of this 'old' thing we were falling
into this issue without noticing
https://github.com/moby/moby/issues/30341 and where blindly using --rm,
now this is fixed the prepare container disappears and thus activation
fail.
I'm fixing this for old jewel images.
Also this fixes the machine reboot case where the docker logs are
purgend. In the old scenario, we now store the log locally in the same
directory as the ceph-osd-run.sh script.
Signed-off-by: Sébastien Han <seb@redhat.com>
Guillaume Abrioux [Fri, 27 Oct 2017 11:22:28 +0000 (13:22 +0200)]
tests: sync with ceph/ceph-build for ceph-ansible-nightlies
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Thu, 2 Nov 2017 13:53:46 +0000 (14:53 +0100)]
config: fix monitor_interface when not passed in the inventory file
Setting monitor_interface in group_vars/all.yml makes the
hostvars[host]['monitor_interface'] non-existing.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1507922
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 31 Oct 2017 15:51:16 +0000 (16:51 +0100)]
Merge pull request #2124 from ceph/lvm-setup-fix
test: when creating the /dev/sdc2 partition specify label as gpt
Sébastien Han [Tue, 31 Oct 2017 15:47:41 +0000 (16:47 +0100)]
Merge pull request #2123 from ceph/update_tests
tests: followup on testing against ansible2.4
Guillaume Abrioux [Tue, 31 Oct 2017 13:39:29 +0000 (14:39 +0100)]
common: make the delegate_facts feature optional
Since we encountered issue with this on ansible2.2, this commit provide
the ability to enable or disable it regarding which ansible we are
running.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Andrew Schoen [Mon, 30 Oct 2017 20:31:04 +0000 (15:31 -0500)]
test: when creating the /dev/sdc2 partition specify label as gpt
ansible==2.4 requires that label be set to gpt, or it will be defaulted
to msdos.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sébastien Han [Tue, 31 Oct 2017 14:30:50 +0000 (15:30 +0100)]
Merge pull request #2122 from jprovaznik/template
Include ganesha dbus config file
Sébastien Han [Tue, 31 Oct 2017 13:43:29 +0000 (14:43 +0100)]
contrib: skip ci and hightlight origin PR
Signed-off-by: Sébastien Han <seb@redhat.com>
Jan Provaznik [Mon, 30 Oct 2017 09:20:01 +0000 (10:20 +0100)]
Include ganesha dbus config file
This file was (accidentally) not included in a previous
commit
87b1da09e7131ec2741f332fd72aaec8de65e526 .
Guillaume Abrioux [Mon, 30 Oct 2017 18:44:56 +0000 (19:44 +0100)]
tests: add missing test for rbd
Add a missing test `test_rbd_mirror_service_is_running_from_luminous()`.
Also using bash -c "<cmd>" to make testinfra aware that later in
the upgrade process we are now running `luminous` ceph release so we
must skip the rbd tests related to `jewel` ceph release.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Mon, 30 Oct 2017 14:49:51 +0000 (15:49 +0100)]
docs: update patterns containing version number
Update doc regarding last changes (new branch, ansible version, ...)
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Mon, 30 Oct 2017 13:45:59 +0000 (14:45 +0100)]
tests: followup on testing against ansible2.4
ceph-ansible is now being testing against ansible2.2 and ansible2.4. We
need to update tox.ini so we use the right version of testinfra
regarding which ansible version we are using.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Fri, 27 Oct 2017 15:39:05 +0000 (17:39 +0200)]
Merge pull request #2090 from ceph/ansible-2.4
[skip ci] Test ansible 2.4.1
Sébastien Han [Fri, 27 Oct 2017 15:36:16 +0000 (17:36 +0200)]
Merge pull request #2100 from ceph/lvm-bluestore
ceph-volume lvm bluestore support
Alfredo Deza [Fri, 27 Oct 2017 13:44:32 +0000 (09:44 -0400)]
docs add lvm bluestore examples
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 26 Oct 2017 23:05:52 +0000 (19:05 -0400)]
ceph-osd skip lvm creation if they are already in use
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Sébastien Han [Mon, 23 Oct 2017 10:03:01 +0000 (12:03 +0200)]
Test ansible 2.4.1
We now test with Ansible 2.4. We had to change testinfra's version since
only recent versions work with 2.4. See:
https://github.com/philpep/testinfra/issues/249
Closes: https://github.com/ceph/ceph-ansible/issues/2087
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Fri, 27 Oct 2017 11:49:52 +0000 (13:49 +0200)]
Merge pull request #2117 from ceph/rm-dup
default: remove dup variable
Sébastien Han [Fri, 27 Oct 2017 10:00:30 +0000 (12:00 +0200)]
Merge pull request #2118 from ceph/typo-purge
[skip ci]
Sébastien Han [Fri, 27 Oct 2017 09:59:22 +0000 (11:59 +0200)]
shrink-mon: fix typo in the code doc
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Fri, 27 Oct 2017 09:46:15 +0000 (11:46 +0200)]
default: remove dup variable
ceph_repository_type was declared multiple times. This commit fixes
this.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Fri, 27 Oct 2017 07:49:03 +0000 (09:49 +0200)]
Merge pull request #2071 from jtaleric/master
Docker image pull retry
Sébastien Han [Fri, 27 Oct 2017 07:33:47 +0000 (09:33 +0200)]
Merge pull request #2105 from major/really-fix-always-run
Really fix always run
Guillaume Abrioux [Thu, 26 Oct 2017 13:28:35 +0000 (15:28 +0200)]
Merge pull request #2110 from fultonj/issue/2092
Make acls and mode parameters of opentack_keys optional
John Fulton [Wed, 25 Oct 2017 23:46:02 +0000 (23:46 +0000)]
Make acls and mode parameters of opentack_keys optional
Only chmod or setfacl the requested keyring(s) in the
opentack_keys data structure when the mode or acls keys
of that data structure exist.
User may specify four permission combinations for the
keyring file(s): 1. only set ACL, 2. only set mode,
3. set neither mode nor ACL, 4. set mode and then ACL.
Fixes: #2092
Sébastien Han [Thu, 26 Oct 2017 12:23:10 +0000 (14:23 +0200)]
Merge pull request #2112 from ceph/remove-optional
[skip ci]
Sébastien Han [Thu, 26 Oct 2017 12:18:38 +0000 (14:18 +0200)]
purge: do not reboot by default
Rebooting servers is really intrusive and perhaps this is not what the
operator wants. So we disable the reboot by default now. Note that the
reboot might not happen all the time.
It can be enabled by default by running the purge playbook with -e
reboot_osd_node=True
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1505011
Signed-off-by: Sébastien Han <seb@redhat.com>
Joe Talerico [Tue, 17 Oct 2017 19:09:03 +0000 (15:09 -0400)]
Docker image pull retry
This change sets a default timeout of 300s for the image pull. If the
image pull times out (300s), we will retry 3 times by default.
fixes 1954