Bug 2049132
| Summary: | [RFE] [ceph-ansible] : Upgrade from 4.x to 5.x : switch-from-non-containerized-to-containerized-ceph-daemons - Block migration if number of monitors are less than 3 | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Vasishta <vashastr> |
| Component: | Ceph-Ansible | Assignee: | Guillaume Abrioux <gabrioux> |
| Status: | CLOSED ERRATA | QA Contact: | Ameena Suhani S H <amsyedha> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.3 | CC: | aschoen, ceph-eng-bugs, gabrioux, gmeno, nthomas, tserlin, vereddy, ykaul |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | 4.3z1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-ansible-4.0.70.5-1.el8cp, ceph-ansible-4.0.70.5-1.el7cp | Doc Type: | Enhancement |
| Doc Text: |
Feature: switch-from-non-containerized-to-containerized-ceph-daemons playbook to fail if less than 3 monitors are present in the monitor group.
Reason: This migration doesn't support clusters with less than 3 monitors
Result: The playbook fails early when this requirement is not met.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-09-22 11:21:06 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Vasishta
2022-02-01 15:23:00 UTC
Verified using
4.0.70.6-1.el8cp.noarch
#ceph -s
cluster:
id: 3a3dbf50-95b8-4569-af0a-de40d8fbc7ba
health: HEALTH_WARN
mons are allowing insecure global_id reclaim
services:
mon: 2 daemons, quorum ceph-amsyedha-t5xc5x-node1-installer,ceph-amsyedha-t5xc5x-node3 (age 3m)
mgr: ceph-amsyedha-t5xc5x-node1-installer(active, since 35m), standbys: ceph-amsyedha-t5xc5x-node2
osd: 12 osds: 12 up (since 29m), 12 in (since 6h)
data:
pools: 0 pools, 0 pgs
objects: 0 objects, 0 B
usage: 12 GiB used, 168 GiB / 180 GiB avail
pgs:
#ansible-playbook -vvvv -i hosts infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml
TASK [fail when less than three monitors] ****************************************************************************************************************************************************************************************************
task path: /usr/share/ceph-ansible/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml:20
Tuesday 24 May 2022 22:35:48 -0400 (0:00:04.951) 0:00:04.951 ***********
fatal: [localhost]: FAILED! => changed=false
msg: This playbook requires at least three monitors.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat Ceph Storage 4.3 Bug Fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:6684 |