- May 06, 2019
-
-
Rishabh Dave authored
Keywords requiring only one item shouldn't express it by creating a list with single item. Signed-off-by:
Rishabh Dave <ridave@redhat.com> (cherry picked from commit 739a662c8084a80cf5565640556389d2b59c7daa) Conflicts: roles/ceph-mon/tasks/ceph_keys.yml roles/ceph-validate/tasks/check_devices.yml
-
- Apr 23, 2019
-
-
Kyle Bader authored
1/ The OSD already supports cpuset to be used for containerized deployments through the use of the ceph_osd_docker_cpuset_cpus variable. This adds similar support to the RGW service for containerized deployments by setting a new variable named ceph_rgw_docker_cpuset_cpus. Like the OSD, there are times where using distinct cores has advantages over using the CFS in kernel scheduler. ceph_rgw_docker_cpuset_cpus accepts a comma delimited set of CPU ids 2/ Add support for specifying --cpuset-mem variable to restrict the cgroup's memory allocations to a particular numa node, which should typically correspond with the cpu ids of that numa node that were provided with --cpuset-cpus. To ensure the correct cpu ids are used one can run `numactl --hardware` to list the nodes and which cpu ids correspond to each. Signed-off-by:
Kyle Bader <kbader@redhat.com> Co-authored-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 0bee90b20195f0764c3d9001fb06d0999b5fc6cf)
-
- Apr 09, 2019
-
-
François Lafont authored
The path of the RGW environment file (in the /var/lib/ceph/radosgw/ directory) depends on the Ceph clustername. It was not taken into account in the Ansible role `ceph-rgw`. Signed-off-by:
flaf <francois.lafont.1978@gmail.com> (cherry picked from commit 4c3e77d8690a7be4fb89f7292c51f8644faaeafa)
-
- Apr 07, 2019
-
-
Ali Maredia authored
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1664869 Signed-off-by:
Ali Maredia <amaredia@redhat.com> (cherry picked from commit 37f46a8c5de9585c2639cc4741ee8f62bc2c854b)
-
- Apr 04, 2019
-
-
Dimitri Savineau authored
In containerized deployment the default radosgw quota is too low for production environment. This is causing performance degradation compared to bare-metal. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1680171 Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit d3ae9fd05fe46933a1437501b0d8a5edb4ca2056)
-
- Mar 25, 2019
-
-
Guillaume Abrioux authored
ee2d52d33df2a311cdf0ff62abd353fccb3affbc introduced a typo. This commit fixes it. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
this task was here for backward compatibility. It's time to remove it in the next release. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
sometimes those tasks might fail because of a timeout. I've been facing this several times in the CI, adding this retry might help and won't hurt in any case. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
This prevents the packaging from restarting services before we do need to restart them in the rolling update sequence. We want to handle services restart at rolling_update playbook. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- Mar 07, 2019
-
-
Dimitri Savineau authored
We don't need to set After=docker.service when the container_binary variable isn't set to docker. It doesn't break anything currently but it could be confusing when using podman. Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com>
-
- Mar 05, 2019
-
-
Dimitri Savineau authored
Ceph daemons will set the CONTAINER_IMAGE environment variable value in the daemon metadata. Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com>
-
- Mar 04, 2019
-
-
Kevin Coakley authored
The following lint issues have been resolved: [301] Commands should not change things if nothing needs doing /home/travis/build/ceph/ceph-ansible/roles/ceph-mon/tasks/ceph_keys.yml:2 [305] Use shell only when shell functionality is required /home/travis/build/ceph/ceph-ansible/roles/ceph-osd/tasks/start_osds.yml:47 [301] Commands should not change things if nothing needs doing /home/travis/build/ceph/ceph-ansible/roles/ceph-rgw/tasks/multisite/destroy.yml:2 [301] Commands should not change things if nothing needs doing /home/travis/build/ceph/ceph-ansible/roles/ceph-rgw/tasks/multisite/destroy.yml:7 [301] Commands should not change things if nothing needs doing /home/travis/build/ceph/ceph-ansible/roles/ceph-rgw/tasks/multisite/destroy.yml:14 [301] Commands should not change things if nothing needs doing /home/travis/build/ceph/ceph-ansible/roles/ceph-rgw/tasks/multisite/destroy.yml:19 [301] Commands should not change things if nothing needs doing /home/travis/build/ceph/ceph-ansible/roles/ceph-rgw/tasks/multisite/destroy.yml:24 Signed-off-by:
Kevin Coakley <kcoakley@sdsc.edu>
-
- Feb 28, 2019
-
-
fpantano authored
Referring to BZ#1683290, as dsavineau suggests, being this bug tripleO specific, removed the ubuntu section and removed useless mountpoints. Signed-off-by:
fpantano <fpantano@redhat.com>
-
fpantano authored
volume avoiding to expose useless information. This bug is referred to the following bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1683290 Signed-off-by:
fpantano <fpantano@redhat.com>
-
- Feb 13, 2019
-
-
Guillaume Abrioux authored
instead of using `RuntimeDirectory` parameter in systemd unit files, let's use a systemd `tmpfiles.d` to ensure `/run/ceph`. Explanation: `podman` doesn't create the `/var/run/ceph` if it doesn't exist the time where the container is run while `docker` used to create it. In case of `switch_to_containers` scenario, `/run/ceph` gets created by a tmpfiles.d systemd file; when switching to containers, the systemd unit file complains because `/run/ceph` already exists The better fix would be to ensure `/usr/lib/tmpfiles.d/ceph-common.conf` is removed and only rely on `RuntimeDirectory` from systemd unit file parameter but we come from a non-containerized environment which is already running, it means `/run/ceph` is already created and when starting the unit to start the container, systemd will still complain and we can't simply remove the directory if daemons are collocated. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- Feb 05, 2019
-
-
Guillaume Abrioux authored
/var/run/ceph resides in a non persistent filesystem (tmpfs) After a reboot, all daemons won't start because this directory will be missing. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- Jan 18, 2019
-
-
guihecheng authored
With this, we could have multiple rgw instances on a single host with a single run, don't have to use rgw-standalone.yml which does not seems able to bind ports separately. If you want to have multiple rgw instances, just change 'radosgw_instances' to the number you want, which defaults to 1. Not compatible with Multi-Site yet. Signed-off-by:
guihecheng <guihecheng@cmiot.chinamobile.com>
-
- Jan 04, 2019
-
-
Sébastien Han authored
The packages are responsible for this, currently tracked in ceph https://github.com/ceph/ceph/pull/25503 Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- Dec 19, 2018
-
-
Guillaume Abrioux authored
add register/until on all packaging related tasks to avoid non valid CI failure. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- Dec 11, 2018
-
-
Guillaume Abrioux authored
ceph-ansible@master requires the latest stable ansible version. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- Nov 30, 2018
-
-
Guillaume Abrioux authored
the next stable release will drop this feature. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- Nov 27, 2018
-
-
Sébastien Han authored
Position the right condition on ceph_docker_version, activate it when the container_binary is 'docker'. Signed-off-by:
Sébastien Han <seb@redhat.com>
-
Sébastien Han authored
Test with podman instead of docker and also support for python 3 only. Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- Nov 21, 2018
-
-
Guillaume Abrioux authored
Add real default value for osd pool size customization. Ceph itself has an `osd_pool_default_size` default value to `3`. If users don't specify a pool size in various pools definition within ceph-ansible, we should default to `3`. By the way, this kind of condition isn't really clear: ``` when: - rbd_pool_size | default ("") ``` we should try to get the customized value then default to what is in `osd_pool_default_size` (which has its default value pointing to `ceph_osd_pool_default_size` (`3`) as well) and compare it to `ceph_osd_pool_default_size`. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
`osd_pool_default_pg_num` parameter is set in `ceph-mon`. When using ceph-ansible with `--limit` on a specifc group of nodes, it will fail when trying to access this variables since it wouldn't be defined. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1518696 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- Nov 08, 2018
-
-
Sébastien Han authored
description = 'Use `when: var` rather than `when: var != ""` (or ' \ 'conversely `when: not var` rather than `when: var == ""`)' Signed-off-by:
Sébastien Han <seb@redhat.com>
-
Sébastien Han authored
Signed-off-by:
Sébastien Han <seb@redhat.com>
-
Sébastien Han authored
Fix tasks using variables that did not have space before and after {{ }} Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- Oct 31, 2018
-
-
Sébastien Han authored
Update the meta with the relavant support such as: * ansible version: min 2.4 * distro supported (tested on) centos 7 Signed-off-by:
Sébastien Han <seb@redhat.com>
-
Sébastien Han authored
Do not run the linter for these 3: * we use latest for pip docker-py package * for ssl keys this is a false positive since the inital command is a 'shell' it'll always change * for keystone, we must use shell since the with_items contains pipes Signed-off-by:
Sébastien Han <seb@redhat.com>
-
Sébastien Han authored
Calling command should have changed_when false otherwise each time it runs it will show as 'changed' and this is irrelevant. Commands should not change things if nothing needs doing Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- Oct 30, 2018
-
-
Guillaume Abrioux authored
Move all rgw multisite variables in ceph-defaults so ceph-validate can go through them. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
We must play this task after the container has started otherwise rgw_multisite tasks will fail. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
run commands on containers when containerized deployments. (At the moment, all commands are run on the host only) Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Ali Maredia authored
- updated README-MULTISITE - re-added destroy.yml - added tasks in ceph-validate to make sure the rgw multisite vars are set Signed-off-by:
Ali Maredia <amaredia@redhat.com>
-
Guillaume Abrioux authored
We should give users the possibility to set the IP they want as multisite endpoint, setting the default value to `{{ ansible_fqdn }}` to not force them to set this variable. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Ali Maredia authored
- remove destroy tasks - cleanup conditionals and syntax - remove unnecessary realm pulls - enable multisite to be tested in automated testing infra - add multisite related vars to main.yml and group_vars - update README-MULTISITE - ensure all `radosgw-admin` commands are being run on a mon Signed-off-by:
Ali Maredia <amaredia@redhat.com>
-
- Oct 29, 2018
-
-
Guillaume Abrioux authored
append 'm' suffix to specify the unit size used in all `*_docker_memory_limit`. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Neha Ojha authored
Since we do not have enough data to put valid upper bounds for the memory usage of these daemons, do not put artificial limits by default. This will help us avoid failures like OOM kills due to low default values. Whenever required, these limits can be manually enforced by the user. More details in https://bugzilla.redhat.com/show_bug.cgi?id=1638148 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1638148 Signed-off-by:
Neha Ojha <nojha@redhat.com>
-
- Oct 22, 2018
-
-
Rishabh Dave authored
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1596339 Signed-off-by:
Rishabh Dave <ridave@redhat.com>
-