Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1330706

Summary: [RFE] Modify pvcreate to give more clear error messages
Product: Red Hat Enterprise Linux 7 Reporter: Vivek Goyal <vgoyal>
Component: lvm2Assignee: LVM and device-mapper development team <lvm-team>
lvm2 sub component: Default / Unclassified QA Contact: cluster-qe <cluster-qe>
Status: CLOSED WONTFIX Docs Contact:
Severity: unspecified    
Priority: unspecified CC: agk, atomic-bugs, ejacobs, heinzm, jbrassow, lsm5, msnitzer, prajnoha, teigland, vgoyal, zkabelac
Version: 7.3Keywords: Extras, FutureFeature
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1330290 Environment:
Last Closed: 2020-08-21 21:16:58 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: 1330290, 1330714    
Bug Blocks:    

Comment 1 Vivek Goyal 2016-04-26 18:29:08 UTC
We ran into various pvcreate failures and error messages were not clear. It would be nice if pvcreate gives more clear error messages when different kind of errors happen.

Comment 3 Jonathan Earl Brassow 2016-06-30 16:17:15 UTC
(In reply to Vivek Goyal from comment #1)
> We ran into various pvcreate failures and error messages were not clear. It
> would be nice if pvcreate gives more clear error messages when different
> kind of errors happen.

Vivek, the old bug is a lot to plow through.  Can you give a couple examples of what type of output you would like to see in response to certain errors?

Comment 4 Vivek Goyal 2016-10-03 13:46:05 UTC
(In reply to Jonathan Earl Brassow from comment #3)
> (In reply to Vivek Goyal from comment #1)
> > We ran into various pvcreate failures and error messages were not clear. It
> > would be nice if pvcreate gives more clear error messages when different
> > kind of errors happen.
> 
> Vivek, the old bug is a lot to plow through.  Can you give a couple examples
> of what type of output you would like to see in response to certain errors?

Jon,

pvcreate was giving us following message.

"Device /dev/xvdb1 not found (or ignored by filtering).". 

This is very generic and it would be nice if error was more specific.

For example, first breakdown could happen, whether device node is not present or whether it was ignored by filtering.

And even for filtering, it would be nice to know what does that mean. On what specific attribute, a device was filtered out.

Comment 6 David Teigland 2020-08-21 21:16:58 UTC
closing for rhel7.  rhel8 will soon explain what filter rejected a device.