]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
ceph-ansible.git
8 years agorgw: remove old variables 1893/head
Sébastien Han [Thu, 14 Sep 2017 15:42:50 +0000 (09:42 -0600)]
rgw: remove old variables

Since the only support civetweb these variables are obsolete.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1892 from ceph/purge-dmcrypt-col v3.0.0rc8
Sébastien Han [Wed, 13 Sep 2017 23:57:06 +0000 (17:57 -0600)]
Merge pull request #1892 from ceph/purge-dmcrypt-col

purge: only purge specific directories for mon

8 years agoMerge pull request #1800 from ceph/wip-osd-start-fix
Sébastien Han [Wed, 13 Sep 2017 23:20:10 +0000 (17:20 -0600)]
Merge pull request #1800 from ceph/wip-osd-start-fix

ceph-osd: Fix osd start sequence

8 years agopurge: only purge specific directories for mon 1892/head
Sébastien Han [Wed, 13 Sep 2017 23:07:04 +0000 (17:07 -0600)]
purge: only purge specific directories for mon

Handles the case when a mon is collocated with an OSD.

Closes: https://github.com/ceph/ceph-ansible/issues/1877
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1885 from ceph/shrink-osd
Sébastien Han [Wed, 13 Sep 2017 22:12:49 +0000 (16:12 -0600)]
Merge pull request #1885 from ceph/shrink-osd

shrink-osd: fix when multiple osds

8 years agoshrink-osd: fix when multiple osds 1885/head
Sébastien Han [Tue, 12 Sep 2017 23:05:34 +0000 (17:05 -0600)]
shrink-osd: fix when multiple osds

The loop was being built properly so we were always getting the last
item as osd host.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1490355
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1880 from ceph/wip-rgw-nfs
Sébastien Han [Wed, 13 Sep 2017 20:20:14 +0000 (14:20 -0600)]
Merge pull request #1880 from ceph/wip-rgw-nfs

nfs: configure RGW FSAL to start up correctly

8 years agoMerge pull request #1882 from ceph/multi-journal
Sébastien Han [Wed, 13 Sep 2017 17:43:48 +0000 (11:43 -0600)]
Merge pull request #1882 from ceph/multi-journal

osd: drop support for device partition

8 years agoMerge pull request #1888 from ceph/make-srpm-rpmbuild
Sébastien Han [Wed, 13 Sep 2017 17:41:10 +0000 (11:41 -0600)]
Merge pull request #1888 from ceph/make-srpm-rpmbuild

Makefile: remove fedpkg dependency for "srpm"

8 years agoMakefile: remove fedpkg dependency for "srpm" 1888/head
Ken Dreyer [Tue, 12 Sep 2017 22:59:44 +0000 (16:59 -0600)]
Makefile: remove fedpkg dependency for "srpm"

It's not currently possible to install EPEL 7's fedpkg alongside the
centos-packager package in CentOS 7 Extras (for /usr/bin/cbs), because
they each depend on slightly different Koji package versions.

This means that we cannot run "make srpm" on a system where
centos-packager is installed, because that depends on fedpkg.

Remove the dependency on fedpkg for the "srpm" target, and run
rpmbuild -bs directly.

The purpose of this change is to make it easier to automatically
build ceph-ansible SRPMs in Jenkins/cbs.centos.org.

8 years agoMerge pull request #1883 from ceph/quick_refact
Sébastien Han [Wed, 13 Sep 2017 04:11:31 +0000 (22:11 -0600)]
Merge pull request #1883 from ceph/quick_refact

osd: refact include of `activate_osds.yml`

8 years agoMerge pull request #1747 from ceph/add-iscsi
Sébastien Han [Wed, 13 Sep 2017 00:06:50 +0000 (02:06 +0200)]
Merge pull request #1747 from ceph/add-iscsi

resync ceph-iscsi-gw with old upstream

8 years agoresync ceph-iscsi-gw with old upstream 1747/head
Sébastien Han [Fri, 4 Aug 2017 18:18:11 +0000 (20:18 +0200)]
resync ceph-iscsi-gw with old upstream

Taken from https://github.com/pcuzner/ceph-iscsi-ansible/tree/tcmu-fixes

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1454945 and
https://bugzilla.redhat.com/show_bug.cgi?id=1484083
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1884 from ceph/mon-container-ip
Sébastien Han [Tue, 12 Sep 2017 23:46:18 +0000 (01:46 +0200)]
Merge pull request #1884 from ceph/mon-container-ip

