-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1219 from stackhpc/2023.1-ceph-maintenance
2023.1: Bump Ceph collection, add Ceph maintenance playbooks
- Loading branch information
Showing
5 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
- name: Ensure a Ceph host has entered maintenance | ||
gather_facts: true | ||
any_errors_fatal: true | ||
# We need to check whether it is OK to stop hosts after previous hosts have | ||
# entered maintenance. | ||
serial: 1 | ||
hosts: ceph | ||
become: true | ||
tasks: | ||
- name: Ensure a Ceph host has entered maintenance | ||
ansible.builtin.import_role: | ||
name: stackhpc.cephadm.enter_maintenance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
- name: Ensure a Ceph host has exited maintenance | ||
gather_facts: true | ||
any_errors_fatal: true | ||
hosts: ceph | ||
# The role currently requires hosts to exit maintenance serially. | ||
serial: 1 | ||
become: true | ||
tasks: | ||
- name: Ensure a Ceph host has exited maintenance | ||
ansible.builtin.import_role: | ||
name: stackhpc.cephadm.exit_maintenance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
features: | ||
- | | ||
Adds two new custom playbooks for placing Ceph hosts into and removing them | ||
from maintenance: | ||
- ``ceph-enter-maintenance.yml`` | ||
- ``ceph-exit-maintenance.yml`` | ||
upgrade: | ||
- | | ||
Updates the ``stackhpc.cephadm`` collection to version ``1.18.0``. | ||
fixes: | ||
- | | ||
Fixes an issue with idempotency in the ``stackhpc.ceph.cephadm_keys`` | ||
plugin. |