Bug 1538330

Summary: ceph-ansible will fail silently for non-collocated configurations where journal disk is not present
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Matt Flusche <mflusche>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED ERRATA QA Contact: Rachana Patel <racpatel>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: adeza, anharris, aschoen, ceph-eng-bugs, gfidente, gmeno, hnallurv, johfulto, kdreyer, nthomas, racpatel, sankarshan, seb, shan, tserlin, vshevche, yrabl
Target Milestone: rc   
Target Release: 3.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.1.0-0.1.rc12.el7cp Ubuntu: ceph-ansible_3.1.0~rc12-2redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-26 18:18:23 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:
Bug Depends On:    
Bug Blocks: 1553640    

Description Matt Flusche 2018-01-24 20:15:22 UTC
Description of problem:
When deploying OSP 12 with ceph-ansible, OSD configuration will fail silently for non-collocated configuration where the journal disk is missing.

Example, for this config:

  CephAnsibleDisksConfig:
    osd_scenario: non-collocated
    devices:
      - /dev/vdb
    dedicated_devices:
      - /dev/vdc

If vdc is not present on a node the overall deployment will succeed with no indication of this failure (assuming at least one other OSD can be brought online during the deployment).


Version-Release number of selected component (if applicable):
OSP-12
ceph-ansible-3.0.14-1.el7cp.noarch
openstack-tripleo-heat-templates-7.0.3-20.el7ost.noarch


How reproducible:
100%

Steps to Reproduce:
1. Deploy OSP 12 w/ ceph-ansible and one node with missing journal disk
2. Verify missing OSD post deployment
3.

Actual results:
Deployment is successful but OSD is missing

Expected results:
Failure during ceph-ansible deployment step

Additional info:

Comment 7 John Fulton 2018-07-11 13:22:32 UTC
Latest I saw on this bug was the following comment from github: 

https://github.com/ceph/ceph-ansible/pull/2433 

"@leseb I guess we should close this PR since the validation module has been merged"

Given the above, should this bug me changed to POST or is there even a fixed in we can mark already?

Comment 10 seb 2018-07-23 12:10:25 UTC
Will be in 3.1 only, not possible for 3.0

Comment 11 Ken Dreyer (Red Hat) 2018-07-23 21:34:10 UTC
will be in the next upstream stable-3.1 tag after v3.1.0rc10

Comment 16 Rachana Patel 2018-09-17 15:03:17 UTC
verified on RHEL,working as expected hence moving to verified

Comment 18 errata-xmlrpc 2018-09-26 18:18:23 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:2819