Bug 1509279

Summary: [Ceph-Ansible][Container] OSDs are not created when auto_discovery is set to true
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Pratik Surve <prsurve>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: urgent Docs Contact: Aron Gunn <agunn>
Priority: unspecified    
Version: 2.4CC: adeza, agunn, aschoen, ceph-eng-bugs, gmeno, hnallurv, kdreyer, nthomas, sankarshan, shan, vashastr
Target Milestone: rc   
Target Release: 2.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.0.22-1.el7cp Ubuntu: ceph-ansible_3.0.22-2redhat1 Doc Type: Bug Fix
Doc Text:
.OSDs are now created when `auto_discovery` parameter is set to `true` Previously, the OSD creation process was skipped because on an unsatisfied conditional check within the code, when using the `ceph-ansible` utility. This bug has been fixed, and OSDs will be created when `auto_discovery` parameter is set to `true`.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 19:44:55 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:
Attachments:
Description Flags
logs of osd nods none

Description Pratik Surve 2017-11-03 13:23:51 UTC
Created attachment 1347349 [details]
logs of osd nods

Description of problem:
When we set auto_discovry=true in osds.yml and after the ansible has finished installtion the osds are not created

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

brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/rhceph:2.4-4


How reproducible:
always

Steps to Reproduce:
1.configure all.yml as per documentation
2.configure osds.yml set osd_auto_discovery: true
3.run the playbook

Actual results:
osds are not getting created

Expected results:
osds are getting created


Additional info:

Comment 5 Ken Dreyer (Red Hat) 2017-11-07 16:54:21 UTC
Is this same issue present in the older docker01.web.prod.ext.phx2.redhat.com:8888/rhceph:2.4-2 image?

Comment 7 Vasishta 2018-02-01 15:17:11 UTC
Hi, 

With ceph-ansible-3.0.22-1.el7cp.noarch, We were able to set up OSDs successfully when osd_auto_discovery set to 'true'.

Ken, Can you please move this BZ to ON_QA so that we can move to VERIFIED state ?


Regards,
Vasishta 
AQE, Ceph

Comment 10 Vasishta 2018-02-05 06:45:38 UTC
Hi,

As this BZ was targeted to 2.* previously, QE had requested for for release note this issue as 'Known issue'.

As ceph-ansible 3.x was shipped with 2.5, using which it was observed that this particular issue was fixed.

Moving this BZ to VERIFIED state.

Aron, Can you please remove this BZ from known issues and move it to Bug Fix ?

Thanks.

Comment 12 Sébastien Han 2018-02-07 10:34:41 UTC
done.

Comment 15 errata-xmlrpc 2018-02-21 19:44:55 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-2018:0340