Bug 1065105 - Provide an option to silently skip clustered volume groups (ignoreskippedcluster)
Summary: Provide an option to silently skip clustered volume groups (ignoreskippedclus...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Rajnoha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-13 23:41 UTC by Federico Simoncelli
Modified: 2014-02-20 00:46 UTC (History)
11 users (show)

Fixed In Version: lvm2-2.02.98-15.fc19
Clone Of:
Environment:
Last Closed: 2014-02-20 00:46:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Federico Simoncelli 2014-02-13 23:41:37 UTC
Description of problem:
When there are visible clustered vgs in the system it's not possible to silently skip them (no output and exit code 0) keeping locking_type=1.

Version-Release number of selected component (if applicable):
lvm2-2.02.98-14.fc19

How reproducible:
100%

Steps to Reproduce:
1. create a clustered vg
2. set the locking_type=1
3. pvs
  
Actual results:
# pvs
  Skipping clustered volume group vg-share2
# echo $?
5

Expected results:
There should be a way to skip the clustered volume groups, eg:
# pvs --ignoreskippedcluster
# echo $?
0

The solution for this issue was provided in bug 820991 and it's present since lvm2-2.02.103.

Comment 1 Alasdair Kergon 2014-02-14 00:12:44 UTC
So what is this bug asking for?

Simply for the F19 package to be updated or something else?

Comment 2 Alasdair Kergon 2014-02-14 00:16:00 UTC
So can we rewrite this bugzilla?

Please update the version of the lvm2 package in F19 because we have a requirement (do you?) to use the 'ignoreskippedcluster' option present in 2.02.103.

Is that what you're really asking?

Comment 3 Peter Rajnoha 2014-02-14 08:17:33 UTC
(In reply to Alasdair Kergon from comment #2)
> So can we rewrite this bugzilla?
> 
> Please update the version of the lvm2 package in F19 because we have a
> requirement (do you?) to use the 'ignoreskippedcluster' option present in
> 2.02.103.
> 
> Is that what you're really asking?

Federico needs just that one functionality in F19. I'm not into upgrading to v103 for F19 since there are lots of changes in the way udev handles devices and would require changes in other packages (e.g. MD) and I really don't want to touch that.

So I'm going to backport just that one patch for the "ignoreskippedcluster".

Comment 4 Fedora Update System 2014-02-17 14:53:38 UTC
lvm2-2.02.98-15.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/lvm2-2.02.98-15.fc19

Comment 5 Fedora Update System 2014-02-18 13:45:25 UTC
Package lvm2-2.02.98-15.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing lvm2-2.02.98-15.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2701/lvm2-2.02.98-15.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-02-20 00:46:29 UTC
lvm2-2.02.98-15.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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