- 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> (cherry picked from commit c5728bdc)
-
- 26 Mar, 2021 5 commits
-
-
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)
-
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 missing service stop task for ceph-crash upgrade workflow. It should have been added through commit `15872e3d` in stable-4.0 but at the time we backported this patch ceph-crash wasn't implemented yet so the ceph-crash related content in this patch was removed. Then, ceph-crash has been implemented later so we are still missing this part of the patch in stable-4.0. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1943471 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
0.17.0 which was released today (03/26/2021) breaks ansible-lint execution with py2.7. From https://pypi.org/project/ruamel.yaml we can read: > The 0.16.13 release was the last that will tested to be working on Python 2.7. Let's enforce the version on 0.16.13 when running with py2.7 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.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> (cherry picked from commit a59bc2da)
-
- 25 Mar, 2021 10 commits
-
-
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)
-
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
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 1 commit
-
-
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)
-
- 12 Mar, 2021 2 commits
-
-
Guillaume Abrioux authored
In order to avoid false positive in the CI that I've been unable to reproduce. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit f7fd1c22)
-
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)
-
- 11 Mar, 2021 11 commits
-
-
Dimitri Savineau authored
The "update apt cache" in the ceph-handler role was never called and the handler trigger after adding the uca repository doesn't exist at all. Instead of using a handler for that we can just set the update_cache parameter to true like the other apt_repository tasks. Resolve merge conflict from cherry-picking this commit. Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit 09d67066)
-
Guillaume Abrioux authored
When asking `ceph-volume` to report only in `lvm batch` context, there's a bug described in bz1896803 [1] when `--yes` is passed (which by the way isn't necessary with `--report`). This commit ensure `--yes` isn't passed to `ceph-volume` when `--report` is used. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1896803 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1896803 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit fe6d6ba6)
-
Guillaume Abrioux authored
This commit makes sure purge playbooks remove those file if for any reason they have been left. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1920900 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit b9dd253a)
-
Guillaume Abrioux authored
There's no need to slow down the playbook execution time by migrating all the `ceph-crash` instances in a serial way. Let's remove the `serial: 1` so the migration is achieved in a parallel way. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 980a5a7d)
-
Dimitri Savineau authored
When running the rolling_update.yml playbook and adding the dashboard component in the same time then the requirement (like container packages) aren't installed. This could lead to a failure in case of using authentication on the container registry because the playbook will try to login on the registry but podman/docker aren't yet installed. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1903504 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1918650 Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit 48a456dc)
-
Dimitri Savineau authored
The monitoring node running grafana needs the rhcs tools repostory enabled in non containerized deployment to be able to install the ceph-grafana-dashboards rpm package. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1918650 Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit e4dd0067)
-
Dimitri Savineau authored
Since b105549e we don't install node-exporter on client nodes so we should also exclude the client node from the node-exporter upgrade. Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit 94af3c87)
-
Guillaume Abrioux authored
Those devices (db/wal) are never zapped in lvm batch deployment. Iterating over `dedicated_devices` and `bluestore_wal_devices` fixes this issue. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1922926 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 984191ac)
-
Tyler Bishop authored
Just likve `devices`, this commit adds the support for linux device aliases for `dedicated_devices` and `bluestore_wal_devices`. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1919084 Signed-off-by:
Tyler Bishop <tbishop@liquidweb.com> (cherry picked from commit ee4b8804)
-
Guillaume Abrioux authored
Due to missing condition on `cephx` variable, cephx disabled deployments are broken. This commit fixes this. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1910151 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 4af08457)
-
Guillaume Abrioux authored
The current check makes no sense because it checks any of other monitor than the one being played (either a previous one already converted or a next that isn't yet converted) is present on the quorum. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1909011 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 175ffa1b)
-
- 10 Mar, 2021 1 commit
-
-
Guillaume Abrioux authored
Due to recent changes in shaman, there's a chance it returns the wrong repository from architecture point of view. We can query shaman and ask for the correct architecture to get around this. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 39649f0c)
-
- 03 Mar, 2021 3 commits
-
-
Matthew Vernon authored
http://docs.ceph.com/docs/nautilus/radosgw/frontends/ 404s so replace it with a working "latest" 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)
-
Florian Haas authored
config_template.py depends on six, which isn't listed in the default requirements.txt. This previously frequently wasn't a problem, because six used to be a standard package being installed into a venv, and lots of other projects depended on it. It also does get installed for unit and integration tests via tests/requirements.txt, so any broken dependency on six wouldn't be detected by tox runs. However, as other projects and distributions have phased out Python 2.7 support the dependency on six becomes less common. Thus, as long as ceph-ansible does require it for config_template.py, add it to the base requirements. Signed-off-by:
Florian Haas <florian@citynetwork.eu> (cherry picked from commit d49ea981)
-
Guillaume Abrioux authored
the `ceph_cmd` fact is missing the `--net=host` parameter. Some tasks consuming this fact can fail like following: ``` Error: error configuring network namespace for container b8ec913db1fb694ae683faf202680de7a59c714a004e533aba87e8503d29261f: Missing CNI default network ``` Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1931365 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit f143b1a6)
-
- 18 Feb, 2021 2 commits
-
-
Guillaume Abrioux authored
This commit fixes two issues in rolling_update.yml: - `container_exec_cmd_update_osd` is unset in the `complete osd upgrade` play so it never runs the command in a container. - the 'require-osd-release' task is never applied because the condition looks for luminous release. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1930164 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
The current dashboard images deployed have a bad health index. Updating to a newer version fixes this issue. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1925350 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit a16ae693)
-
- 11 Feb, 2021 2 commits
-
-
Guillaume Abrioux authored
See the change for details. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 4e95180c)
-
Dimitri Savineau authored
This adds more documentation to the configuration and usage of containerizerd deployment. Closes: #6198 Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit d42d5840)
-