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:


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.