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 1790178

Summary: [ceph-ansible] osd_auto_discovery - devices are appended twice resulting in failure of osd creation
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: high Docs Contact:
Priority: high    
Version: 3.3CC: aschoen, ceph-eng-bugs, ceph-qe-bugs, dsavinea, gmeno, joea, kdreyer, nthomas, sunnagar, tchandra, ykaul
Target Milestone: z4Keywords: Regression
Target Release: 3.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.2.39-1.el7cp Ubuntu: ceph-ansible_3.2.39-2redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-06 08:27:49 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 2020-01-12 09:54:15 UTC
Description of problem:
When different scenarios were tried together, all scenarios involving osd_auto_discovery set to true were failed apparently because of devices added into 'devices' list twice

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

How reproducible:
Always (2/2)

Steps to Reproduce:
1. Configure cluster with multiple osd scenarios including one for which osd_auto_discovery is set to true


Actual results:
Devices are getting added to the list of devices which is causing failure of configuration of cluster

Expected results:
Cluster must be configured as per the reuirement

Additional info:

Comment 5 Joe Antkowiak 2020-02-13 16:56:55 UTC
Just a note on this, a customer was able to successfully use this osd_auto_discovery option with ceph-ansible-3.2.38-1, as part of ceph deployed with openstack overcloud (osp13).

Their ceph nodes had 16x SSDs and 2x NVMEs, and 1x ATA SSD (OS).  The SSDs were used as OSDs and NVMEs were used as WAL/DB.

Comment 12 errata-xmlrpc 2020-04-06 08:27:49 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, 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-2020:1320