Bug 1906022 - [RFE] [ceph-ansible] : ceph-validate : Validate devices mentioned in lvm_volumes
Summary: [RFE] [ceph-ansible] : ceph-validate : Validate devices mentioned in lvm_volumes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.3
Assignee: Guillaume Abrioux
QA Contact: Ameena Suhani S H
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-09 14:44 UTC by Vasishta
Modified: 2022-05-05 07:53 UTC (History)
8 users (show)

Fixed In Version: ceph-ansible-4.0.63-1.el8cp, ceph-ansible-4.0.63-1.el7cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-05 07:53:21 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 6150 0 None open Improve devices validation 2021-01-11 12:41:15 UTC
Red Hat Issue Tracker RHCEPH-1338 0 None None None 2021-08-30 08:06:07 UTC
Red Hat Product Errata RHSA-2022:1716 0 None None None 2022-05-05 07:53:37 UTC

Description Vasishta 2020-12-09 14:44:23 UTC
Description of problem:
If user mishaps lvm_volumes variable initiation, ceph-ansible could validate the values and alert user by failing playbook which will prevent incomplete configuration of the OSDs which might induce some errors.

Version-Release number of selected component (if applicable):
ceph-ansible-4.0.40-1.el7cp.noarch

How reproducible:
Always

Steps to Reproduce:
1. try to configure cluster with lvm_volumes having inappropriate device name  
2. Run site.yml playbook

Actual results:
Playbook tried to configure cluster on best effort and ceph-volume fails to find devices and thus playbook fails with incomplete cluster configuration

Expected results:
Playbook could fail saying devices in lvm_volumes are not present in the node

Comment 9 errata-xmlrpc 2022-05-05 07:53:21 UTC
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 (Moderate: Red Hat Ceph Storage 4.3 Security and 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/RHSA-2022:1716


Note You need to log in before you can comment on or make changes to this bug.