mon: add support for monitor_address block for containers

8 years agoosd: drop support for device partition 1882/head
Sébastien Han [Tue, 12 Sep 2017 21:31:19 +0000 (15:31 -0600)]
osd: drop support for device partition

We have been struggling with this, it's still broken and breaking other
things too now.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1490283
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoosd: refact include of `activate_osds.yml` 1883/head
Guillaume Abrioux [Tue, 12 Sep 2017 21:49:11 +0000 (23:49 +0200)]
osd: refact include of `activate_osds.yml`

remove duplicate code.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agomon: add support for monitor_address block for containers 1884/head
Sébastien Han [Tue, 12 Sep 2017 22:28:08 +0000 (16:28 -0600)]
mon: add support for monitor_address block for containers

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1761 from ceph/split_copy_keys
Sébastien Han [Tue, 12 Sep 2017 22:21:50 +0000 (00:21 +0200)]
Merge pull request #1761 from ceph/split_copy_keys

docker: split the task 'copy ceph configs&keys'

8 years agonfs: configure RGW FSAL to start up correctly 1880/head
Ali Maredia [Mon, 11 Sep 2017 03:34:36 +0000 (23:34 -0400)]
nfs: configure RGW FSAL to start up correctly

- Add RGW keyring to nfs node
- Add RGW section to ganesha.conf
- Add RGW section to ceph.conf onf nfs node

Signed-off-by: Ali Maredia <amaredia@redhat.com>
8 years agoMerge pull request #1881 from ceph/followup_1724
Sébastien Han [Tue, 12 Sep 2017 15:43:19 +0000 (17:43 +0200)]
Merge pull request #1881 from ceph/followup_1724

ceph-osd: remove deprecated comment in sample file

8 years agoceph-osd: remove deprecated comment in sample file 1881/head
Guillaume Abrioux [Tue, 12 Sep 2017 14:48:10 +0000 (16:48 +0200)]
ceph-osd: remove deprecated comment in sample file

Since #1724 has been merged, this comment is deprecated

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agoDocker: split the task 'copy ceph configs&keys' 1761/head
Guillaume Abrioux [Mon, 11 Sep 2017 08:54:03 +0000 (10:54 +0200)]
Docker: split the task 'copy ceph configs&keys'

All keys are copied to all nodes.
This commit split that task in each roles so keys are copied to their
respective nodes.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1488999
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agoMerge pull request #1863 from ceph/rpm-comments
Sébastien Han [Sat, 9 Sep 2017 10:02:42 +0000 (12:02 +0200)]
Merge pull request #1863 from ceph/rpm-comments

rpm: better comments for file removals

8 years agoMerge pull request #1840 from ceph/simply-containers v3.0.0rc7
Sébastien Han [Sat, 9 Sep 2017 00:35:11 +0000 (02:35 +0200)]
Merge pull request #1840 from ceph/simply-containers

docker: simplify variable declaration

8 years agodocker: simplify variable declaration 1840/head
Sébastien Han [Thu, 31 Aug 2017 10:04:40 +0000 (12:04 +0200)]
docker: simplify variable declaration

Less configuration for the user, the container inherit from the global
variables. No more container specific variables.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1878 from ceph/add-rbd-mirror
Sébastien Han [Fri, 8 Sep 2017 23:21:12 +0000 (01:21 +0200)]
Merge pull request #1878 from ceph/add-rbd-mirror

Add rbd mirror

8 years agoci: deploy rbd mirror 1878/head
Sébastien Han [Fri, 8 Sep 2017 07:51:03 +0000 (09:51 +0200)]
ci: deploy rbd mirror

Deploy rbd mirorr in cluster scenario

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1875 from ceph/switch-nfs
Sébastien Han [Fri, 8 Sep 2017 23:09:30 +0000 (01:09 +0200)]
Merge pull request #1875 from ceph/switch-nfs

switch to container: fix ceph nfs

8 years agoswitch to container: fix ceph nfs 1875/head
Sébastien Han [Fri, 8 Sep 2017 17:28:52 +0000 (19:28 +0200)]
switch to container: fix ceph nfs

The service is nfs-ganesha where ceph-nfs@{{ ansible_hostname }} will be
the name of the container.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoci: remove scenario bluestore_docker_cluster
Sébastien Han [Fri, 8 Sep 2017 08:47:02 +0000 (10:47 +0200)]
ci: remove scenario bluestore_docker_cluster

We don't need to bootstrap a full cluster to bootstrap bluestore. We
have individual scenarios for that.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1780 from ceph/wip-rgw-nfs
Sébastien Han [Fri, 8 Sep 2017 17:26:02 +0000 (19:26 +0200)]
Merge pull request #1780 from ceph/wip-rgw-nfs

Wip RGW NFS

8 years agoMerge pull request #1871 from ceph/handler-collocate
Guillaume Abrioux [Fri, 8 Sep 2017 16:15:02 +0000 (18:15 +0200)]
Merge pull request #1871 from ceph/handler-collocate

defaults: do not restart unconfigured (yet) daemons

8 years agoMerge pull request #1874 from ceph/rbd-mirror-mem
Sébastien Han [Fri, 8 Sep 2017 15:50:55 +0000 (17:50 +0200)]
Merge pull request #1874 from ceph/rbd-mirror-mem

ceph-rbd-mirror; docker fix typo

8 years agoceph-rbd-mirror; docker fix typo 1874/head
Sébastien Han [Fri, 8 Sep 2017 15:47:48 +0000 (17:47 +0200)]
ceph-rbd-mirror; docker fix typo

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agonfs: rename host to have ceph- prefix 1780/head
Ali Maredia [Wed, 6 Sep 2017 16:44:19 +0000 (12:44 -0400)]
nfs: rename host to have ceph- prefix

Signed-off-by: Ali Maredia <amaredia@redhat.com>
8 years agonfs-ganesha: add config overrides section
Ali Maredia [Sun, 3 Sep 2017 15:32:44 +0000 (11:32 -0400)]
nfs-ganesha: add config overrides section

Signed-off-by: Ali Maredia <amaredia@redhat.com>
8 years agoMerge pull request #1870 from Logan2211/omit-default-release
Sébastien Han [Fri, 8 Sep 2017 14:55:03 +0000 (16:55 +0200)]
Merge pull request #1870 from Logan2211/omit-default-release

Omit the apt default_release if it is not needed

8 years agomds: rename mds_socket fact 1871/head
Guillaume Abrioux [Fri, 8 Sep 2017 13:57:58 +0000 (15:57 +0200)]
mds: rename mds_socket fact

Rename this fact to keep consistency with handlers in `ceph-defaults`.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agonfs: add automated testing for nfs-ganesha roles
Ali Maredia [Mon, 21 Aug 2017 17:36:38 +0000 (13:36 -0400)]
nfs: add automated testing for nfs-ganesha roles

Signed-off-by: Ali Maredia <amaredia@redhat.com>
8 years agonfs-ganesha: add dev, stable, and rhcs nfs-ganesha's for ceph-nfs role
Ali Maredia [Mon, 21 Aug 2017 12:38:21 +0000 (08:38 -0400)]
nfs-ganesha: add dev, stable, and rhcs nfs-ganesha's for ceph-nfs role

Signed-off-by: Ali Maredia <amaredia@redhat.com>
8 years agoMerge pull request #1873 from ceph/switch-unit
Sébastien Han [Fri, 8 Sep 2017 11:36:04 +0000 (13:36 +0200)]
Merge pull request #1873 from ceph/switch-unit

switch: make osd collection idempotent

8 years agodefaults: do not restart unconfigured (yet) daemons
Sébastien Han [Thu, 7 Sep 2017 21:33:45 +0000 (23:33 +0200)]
defaults: do not restart unconfigured (yet) daemons

In a collocated scenario, where you might put a rgw, a mds and a mon on
the same node you don't want the handler blindly restart all the daemons
on the node. Indeed some of them might not be configured yet.
Implementing a more precise socket detection, for each daemon type.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1488813
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoswitch: make osd collection idempotent 1873/head
Sébastien Han [Fri, 8 Sep 2017 09:30:45 +0000 (11:30 +0200)]
switch: make osd collection idempotent

This commits allows us to run
switch-from-non-containerized-to-containerized-ceph-daemons.yml multiple
times.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1489353
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1864 from ceph/switch
Sébastien Han [Fri, 8 Sep 2017 07:39:20 +0000 (09:39 +0200)]
Merge pull request #1864 from ceph/switch

switch-from-non-containerized-to-containerized: fix devices

8 years agoswitch-from-non-containerized-to-containerized: fix devices 1864/head
Sébastien Han [Thu, 7 Sep 2017 07:16:31 +0000 (09:16 +0200)]
switch-from-non-containerized-to-containerized: fix devices

If devices is passed through an extra var this register won't work so
let's only register the var is devices is not defined.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1489099
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1803 from ceph/disk-auto
Sébastien Han [Thu, 7 Sep 2017 20:51:40 +0000 (22:51 +0200)]
Merge pull request #1803 from ceph/disk-auto

ceph-osd: fix autodetection activation

8 years agoOmit the apt default_release if it is not needed 1870/head
Logan V [Thu, 7 Sep 2017 16:50:57 +0000 (11:50 -0500)]
Omit the apt default_release if it is not needed

The apt module will fail to downgrade packages properly when defualt
release is unnecessarily defined.

Closes #1869

8 years agoMerge pull request #1867 from ceph/rhcs-version
Andrew Schoen [Thu, 7 Sep 2017 15:51:48 +0000 (10:51 -0500)]
Merge pull request #1867 from ceph/rhcs-version

tests: set ceph_stable_release to luminous for rhcs

8 years agoceph-osd: fix autodetection activation 1803/head
Sébastien Han [Thu, 24 Aug 2017 09:17:56 +0000 (11:17 +0200)]
ceph-osd: fix autodetection activation

Prior to this patch this activation sequence for autodetection was
always skipped because we were asking to activate on device without
partitions, which doesn't make sense.

We also fix the way we lookup for a device, since the data partition is
always numbered 1, we take the min element of the dict.

Closes: https://github.com/ceph/ceph-ansible/issues/1782
Signed-off-by: Sébastien Han <seb@redhat.com>
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agoMerge pull request #1842 from ceph/purge
Sébastien Han [Thu, 7 Sep 2017 15:36:34 +0000 (17:36 +0200)]
Merge pull request #1842 from ceph/purge

purge: get lockbox mountpoint and unmount it

8 years agotests: set ceph_stable_release to luminous for rhcs 1867/head
Andrew Schoen [Thu, 7 Sep 2017 14:45:56 +0000 (09:45 -0500)]
tests: set ceph_stable_release to luminous for rhcs

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agopurge: get lockbox mountpoint and unmount it 1842/head
Sébastien Han [Thu, 31 Aug 2017 16:22:34 +0000 (18:22 +0200)]
purge: get lockbox mountpoint and unmount it

Prior command was avoiding the lockbox mountpoint and the playbook was
failing with:

rmtree failed: [Errno 30] Read-only file system:
'/var/lib/ceph/osd-lockbox/4e9d8052-87c2-4fde-a56c-b8c108a3eefc/key-management-mode'

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1850 from fultonj/issue/1848
Sébastien Han [Thu, 7 Sep 2017 11:51:11 +0000 (13:51 +0200)]
Merge pull request #1850 from fultonj/issue/1848

Add option to create client keyring file but not import it

8 years agoMerge pull request #1859 from ceph/container-limit
Sébastien Han [Thu, 7 Sep 2017 10:51:34 +0000 (12:51 +0200)]
Merge pull request #1859 from ceph/container-limit

container: introduce resource limitation for containers

8 years agoMerge pull request #1862 from ceph/fail-ansible
Sébastien Han [Thu, 7 Sep 2017 06:44:01 +0000 (08:44 +0200)]
Merge pull request #1862 from ceph/fail-ansible

fail if ansible version < 2.3

8 years agofail if ansible version < 2.3 1862/head
Sébastien Han [Wed, 6 Sep 2017 15:52:49 +0000 (17:52 +0200)]
fail if ansible version < 2.3

We only test and support 2.3.x at the moment.

Closes: https://github.com/ceph/ceph-ansible/issues/1858
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1812 from ceph/switch-migration-conta
Sébastien Han [Thu, 7 Sep 2017 05:30:34 +0000 (07:30 +0200)]
Merge pull request #1812 from ceph/switch-migration-conta

switch-from-non-containerized-to-containerized: mask unit files

8 years agorpm: better comments for file removals 1863/head
Ken Dreyer [Wed, 6 Sep 2017 17:12:54 +0000 (11:12 -0600)]
rpm: better comments for file removals

As of 54d7a81241eac26d87e2bee513df5efd8866a586, we're doing more than
stripping CoreOS files in the RPM now. Move the comments around to
better match the code that does what the comments describe.

The purpose of this change is to make it easier to read this part of the
RPM spec file.

8 years agotests: force docker variable for switch-to-containers scenario 1812/head
Guillaume Abrioux [Tue, 5 Sep 2017 13:18:01 +0000 (15:18 +0200)]
tests: force docker variable for switch-to-containers scenario

we need to force the value of `docker` variable which is initially set
to `false` since it's a migration from non-containerized to
containerized cluster.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agoAdd option to create client keyring file but not import it 1850/head
John Fulton [Sat, 2 Sep 2017 01:30:04 +0000 (01:30 +0000)]
Add option to create client keyring file but not import it

Add new boolean parameter for client config create_key_file_only
with a default of false. When create_key_file_only is true, the
client tasks to connect to the external ceph cluster to verify
the key `ceph auth import` the key are skipped.

Fixes: #1848
8 years agocontainer: introduce resource limitation for containers 1859/head
Sébastien Han [Wed, 6 Sep 2017 08:53:30 +0000 (10:53 +0200)]
container: introduce resource limitation for containers

This can be controlled via 2 options:

* ceph_$DAEMON_docker_memory_limit
* ceph_$DAEMON_docker_cpu_limit

All daemons default to 1GB for memory and 1 CPU by default.
Recommendations from:
https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/red_hat_ceph_storage_hardware_guide/minimum_recommendations

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1860 from ceph/ssh-timeout
Guillaume Abrioux [Wed, 6 Sep 2017 09:36:17 +0000 (11:36 +0200)]
Merge pull request #1860 from ceph/ssh-timeout

ansible.cfg: increase ssh timeout

8 years agoansible.cfg: increase ssh timeout 1860/head
Sébastien Han [Wed, 6 Sep 2017 09:25:47 +0000 (11:25 +0200)]
ansible.cfg: increase ssh timeout

CI slaves are slow so by setting a higher value we can avoid the following error:
Timeout (12s) waiting for privilege escalation prompt:

Now we wait for 32 sec...

More info here: https://github.com/ansible/ansible/issues/14426

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1854 from ceph/add_mgr_node
Sébastien Han [Tue, 5 Sep 2017 14:17:40 +0000 (16:17 +0200)]
Merge pull request #1854 from ceph/add_mgr_node

tests: Add mgr node for all scenarios

8 years agoswitch-from-non-containerized-to-containerized: mask unit files
Sébastien Han [Fri, 25 Aug 2017 12:36:07 +0000 (14:36 +0200)]
switch-from-non-containerized-to-containerized: mask unit files

We must mask the image so we are sure that even if the system reboots
then the OSDs won't start.

Also remove Ceph udev rules if found on the system prior to deploy
containers. If we don't do this we are exposed to conflicts between udev
rules and sytemd unit files.

Also add the CI will now test the migration from a non-containerized cluster to a
containerized cluster.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1853 from ceph/fix-prepare
Sébastien Han [Tue, 5 Sep 2017 11:59:40 +0000 (13:59 +0200)]
Merge pull request #1853 from ceph/fix-prepare

ceph-osd: do not re-prepare if already prepared

8 years agoMerge pull request #1819 from ceph/no-container-log
Sébastien Han [Tue, 5 Sep 2017 09:47:11 +0000 (11:47 +0200)]
Merge pull request #1819 from ceph/no-container-log

ceph-docker-common: do not log inside the container

8 years agotests: Add mgr node for all scenarios 1854/head
Guillaume Abrioux [Mon, 4 Sep 2017 21:58:56 +0000 (23:58 +0200)]
tests: Add mgr node for all scenarios

With Luminous we need to have mgr daemon.
This commit adds an mgr daemon for all scenarios.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
8 years agoceph-osd: do not re-prepare if alreadyy prepared 1853/head
Sébastien Han [Mon, 4 Sep 2017 21:22:12 +0000 (23:22 +0200)]
ceph-osd: do not re-prepare if alreadyy prepared

I forgot to re-add the partition check while refactoring the osd

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1851 from ceph/shrkin-time
Sébastien Han [Tue, 5 Sep 2017 07:17:22 +0000 (09:17 +0200)]
Merge pull request #1851 from ceph/shrkin-time

shrink-mon: wait a little bit for the mon to be out

8 years agoshrink-mon: wait a little bit for the mon to be out 1851/head
Sébastien Han [Mon, 4 Sep 2017 20:13:17 +0000 (22:13 +0200)]
shrink-mon: wait a little bit for the mon to be out

Monitor removal from the monmap is not immediate, so let's wait a little
bit and then fail if the monitor is still in the monmap.
We try twice in total with 10 sec intervals.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1852 from ceph/fix-client
Sébastien Han [Mon, 4 Sep 2017 21:08:41 +0000 (23:08 +0200)]
Merge pull request #1852 from ceph/fix-client

client: copy admin key so we can create pools and keys

8 years agoclient: copy admin key so we can create pools and keys 1852/head
Sébastien Han [Mon, 4 Sep 2017 21:03:58 +0000 (23:03 +0200)]
client: copy admin key so we can create pools and keys

Needed when user_config is set to true

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1849 from ceph/client-external v3.0.0rc6
Sébastien Han [Fri, 1 Sep 2017 22:57:24 +0000 (00:57 +0200)]
Merge pull request #1849 from ceph/client-external

client: do not copy admin key by default

8 years agoclient: do not copy admin key by default 1849/head
Sébastien Han [Fri, 1 Sep 2017 22:52:55 +0000 (00:52 +0200)]
client: do not copy admin key by default

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1847 from ceph/luminous
Sébastien Han [Fri, 1 Sep 2017 22:48:12 +0000 (00:48 +0200)]
Merge pull request #1847 from ceph/luminous

ci: test luminous

8 years agoMerge pull request #1845 from ceph/rgw
Sébastien Han [Fri, 1 Sep 2017 18:27:21 +0000 (20:27 +0200)]
Merge pull request #1845 from ceph/rgw

ceph-rgw: fix systemd unit layout

8 years agoMerge pull request #1835 from ceph/remove-untest
Sébastien Han [Fri, 1 Sep 2017 17:59:30 +0000 (19:59 +0200)]
Merge pull request #1835 from ceph/remove-untest

infra playbook: move untested scenario to a new dir

8 years agoinfra playbook: move untested scenario to a new dir 1835/head
Sébastien Han [Wed, 30 Aug 2017 21:30:49 +0000 (23:30 +0200)]
infra playbook: move untested scenario to a new dir

Move untested/with few confidence playbooks in a untested-by-ci
directory.
Also removing this directory from the package build.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1461551
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1836 from ceph/shrink-osd-mon
Sébastien Han [Fri, 1 Sep 2017 17:57:44 +0000 (19:57 +0200)]
Merge pull request #1836 from ceph/shrink-osd-mon

shrink mon and osd

8 years agoci: test luminous 1847/head
Sébastien Han [Fri, 1 Sep 2017 17:52:54 +0000 (19:52 +0200)]
ci: test luminous

Luminous is out so let's test it instead of Kraken.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoshrink mon and osd 1836/head
Sébastien Han [Wed, 30 Aug 2017 22:07:28 +0000 (00:07 +0200)]
shrink mon and osd

Rework shrinking a monitor and an OSD playbook. Also adding test
scenario.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1366807
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoceph-rgw: fix systemd unit layout 1845/head
Sébastien Han [Fri, 1 Sep 2017 17:02:48 +0000 (19:02 +0200)]
ceph-rgw: fix systemd unit layout

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1827 from andymcc/rgw_systemd_fix
Sébastien Han [Fri, 1 Sep 2017 16:12:23 +0000 (18:12 +0200)]
Merge pull request #1827 from andymcc/rgw_systemd_fix

Fix RGW systemd directory

8 years agoMerge pull request #1844 from ceph/rhcs-dev-ceph-release-fix v3.0.0rc5
Andrew Schoen [Thu, 31 Aug 2017 20:19:28 +0000 (15:19 -0500)]
Merge pull request #1844 from ceph/rhcs-dev-ceph-release-fix

common do not filter by distro when dev is set for figuring out ceph_release

8 years agocommon do not filter by distro when dev is set for figuring out ceph_release 1844/head
Alfredo Deza [Thu, 31 Aug 2017 20:18:08 +0000 (16:18 -0400)]
common do not filter by distro when dev is set for figuring out ceph_release

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #1839 from ceph/colonwq-update-docker-rgw-exec
Sébastien Han [Thu, 31 Aug 2017 17:47:16 +0000 (19:47 +0200)]
Merge pull request #1839 from ceph/colonwq-update-docker-rgw-exec

Update ceph_rgw_docker_extra_env to add bind ip

8 years agoMerge pull request #1838 from ceph/rgw-units
Sébastien Han [Thu, 31 Aug 2017 17:38:23 +0000 (19:38 +0200)]
Merge pull request #1838 from ceph/rgw-units

Rgw units

8 years agoMerge pull request #1841 from ceph/lvm-partitions
Andrew Schoen [Thu, 31 Aug 2017 17:09:19 +0000 (12:09 -0500)]
Merge pull request #1841 from ceph/lvm-partitions

lvm-osds: test with a partition and an lv as journals

8 years agoceph-defaults: fix handlers for mds and rgw 1838/head
Sébastien Han [Thu, 31 Aug 2017 09:22:33 +0000 (11:22 +0200)]
ceph-defaults: fix handlers for mds and rgw

The way we handle the restart for both mds and rgw is not ideal, it will
try to restart the daemon on the host that don't run the daemon,
resulting in a service file being created (see bug description).

Now we restart each daemon precisely and in a serialized fashion.

Note: the current implementation does NOT support multiple mds or rgw on
the same node.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1469781
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1843 from ceph/useless-changed-task
Sébastien Han [Thu, 31 Aug 2017 16:29:13 +0000 (18:29 +0200)]
Merge pull request #1843 from ceph/useless-changed-task

ceph-common: remove useless changed task

8 years agoceph-common: remove useless changed task 1843/head
Sébastien Han [Thu, 31 Aug 2017 16:27:43 +0000 (18:27 +0200)]
ceph-common: remove useless changed task

There is no need to show a "changed" at the end of the play for a
"command" module task.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agotests parted should create gpt labels on new disk 1841/head
Alfredo Deza [Thu, 31 Aug 2017 13:33:23 +0000 (09:33 -0400)]
tests parted should create gpt labels on new disk

But only for the first partition, so that a new label doesn't
blow away the previous partition created

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoUpdate ceph_rgw_docker_extra_env to add bind ip 1839/head
Keith Schincke [Thu, 17 Aug 2017 17:25:20 +0000 (13:25 -0400)]
Update ceph_rgw_docker_extra_env to add bind ip

This patch adds passing the RGW_CIVETWEB_IP to the docker
container. This IP defaults to the value of radosgw_civetweb_bind_ip.
radosgw_civetweb_bind_ip default to ipv4.default

Without this value, the RGW containter will bind to 0.0.0.0

8 years agoceph-rgw: do not run a privileged rgw container
Sébastien Han [Thu, 31 Aug 2017 09:50:18 +0000 (11:50 +0200)]
ceph-rgw: do not run a privileged rgw container

There is no need for a privileged rgw container

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agotests conftest conditions the no_lvm_scenario marker
Alfredo Deza [Thu, 31 Aug 2017 12:48:24 +0000 (08:48 -0400)]
tests conftest conditions the no_lvm_scenario marker

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotests osds units are not enabled in lvm scenarios
Alfredo Deza [Thu, 31 Aug 2017 12:47:42 +0000 (08:47 -0400)]
tests osds units are not enabled in lvm scenarios

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agorgw: cleanup old code and remove systemd condition
Sébastien Han [Thu, 31 Aug 2017 06:29:30 +0000 (08:29 +0200)]
rgw: cleanup old code and remove systemd condition

Remove the old check prior systemd.
We only support systemd so there is no need to run a condition on
systemd. The playbook will fail if systemd is not present.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agotests: add a filesystem on /dev/sdc1 for lvm osd testing
Andrew Schoen [Wed, 30 Aug 2017 21:16:04 +0000 (16:16 -0500)]
tests: add a filesystem on /dev/sdc1 for lvm osd testing

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoceph-osd: add support for --journal vg/lv for lvm osds
Andrew Schoen [Wed, 30 Aug 2017 20:55:16 +0000 (15:55 -0500)]
ceph-osd: add support for --journal vg/lv for lvm osds

This also updates the tests

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