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 - [RFE] Modify pvcreate to give more clear error messages
Summary: [RFE] Modify pvcreate to give more clear error messages
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: lvm2
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: LVM and device-mapper development team
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On: 1330290 1330714
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-26 18:12 UTC by Vivek Goyal
Modified: 2021-09-03 12:36 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1330290
Environment:
Last Closed: 2020-08-21 21:16:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.