- 10 Sep, 2020 1 commit
-
-
Guillaume Abrioux authored
in order to avoid docker.io rate limiting Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 2001039c)
-
- 21 Aug, 2020 1 commit
-
-
RPietrzak authored
This together with condition 'ansible_play_hosts_all | last' causes skipping that task on the first host. Signed-off-by:
RPietrzak <rp.pietrzak@gmail.com>
-
- 20 Aug, 2020 2 commits
-
-
Guillaume Abrioux authored
remove same node for containerized deployments Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
This node was needed for the upgrade job in stable-4.0. Since we moved the code erasure pool testing in lvm_osds, we don't need to fire up that node anymore. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- 19 Aug, 2020 1 commit
-
-
Guillaume Abrioux authored
This commit moves the systemd rendering task into `systemd.yml` file. Otherwise, when running docker to podman playbook, the systemd unit file isn't updated as it should be. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1870141 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- 05 Aug, 2020 1 commit
-
-
Guillaume Abrioux authored
This commit makes the bindmount a bit more generic, otherwise it currently makes the OSDs failing to start in an OSP FFU upgrade (with RHEL7 > RHEL8 OS upgrade). docker2podman playbook is run from ceph-ansible stable-3.2 branch against RHEL7 nodes where `/var/run/lvmetad.socket` exists but once the system is upgraded to RHEL8, this socket doesn't exist anymore and prevent OSDs from starting after the reboot. As a workaround we can make this bindmount a bit more generic like what is done in `stable-4.0` branch by mounting `/run/lvm` instead. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1866252 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- 30 Jul, 2020 1 commit
-
-
Dimitri Savineau authored
When using non lvm scenarios (collocated or non-collocated) then the disk_list variable isn't set because this is done during the ceph-osd role (start_osds.yml) which isn't executed in the docker2podman playbook. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1862046 Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com>
-
- 29 Jul, 2020 1 commit
-
-
Dimitri Savineau authored
The pytest-forked 1.3.0 release isn't compatible with the pytest release we are using in that branch. ----------------------- pytest-forked 1.3.0 requires pytest>=3.10, but you'll have pytest 3.6.1 which is incompatible. ----------------------- Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com>
-
- 07 Jul, 2020 4 commits
-
-
Dimitri Savineau authored
The automatic backport [1] done by mergify has merged the backport PR even if a conflict was present in the documentation. [1] https://github.com/ceph/ceph-ansible/pull/3803 Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com>
-
Dimitri Savineau authored
By default, ansible gathers facts from facter and ohai if installed on the remote nodes, given we don't need them, let's exclude these facts from our facts gathering Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit c95adc56)
-
Dimitri Savineau authored
When using collocated or non-collocated osd_scenarios (ceph-disk) and trying to deterime the OSD_DEVICE from the OSD_ID passed to the systemd unit then we can be in a situation where the OSD hasn't been activated but the OSD ID exists. This means the data partition isn't in activate state and the ceph-disk list command won't show the OSD ID on the data partition. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1850377 Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com>
-
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>
-
- 03 Jul, 2020 3 commits
-
-
Guillaume Abrioux authored
This commit adds a note about `stable-3.0` `stable-3.1` branches which are deprecated and not maintained anymore. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit bbe30bcc)
-
Guillaume Abrioux authored
This commit updates the documentation to add a note about containerized deployments. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit e6148850)
-
Guillaume Abrioux authored
Typical error: ``` Warning, treated as error: /home/jenkins-build/build/workspace/ceph-ansible-docs-pull-requests/docs/source/day-2/upgrade.rst:2:Title underline too short. ``` Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 5c254861)
-
- 29 Jun, 2020 2 commits
-
-
Guillaume Abrioux authored
We shouldn't set this flag when running switch_to_containers playbook. Otherwise the playbook fails waiting for pgs to be clean. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1843569 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit b91d60d3)
-
Guillaume Abrioux authored
The workflow in this playbook should be the same than in rolling_update, we should first set noout and nodeep-scrub flags before migrating the first osd and unset osd flags after the last osd is migrated. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 2cfaa056)
-
- 25 Jun, 2020 2 commits
-
-
Guillaume Abrioux authored
This reverts commit 5a413409. We need to provide a tag for RHCS 3.3z6 without this commit.
-
Guillaume Abrioux authored
This reverts commit b7ec4a99. We need to provide a tag for RHCS 3.3z6 without this commit.
-
- 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)
-
- 18 Jun, 2020 3 commits
-
-
Dimitri Savineau authored
This commit adds a chapter about the ceph upgrade process. Closes: #5393 Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit e41487db)
-
Guillaume Abrioux authored
We shouldn't set this flag when running switch_to_containers playbook. Otherwise the playbook fails waiting for pgs to be clean. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1843569 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit b91d60d3)
-
Guillaume Abrioux authored
The workflow in this playbook should be the same than in rolling_update, we should first set noout and nodeep-scrub flags before migrating the first osd and unset osd flags after the last osd is migrated. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 2cfaa056)
-
- 27 Apr, 2020 1 commit
-
-
Guillaume Abrioux authored
This commit moves the dummy container creation task right before the cephx keys creation task so it can't be run out of time. Also, this commit makes the dummy container running for ever. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1828105 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- 23 Apr, 2020 2 commits
-
-
ianwatsonrh authored
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1827271 Signed-off-by:
ianwatsonrh <ianwatson@redhat.com> (cherry picked from commit ccf6a7f1)
-
Guillaume Abrioux authored
This commit is the first of a serie in order to describe all day-2 operations that are possible via ceph-ansible using a set of playbook provided in `infrastructure-playbooks` directory. Fixes: #5061 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 7e800303)
-
- 20 Apr, 2020 1 commit
-
-
Rishabh Dave authored
Error message were moved to from stdout in stderr here - https://github.com/ceph/ceph/commit/b8d6dcbe9f803c96c0af68da54f1262e9b6a9e77#diff-20f7c578a4e69ec61a5869d706567a24R137. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1793542 Signed-off-by:
Rishabh Dave <ridave@redhat.com> (cherry picked from commit 4249d1e0)
-
- 14 Apr, 2020 1 commit
-
-
Dimitri Savineau authored
We were not testing the right ansible_distribution fact value for RHEL distribution. This commit also updates the minial RHEL version supported by RHCS. Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit 5de74fe5)
-
- 07 Apr, 2020 3 commits
-
-
Guillaume Abrioux authored
There's no need to have two plays anymore since we now set/unset osd flags in `ceph-osd` role. Also, this commit makes the role `ceph-facts` to be called after `ceph-defaults` Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
This commit makes this playbook gathering facts from all other nodes but clients. When collocating OSDs on other nodes it can fail like following: ``` fatal: [vm252-11]: FAILED! => { "msg": "'ansible.vars.hostvars.HostVarsVars object' has no attribute 'ansible_hostname'" } ``` In that case, a fact from a RGW node is called when rendering the `ceph.conf.j2` but it fails because facts are gathered only from mon and osd nodes. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1806765 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
Guillaume Abrioux authored
this commit fixes a bug when using `add-osd.yml` playbook. `noup` flag is set early but it never got unset before the "wait for pgs clean" check, so the playbook always fails because OSDs aren't never seen UP. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1816023 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- 03 Apr, 2020 3 commits
-
-
Guillaume Abrioux authored
Fetch the key when it is present in the cluster but not on the node. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit ccfa2499)
-
Guillaume Abrioux authored
553584cb introduced a regression when no secret is passed, it overwrites the secret each time the task is run. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 003defec)
-
Guillaume Abrioux authored
With this change, the state `present` is enough to update a keyring. If the keyring already exist, it will be updated if caps or secret passed to the module are different. If the keyring doen't exist, it will be created. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1808367 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 553584cb)
-
- 02 Apr, 2020 1 commit
-
-
Dimitri Savineau authored
Since 306ce823 we explicitly fail when there's no mgr node preent in the inventory. fatal: [mon0]: FAILED! => { "changed": false } MSG: Please add a mgr host to your inventory. Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com>
-
- 31 Mar, 2020 2 commits
-
-
Guillaume Abrioux authored
Creating crush rules even with no crush hierarchy configuration is a valid scenario so we shouldn't be bound to the first task result (which configure crush hierarchy) to be able to add new crush rules. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1816989 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 5b047638)
-
Dimitri Savineau authored
This adds a symlink to the site-docker.yml.sample playbook. Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com>
-
- 30 Mar, 2020 3 commits
-
-
Guillaume Abrioux authored
just like site.yml and rolling_update, let's exclude clients node from the fact gathering. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 332c3937) (cherry picked from commit 5c3ba078)
-
Guillaume Abrioux authored
This commit excludes client nodes from facts gathering, they are not needed and can speed up this task. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com> (cherry picked from commit 865d2eac)
-
John Fulton authored
Client configuration with --limit fails without this patch because certain tasks are only done to the first host in the _filtered_clients list and it's likely that first host will not be included in what's sepcified with --limit. To fix this the _filtered_clients list should be built from all clients in the inventory that are also in the running play. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1798781 Signed-off-by:
John Fulton <fulton@redhat.com> (cherry picked from commit e4bf4857)
-