Bug 1045625
Summary: | lvconvert validation is missing when same LV name is used for thinpool and originname | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Corey Marthaler <cmarthal> | |
Component: | lvm2 | Assignee: | LVM and device-mapper development team <lvm-team> | |
lvm2 sub component: | Default / Unclassified | QA Contact: | cluster-qe <cluster-qe> | |
Status: | CLOSED CURRENTRELEASE | Docs Contact: | ||
Severity: | high | |||
Priority: | unspecified | CC: | agk, bmarzins, bmr, dwysocha, heinzm, jbrassow, jonathan, lvm-team, msnitzer, prajnoha, prockai, thornber, zkabelac | |
Version: | 7.0 | |||
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | lvm2-2.02.105-3.el7 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1020413 | |||
: | 1153306 (view as bug list) | Environment: | ||
Last Closed: | 2014-06-13 09:53:02 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: | 1020413 | |||
Bug Blocks: | 1153306 |
Description
Corey Marthaler
2013-12-20 21:21:37 UTC
Still exists in the latest rpms. [root@host-050 ~]# lvconvert --thinpool snapper_thinp/lvol1 --originname ext -T snapper_thinp/lvol1 Logical volume "lvol1_tmeta" created Logical volume "lvol2" created Converted snapper_thinp/lvol1 to thin pool. Logical volume "ext" created Cannot rename internal LV "lvol1_tdata". Internal error: Referenced LV lvol1_tdata not listed in VG snapper_thinp. Manual intervention may be required to remove abandoned LV(s) before retrying. lvm2-2.02.105-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 lvm2-libs-2.02.105-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 lvm2-cluster-2.02.105-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 device-mapper-1.02.84-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 device-mapper-libs-1.02.84-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 device-mapper-event-1.02.84-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 device-mapper-event-libs-1.02.84-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 device-mapper-persistent-data-0.2.8-3.el7 BUILT: Fri Dec 27 13:40:56 CST 2013 cmirror-2.02.105-1.el7 BUILT: Wed Jan 22 07:34:15 CST 2014 Upstream commit adds more validation to lvconvert to cover this case: https://www.redhat.com/archives/lvm-devel/2014-January/msg00064.html Fix verified in the latest rpms. [root@host-003 ~]# lvconvert --thinpool snapper_thinp/origin6 --originname extorigin6 -T snapper_thinp/origin6 Can't use same LV snapper_thinp/origin6 for thin pool and thin volume. 3.10.0-80.el7.x86_64 lvm2-2.02.105-3.el7 BUILT: Wed Feb 5 06:36:34 CST 2014 lvm2-libs-2.02.105-3.el7 BUILT: Wed Feb 5 06:36:34 CST 2014 lvm2-cluster-2.02.105-3.el7 BUILT: Wed Feb 5 06:36:34 CST 2014 device-mapper-1.02.84-3.el7 BUILT: Wed Feb 5 06:36:34 CST 2014 device-mapper-libs-1.02.84-3.el7 BUILT: Wed Feb 5 06:36:34 CST 2014 device-mapper-event-1.02.84-3.el7 BUILT: Wed Feb 5 06:36:34 CST 2014 device-mapper-event-libs-1.02.84-3.el7 BUILT: Wed Feb 5 06:36:34 CST 2014 device-mapper-persistent-data-0.2.8-3.el7 BUILT: Fri Dec 27 13:40:56 CST 2013 cmirror-2.02.105-3.el7 BUILT: Wed Feb 5 06:36:34 CST 2014 This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |