- 23 Nov, 2020 1 commit
-
-
Guillaume Abrioux authored
This commit changes the bind mount option for the mount point `/var/lib/ceph` in the systemd template for mon and mgr containers. This is needed in case of collocating mon/mgr with osds using dmcrypt scenario. Once mon/mgr got converted to containers, the dmcrypt layer sub mount is still seen in `/var/lib/ceph`. For some reason it makes the corresponding devices busy so any other container can't open/close it. As a result, it prevents osds from starting properly. Since it only happens on the nodes converted before the OSD play, the idea is to bind mount `/var/lib/ceph` on mon and mgr with the `rshared` option so once the sub mount is unmounted, it is propagated inside the container so it doesn't see that mount point. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1896392 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit f5ba6d9b)
-
- 07 Jul, 2020 1 commit
-
-
Guillaume Abrioux authored
This isn't backported from master because there are too many changes between stable-3.2 and other newer branches. NOTE: This playbook *doesn't* add podman support in stable-3.2 at all. This is a tripleO dedicated playbook which is intended to be run early during FFU workflow in order to prepare the OS upgrade. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1853457 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- 23 Jun, 2020 1 commit
-
-
Dimitri Savineau authored
When using docker container engine then the systemd unit scripts only use a dependency on the docker daemon via the After parameter. But if docker is restarted on a live system then the ceph systemd units should wait for the docker daemon to be fully restarted. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1846830 Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit bd22f1d1)
-
- 10 Oct, 2018 1 commit
-
-
Noah Watkins authored
Fixes the deprecation warning: [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. Signed-off-by:
Noah Watkins <nwatkins@redhat.com>
-
- 20 Apr, 2018 1 commit
-
-
Sébastien Han authored
Useful for softwares that do data collection/monitoring like collectd. They can connect to the socket and then retrieve information. Even though the sockets are exposed now, I'm keeping the docker exec to check the socket, this will allow newer version of ceph-ansible to work with older versions. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1563280 Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- 19 Apr, 2018 1 commit
-
-
Sébastien Han authored
We know bindmount with the :z option at the end of the -v command so this will basically run the exact same command as we used to run. So to speak: chcon -Rt svirt_sandbox_file_t /var/lib/ceph Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- 15 Dec, 2017 1 commit
-
-
Christian Berendt authored
The name docker_version is very generic and is also used by other roles. As a result, there may be name conflicts. To avoid this a ceph_ prefix should be used for this fact. Since it is an internal fact renaming is not a problem.
-
- 16 Oct, 2017 1 commit
-
-
Christian Berendt authored
This will solve the following issue when starting docker containers on ubuntu: invalid argument "1\u00a0" for --cpus=1 : failed to parse 1 as a rational number Closes-bug: #2056
-
- 08 Sep, 2017 1 commit
-
-
Sébastien Han authored
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>
-
- 06 Sep, 2017 1 commit
-
-
Sébastien Han authored
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>
-
- 24 May, 2017 1 commit
-
-
Guillaume Abrioux authored
`ceph-docker-common`: At the moment there is a lot of duplicated tasks in each `./roles/ceph-<role>/tasks/docker/main.yml` that could be refactored in `./roles/ceph-docker-common/tasks/main.yml`. `*_containerized_deployment` variables: All `*_containerized_deployment` have been refactored to a single variable `containerized_deployment` duplicate `cephx` variables in `group_vars/* have been removed. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- 10 Apr, 2017 1 commit
-
-
Sébastien Han authored
The Ceph Manager daemon (ceph-mgr) runs alongside monitor daemons, to provide additional monitoring and interfaces to external monitoring and management systems. Only works as of the Kraken release. Co-Authored-By:
Guillaume Abrioux <gabrioux@redhat.com> Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- 14 Mar, 2017 1 commit
-
-
Sébastien Han authored
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>
-
- 23 Feb, 2017 1 commit
-
-
Tobias Florek authored
Created containers now are named more or less in the form of <ansible role>-<ansible_hostname>
-
- 09 Feb, 2017 1 commit
-
-
Sébastien Han authored
We changed the way we declare image. Prior to this patch we must have a "user/image:tag" format, which is incompatible with non docker-hub registry where you usually don't have a "user". On the docker hub a "user" is also identified as a namespace, so for Ceph the user was "ceph". Variables have been simplified with only: * ceph_docker_image * ceph_docker_image_tag 1. For docker hub images: ceph_docker_name: "ceph/daemon" will give you the 'daemon' image of the 'ceph' user. 2. For non docker hub images: ceph_docker_name: "daemon" will simply give you the "daemon" image. Infrastructure playbooks have been modified as well. The file group_vars/all.docker.yml.sample has been removed as well. It is hard to maintain since we have to generate it manually. If you want to configure specific variables for a specific daemon simply edit group_vars/$DAEMON.yml Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1420207 Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- 16 Jan, 2017 1 commit
-
-
Andrew Schoen authored
Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
- 16 Dec, 2016 1 commit
-
-
Sébastien Han authored
Prior to this patch we had several ways to runs containers, we could use ansible's docker module on some distro and on containers distros we were using systemd. We strongly believe threating containers as services with systemd is the right approach so this patch generalizes to all the distros. These days most of the distros are running systemd so it's fair assumption. Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- 08 Aug, 2016 1 commit
-
-
Ivan Font authored
This fixes #845 for containerized deployments. We now also mount the /etc/localtime volume in the containers in order to synchronize the host timezone with the container timezone. Signed-off-by:
Ivan Font <ivan.font@redhat.com>
-
- 12 Jul, 2016 1 commit
-
-
Ivan Font authored
Signed-off-by:
Ivan Font <ivan.font@redhat.com>
-
- 31 May, 2016 1 commit
-
-
Jim Curtis authored
-