Bug 1104381
Summary: | RAID cache: Removing cache logical volume prints stray error message | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jonathan Earl Brassow <jbrassow> | ||||
Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> | ||||
lvm2 sub component: | Default / Unclassified (RHEL6) | QA Contact: | cluster-qe <cluster-qe> | ||||
Status: | CLOSED ERRATA | Docs Contact: | |||||
Severity: | unspecified | ||||||
Priority: | unspecified | CC: | agk, cmarthal, heinzm, jbrassow, msnitzer, nperic, prajnoha, prockai, zkabelac | ||||
Version: | 6.7 | ||||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | lvm2-2.02.117-1.el6 | Doc Type: | Bug Fix | ||||
Doc Text: |
Wrong order of removed device when lvremoving cached volume resulted into printing an error message 'device not found'. Order has been fixed and this error is no longer printed.
|
Story Points: | --- | ||||
Clone Of: | |||||||
: | 1160903 (view as bug list) | Environment: | |||||
Last Closed: | 2015-07-22 07:37:21 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: | 1119326, 1160903 | ||||||
Attachments: |
|
Description
Jonathan Earl Brassow
2014-06-03 21:18:08 UTC
Created attachment 901912 [details]
Possible patch to fix the problem
not a blocker candidate due to tech preview status This case should be supported with upstream (at least I'm not seeing any fault on my git tree) - yet the fixes my be result of recent fixes - so not sure if all hits 6.6 build - anyway - please retests. It's already fixed for 6.7. seems to be fixed upstream - having this in POST is fine, but it would be nice to know what commit fixed the issue or at least if it was fixed in the .111 release of LVM. (In reply to Jonathan Earl Brassow from comment #4) > seems to be fixed upstream - having this in POST is fine, but it would be > nice to know what commit fixed the issue or at least if it was fixed in the > .111 release of LVM. ...still reproducible in v111 (which is in RHEL 6.6), so this is fixed in v112, so this fix will appear in 6.7. Did not hit an issue with the stray message. Used the reproducer mentioned in the opening comment, added a thin pool into the mix as well: [root@tardis-02 ~]# lvs -a LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert lv vg Cwi-a-C--- 10.00g [lv_cachepool] [lv_corig] 0.03 1.90 0.00 [lv_cachepool] vg Cwi---C--- 1.00g 0.03 1.90 0.00 [lv_cachepool_cdata] vg Cwi-ao---- 1.00g [lv_cachepool_cmeta] vg ewi-ao---- 8.00m [lv_corig] vg rwi-aoC--- 10.00g 13.28 [lv_corig_rimage_0] vg Iwi-aor--- 10.00g [lv_corig_rimage_1] vg Iwi-aor--- 10.00g [lv_corig_rmeta_0] vg ewi-aor--- 4.00m [lv_corig_rmeta_1] vg ewi-aor--- 4.00m [lvol0_pmspare] vg ewi------- 8.00m pool vg twi-a-tz-- 10.00g 0.00 1.17 [pool_tdata] vg Twi-ao---- 10.00g [pool_tmeta] vg ewi-ao---- 4.00m lv_home vg_tardis02 -wi-ao---- 224.88g lv_root vg_tardis02 -wi-ao---- 50.00g lv_swap vg_tardis02 -wi-ao---- 4.00g [root@tardis-02 ~]# lvremove -ff vg Logical volume "lv_cachepool" successfully removed Logical volume "lv" successfully removed Logical volume "pool" successfully removed Marking as verified with lvm2-2.02.118-2.el6.x86_64 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-2015-1411.html |