Bug 1644321

Summary: lvm scenario - stderr: Device /dev/sdb excluded by a filter
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: Ceph-VolumeAssignee: Andrew Schoen <aschoen>
Status: CLOSED ERRATA QA Contact: Yogesh Mane <ymane>
Severity: medium Docs Contact: Bara Ancincova <bancinco>
Priority: high    
Version: 3.2CC: adeza, aschoen, ceph-eng-bugs, ceph-qe-bugs, gmeno, hnallurv, jbrier, pasik, tchandra, tserlin, ymane
Target Milestone: rc   
Target Release: 3.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-12.2.12-33.el7cp Ubuntu: ceph_12.2.12-30redhat1 Doc Type: Bug Fix
Doc Text:
.`ceph-volume` now returns a more accurate error message when deploying OSDs on devices with GPT headers The `ceph-volume` utility does not support deploying OSDs on devices with GUID Partition Table (GPT) headers. Previously, after attempting to do so, an error similar to the following one was returned: ---- Device /dev/sdb excluded by a filter ---- With this update, the `ceph-volume` utility returns a more accurate error message instructing the users to remove GPT headers: ---- GPT headers found, they must be removed on: $device_name ----
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-21 15:10:24 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: 1629656, 1726135    

Description Vasishta 2018-10-30 14:04:45 UTC
Description of problem:

While trying to bring up cluster (Using ceph-ansible) on hosts on which an existing cluster was purged, OSD creation was failed on all the nodes with stderr - 'Device /dev/sdb excluded by a filter'

How reproducible:
Not always

Steps to Reproduce:
1. Purge an existing cluster
2. Try to bring up clusters with lvm based OSDs.


Actual results:
stderr: Device /dev/sdb excluded by a filter

Expected results:
Clusters must be configured

Additional info:
Got to know that it is possible that device might have a GPT header and user needs to make sure that the device is fully wiped/zapped.

Comment 14 errata-xmlrpc 2019-08-21 15:10:24 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/RHSA-2019:2538