Bug 1206381
| Summary: | inactive VG remove attempt ignores a SIGINT when virt volumes are present and removes anyways with error "Giving up waiting for lock." | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> |
| lvm2 sub component: | Thin Provisioning (RHEL6) | QA Contact: | cluster-qe <cluster-qe> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | low | ||
| Priority: | unspecified | CC: | agk, heinzm, jbrassow, msnitzer, prajnoha, prockai, thornber, zkabelac |
| Version: | 6.7 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.02.141-1.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-11 01:16:22 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: | 1268411 | ||
|
Description
Corey Marthaler
2015-03-26 23:13:22 UTC
Support for break restored with: https://www.redhat.com/archives/lvm-devel/2016-January/msg00093.html Hmm need to think about automated unit testing of command breaking... Fix verified in the latest rpms. # ACTIVE [root@host-137 ~]# lvs -a -o +devices LV VG Attr LSize Pool Origin Data% Meta% Devices POOL test twi-aotz-- 1.00g 0.00 1.27 POOL_tdata(0) [POOL_tdata] test Twi-ao---- 1.00g /dev/sda1(1) [POOL_tmeta] test ewi-ao---- 4.00m /dev/sdh1(0) [lvol0_pmspare] test ewi------- 4.00m /dev/sda1(0) other1 test Vwi-a-tz-- 1.00g POOL 0.00 other2 test Vwi-a-tz-- 1.00g POOL 0.00 other3 test Vwi-a-tz-- 1.00g POOL 0.00 [root@host-137 ~]# lvremove test Removing pool "POOL" will remove 3 dependent volume(s). Proceed? [y/n]: ^C Interrupted... Logical volume "POOL" not removed. Interrupted... # INACTIVE [root@host-137 ~]# vgchange -an test 0 logical volume(s) in volume group "test" now active [root@host-137 ~]# lvremove test Removing pool "POOL" will remove 3 dependent volume(s). Proceed? [y/n]: ^C Interrupted... Logical volume "POOL" not removed. Interrupted... 2.6.32-615.el6.x86_64 lvm2-2.02.141-2.el6 BUILT: Wed Feb 10 07:49:03 CST 2016 lvm2-libs-2.02.141-2.el6 BUILT: Wed Feb 10 07:49:03 CST 2016 lvm2-cluster-2.02.141-2.el6 BUILT: Wed Feb 10 07:49:03 CST 2016 udev-147-2.71.el6 BUILT: Wed Feb 10 07:07:17 CST 2016 device-mapper-1.02.115-2.el6 BUILT: Wed Feb 10 07:49:03 CST 2016 device-mapper-libs-1.02.115-2.el6 BUILT: Wed Feb 10 07:49:03 CST 2016 device-mapper-event-1.02.115-2.el6 BUILT: Wed Feb 10 07:49:03 CST 2016 device-mapper-event-libs-1.02.115-2.el6 BUILT: Wed Feb 10 07:49:03 CST 2016 device-mapper-persistent-data-0.6.2-0.1.rc1.el6 BUILT: Wed Feb 10 09:52:15 CST 2016 cmirror-2.02.141-2.el6 BUILT: Wed Feb 10 07:49:03 CST 2016 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://rhn.redhat.com/errata/RHBA-2016-0964.html |