Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2082414

Summary: [cee/sd][cephadm] ceph-volume: passed block_db devices: 0 physical, 1 LVM --> ZeroDivisionError: integer division or modulo by zero
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ameena Suhani S H <amsyedha>
Component: Ceph-VolumeAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Ameena Suhani S H <amsyedha>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.0CC: adking, ceph-eng-bugs, ceph-qe-bugs, gabrioux, tserlin
Target Milestone: ---Keywords: TestOnly
Target Release: 5.1z1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.7-110.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-18 10:38:17 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 Ameena Suhani S H 2022-05-06 05:19:07 UTC
Description of problem:
Cloned https://bugzilla.redhat.com/show_bug.cgi?id=2029695 to test it for 5.1z1

Description of problem:
 - For DB/WAL, pre-created LVM layout is not supported by cephadm.

Version-Release number of selected component (if applicable):
 - RHCS 5.


Steps to Reproduce:
1. Install RHCS 4 with advanced lvm configuration(Pre-created logical volumes).
2. Upgrade from ceph 4 to ceph5.
3. Run ceph_adoption playbook.
4. After upgradation, follow any of the below:
   - Add new osd
   - Replace osd

Actual results:
 Cannot add osd using advanced lvm configuration(separate DB with pre-created lvm) 

Expected results:
 Cephadm should manage the advanced lvm configuration.

Comment 6 errata-xmlrpc 2022-05-18 10:38:17 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 (Red Hat Ceph Storage 5.1 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:4622