- 12 Apr, 2021 2 commits
-
-
Guillaume Abrioux authored
when running docker-to-podman playbook, there's no need to call `ceph-config` and `ceph-rgw` from the role `ceph-handler`. It can even have side effects when coming from a baremetal cluster that was previously migrated using the switch-to-containers playbook. Indeed it might complain about missing .target systemd unit since they are removed during that migration. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1944999 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 70f19be3)
-
Guillaume Abrioux authored
this adds a small documentation in the header of the playbook in order to explain what is the goal of this playbook. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 36b4227d)
-
- 09 Apr, 2021 1 commit
-
-
Guillaume Abrioux authored
This adds the iscsigws migration to containers. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=<bz-number > Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 2c74c273)
-
- 06 Apr, 2021 3 commits
-
-
Guillaume Abrioux authored
This moves some task from the `ceph-nfs` role in `ceph-common` since some of them are needed in `ceph-rgwloadbalancer` role. This avoids duplicated tasks. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit d0442d81)
-
Guillaume Abrioux authored
This adds all rgw ports to the http_port_t selinux type so it allows haproxy to connect to those ports in order to avoid AVC. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1923890 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 6bbb9019)
-
kalebskeithley authored
haproxy gets an AVC when configured to connect to port 8081 This commit adds a snippet regarding haproxy in a selinux environment Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1923890 Signed-off-by:
Kaleb S KEITHLEY <kkeithle@redhat.com> (cherry picked from commit 9e7f22a0)
-
- 02 Apr, 2021 1 commit
-
-
Dimitri Savineau authored
Pass the password variable via stdin for the registry login authentication. This allows to remove the no_log statement and see the task output without displaying the password value. Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit a0e1a450)
-
- 01 Apr, 2021 3 commits
-
-
Guillaume Abrioux authored
Support enabling/disabling the pg autoscaler for rgw pools. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 9f03a527)
-
Guillaume Abrioux authored
This commit adds the parameter `--storage.tsdb.retention.time` to the prometheus systemd unit template. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1928000 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit b60c61ce)
-
Guillaume Abrioux authored
Currently NFS Ganesha (ceph-nfs) consumes /etc/idmapd.conf, which controls mapping of user/owner identities under NFSv4+. With containerized service deployment, this file is an immutable part of the container image and cannot be modified. Here we provide group variables, and a taskk and templates for the ceph-nfs role, to set the path of the idmap configuration file and to make the most common adjustment to the contents of that file -- namely to set the 'Domain'. We default the path to /etc/ganesha/idmap.conf so that we will not conflict with /etc/idmapd.conf on the controller nodes where ganesha runs. NFSv4 clients, as used for example by the Cinder NFS driver, consume /etc/idmapd.conf and may require different settings than what is wanted for NFS Ganesha. Additionally, because we already bind /etc/ganesha from the host into the ceph-nfs container, the file NFS Ganesha consumes will no longer be an immutable part of the container. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1925646 Signed-off-by: Tom Barron tpb@dyncloud.net Co-Authored-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 2db2208e)
-
- 29 Mar, 2021 2 commits
-
-
Guillaume Abrioux authored
This add a quick documentation in ceph-defaults about `igw_network` Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit c5728bdc)
-
Guillaume Abrioux authored
Playbook must fail anyway, the `rescue` block has been introduced for unmasking the unit after the playbook has failed. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit e9ddb972)
-
- 26 Mar, 2021 4 commits
-
-
VasishtaShastry authored
rbd-mirroring is not configured as adding peer is getting skipped. Peer addition should not get skipped if its not added already Closes - https://bugzilla.redhat.com/show_bug.cgi?id=1942444 Signed-off-by:
VasishtaShastry <vipin.indiasmg@gmail.com> (cherry picked from commit 006998e8)
-
Guillaume Abrioux authored
This adds the possibility to deploy the dashboard with igw nodes using a dedicated subnet. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1926170 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit c33de174)
-
Guillaume Abrioux authored
if for some reason the playbook fails after the service was stopped, disabled and masked and before it got restarted, enabled and unmasked, the playbook leaves the service masked and which can make users confused and forces them to unmask the unit manually. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1917680 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 07029e1b)
-
Ali Maredia authored
Docs reflect that each instance of `rgw_instances` can now take rgw_zonemaster, rgw_zonesecondary, rgw_zonegroupmaster, rgw_multisite_proto. Signed-off-by:
Ali Maredia <amaredia@redhat.com> (cherry picked from commit a59bc2da)
-
- 25 Mar, 2021 5 commits
-
-
Guillaume Abrioux authored
This is never called in the playbook and seems unmaintained. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit b01f16e8)
-
Ken Dreyer authored
This commit fixes some typos in MULTISITE documentation. Signed-off-by:
Ken Dreyer <ktdreyer@redhat.com> (cherry picked from commit 63a246db)
-
Guillaume Abrioux authored
This converts some missed calls to `ansible_*` that were missed in initial PR #6312 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 0163ecc9)
-
Alex Schultz authored
As a continuation of a7f2fa73 , this change switches fact injection to off by default in the provided ansible.cfg. Signed-off-by:
Alex Schultz <aschultz@redhat.com> (cherry picked from commit db031a49)
-
Alex Schultz authored
It has come to our attention that using ansible_* vars that are populated with INJECT_FACTS_AS_VARS=True is not very performant. In order to be able to support setting that to off, we need to update the references to use ansible_facts[<thing>] instead of ansible_<thing>. Related: ansible#73654 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1935406 Signed-off-by:
Alex Schultz <aschultz@redhat.com> (cherry picked from commit a7f2fa73)
-
- 24 Mar, 2021 6 commits
-
-
Guillaume Abrioux authored
pacific builds for iscsi pkgs aren't available, as a workaround we can use builds from master. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
for some reason, `quay.io/app-sre/grafana` no longer exist. as a workaround, all dashboard related images have been mirrored on quay.ceph.io. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit c90b0985)
-
Guillaume Abrioux authored
due to recent changes in shaman, we must fetch the right repo by filtering on the desired architecture. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 5801171b)
-
Guillaume Abrioux authored
The data structure seems to have been modified in ceph@master (quincy). This commit update the test accordingly. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit b8080bac)
-
Guillaume Abrioux authored
the data structure seems to have been modified in ceph@master (quincy). This commit update the test accordingly. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 7e1db0b5)
-
Guillaume Abrioux authored
This function makes the `ceph_volume` module be not idempotent in containerized context because it tries to run a container and bindmount directories that no longer exist. In that case, the `lvs` command being executed returns something different than `0` so we can't call `json.loads(out)['report'][0]['lv']` since it might throw an python error. The idea is to return `True` only if `rc` is equal to `0` and `len(result)` is greater than `0`, which means the command matched an LV. Fixes: #6284 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit ed79bc7a)
-
- 22 Mar, 2021 1 commit
-
-
Guillaume Abrioux authored
`command -v` is a bash script which needs a shell to run. Fixes: #6325 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 14c47270)
-
- 18 Mar, 2021 6 commits
-
-
Guillaume Abrioux authored
This is a follow up on PR #6332 cephadm-adopt.yml playbook is affected by the same bug Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1938658 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit af95595c)
-
Guillaume Abrioux authored
We only use 2 client in this scenario, there's no need to fire up a third VM. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit fb1a5f071a343bb32113dbd20798c7b32dca44cf)
-
Guillaume Abrioux authored
this updates the `ceph_repository_community` check in `ceph-validate` with the right ceph release expected. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 47b9b75a)
-
Guillaume Abrioux authored
This commit updates the default version of nfs-ganesha to V3.5 which is the latest version available upstream. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit c78388e5)
-
Guillaume Abrioux authored
This commit makes the playbook fetch the minimal current ceph configuration and write it later on monitoring nodes so `cephadm` can proceed with the adoption. When a monitoring stack was deployed on a dedicated node, it means no `ceph.conf` file was written, `cephadm` requires a `ceph.conf` in order to adopt the daemon present on the node. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1939887 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit b445df04)
-
Guillaume Abrioux authored
These tasks shouldn't be run when at least 1 monitor isn't present in the inventory. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1937997 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit ccd1cbb7)
-
- 17 Mar, 2021 1 commit
-
-
Guillaume Abrioux authored
When collocating OSDs with other daemon, `num_osds` is incorrectly calculated because `ceph-config` is called multiple times. Indeed, the following code: ``` num_osds: "{{ lvm_list.stdout | default('{}') | from_json | length | int + num_osds | default(0) | int }}" ``` makes `num_osds` be incremented each time `ceph-config` is called. We have to reset it in order to get the correct number of expected OSDs. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 31a0f265)
-
- 16 Mar, 2021 1 commit
-
-
Guillaume Abrioux authored
If the legacy name `grafana-server` is still being used when upgrading from Nautilus to Pacific, the task that sets the fact `rolling_update` to `true` doesn't run on the node(s) included in that group. Indeed the play where we set this fact (`rolling_update`) only runs on the group `monitoring_group_name | default('monitoring')`. As a workaround, we can run earlier the task which converts the `grafana-server` group name to `monitoring`. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1935554 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 6ccc8b47)
-
- 12 Mar, 2021 2 commits
-
-
Matthew Vernon authored
There are times where being able to skip OSD creation is useful to the admin (see #1777 for example), and skipping the prepare_osd tag is a way to achieve this. Document this fact. Signed-off-by:
Matthew Vernon <mv3@sanger.ac.uk> (cherry picked from commit e66b7b74)
-
Matthew Vernon authored
Sometimes it's useful to be able to skip the OSD creation step when running ceph-ansible (cf #1777). The lvm scenario has a prepare_osd tag on the relevant play. This commit adds the same tag to the lvm-batch scenario. Signed-off-by:
Matthew Vernon <mv3@sanger.ac.uk> (cherry picked from commit 88d119e9)
-
- 11 Mar, 2021 1 commit
-
-
Matthew Vernon authored
While working on the previous PR, I found a couple of typos in the docs. This fixes those. Signed-off-by:
Matthew Vernon <mv3@sanger.ac.uk> (cherry picked from commit 8b1474ab)
-
- 03 Mar, 2021 1 commit
-
-
Matthew Vernon authored
http://docs.ceph.com/docs/nautilus/radosgw/frontends/ 404s so replace it with a working "pacific" docs link, and correct the spelling of "additional" while I'm at it. Signed-off-by:
Matthew Vernon <mv3@sanger.ac.uk> (cherry picked from commit 84761104)
-