- 15 Apr, 2021 2 commits
-
-
Guillaume Abrioux authored
We should consider bumping ansible version for future releases, so let's start testing against ansible 2.10 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Benoît Knecht authored
The `set_fact rgw_ports` task was failing due to a templating error, because `hostvars[item].rgw_instances` is a list, but it was treated as if it was a dictionary. Another issue was the fact that the `unique` filter only applied to the list being appended to `rgw_ports` instead of the entire list, which means it was possible to have duplicate items. Lastly, `rgw_ports` would have been a list of integers, but the `seport` module expects a list of strings. This commit fixes all of the issues above, allowing the `ceph-rgw-loadbalancer` role to work on systems with SELinux enabled. Signed-off-by:
Benoît Knecht <bknecht@protonmail.ch>
-
- 14 Apr, 2021 4 commits
-
-
Guillaume Abrioux authored
When collocating daemons, if we chown all files under `/var/lib/ceph` it can cause issues for the collocated daemons that wouldn't have been migrated yet. This commit makes the playbook chown only the files corresponding to the daemon being migrated. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
This adds a `ExecStartPre=-/usr/bin/mkdir -p /var/log/ceph` in all systemd service templates for all ceph daemon. This is specific to RHCS after a Leapp upgrade is done. Indeed, the `/var/log/ceph` seems to be removed after the upgrade. In order to work around this issue let's ensure the directory is present before trying to start the containers with podman. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1949489 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
This removes the fact `skipped_nodes` which is useless when we run with `--limit` since it gets reset when a new iteration is made. Instead, let's print within a final play which node has been skipped reusing the `skip_this_node` fact. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
`configure_mirroring.yml` is called right after the daemon is started. Sometimes, it can happen the first task in `configure_mirroring.yml` is run while the daemon isn't yet ready, adding a retries/until on that task should help to avoid causing the playbook to fail. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1944996 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- 12 Apr, 2021 6 commits
-
-
Guillaume Abrioux authored
This commit adds the nfs-ganesha adoption support in the `cephadm-adopt.yml` playbook. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1944504 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
This fact is never used, let's remove the task. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
set the name of those tasks accordingly with the fact name being set. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
the adoption playbook should use `radosgw_num_instances` in order to determine how much rgw instance it should set recreate. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1943170 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
This play doesn't nothing else than stopping/removing rgw daemons. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
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>
-
- 09 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>
-
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>
-
- 02 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>
-
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>
-
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>
-
- 01 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>
-
- 31 Mar, 2021 3 commits
-
-
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>
-
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>
-
Guillaume Abrioux authored
Support enabling/disabling the pg autoscaler for rgw pools. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- 29 Mar, 2021 1 commit
-
-
Guillaume Abrioux authored
This add a quick documentation in ceph-defaults about `igw_network` Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- 27 Mar, 2021 1 commit
-
-
Dimitri Savineau authored
In commits 39649f0c and bf8cdad9 we switch from using the shaman /repos endpoint to the /search endpoint for using the architecture filter. In fact that filter is also available with the /repos endpoint, which requires less ansible tasks. This also adds back a condition remove in 5801171b on the ceph-iscsi repository and that repository doesn't need to filter on the architecture because the ceph-iscsi project is noarch. Both ceph-iscsi and tcmu-runner shaman URLs were using the ceph_dev_branch and ceph_dev_sha1 variables which doesn't make sense. Those variables are only useful for the ceph core repository. Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com>
-
- 26 Mar, 2021 4 commits
-
-
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>
-
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>
-
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>
-
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>
-
- 25 Mar, 2021 4 commits
-
-
Ken Dreyer authored
This commit fixes some typos in MULTISITE documentation. Signed-off-by:
Ken Dreyer <ktdreyer@redhat.com>
-
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>
-
Aksh Gupta authored
The following commit fixes a few code quality issues detected by DeepSource: - Use literals instead of function calls to create data structure. - Refactor unnecessary list comprehension. - Simplify if statement. - Refactor useless else block in the loop. Signed-off-by:
Aksh Gupta <akshgpt7@gmail.com>
-
Guillaume Abrioux authored
This is never called in the playbook and seems unmaintained. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- 24 Mar, 2021 2 commits
-
-
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>
-
Guillaume Abrioux authored
commit f6a0e95e51798316fce5e82b2463ff62396a681a reverted the change made by a7f2fa73 . This commit bring back this change. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- 23 Mar, 2021 5 commits
-
-
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>
-
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>
-
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>
-
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>
-
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>
-
- 22 Mar, 2021 2 commits
-
-
Brad Hubbard authored
We can end up with an arm only repo unless we are specific about the architecture we require. Brings the deb code in line with the rpm equivalent. Signed-off-by:
Brad Hubbard <bhubbard@redhat.com>
-
Guillaume Abrioux authored
This commit replaces the current stale bot which seems to be broken with the github actions/stale one. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-