Bug 595523
Summary: | VG reconfiguration will cause mirror creation to fail | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | Milan Broz <mbroz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Marthaler <cmarthal> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.0 | CC: | agk, antillon.maurizio, dwysocha, heinzm, jbrassow, joe.thornber, mbroz, prajnoha, prockai, pvrabec |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.02.69-2.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-11-10 21:07:53 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Corey Marthaler
2010-05-24 21:15:28 UTC
It's not a failure due to lack of space. It's a cluster locking or cache (or perhaps udev) failure... We need to find out why taft-01 could not find the VG. Bumping severity and priority on the assumption this is an activation problem not an allocation problem. Milan, you're good with bugs like these:) I was able to hit this with another unrelated testcase that also reconfigures the VG before the mirror creation. SCENARIO - [create_mirror_on_1Kextent_vg] Create a mirror on a VG with an extent size of only 1K Recreating PVs/VG with smaller (1K) extent size taft-01: vgcreate -s 1K mirror_sanity /dev/sdd1 /dev/sde1 /dev/sdf1 /dev/sdg1 /dev/sdh1 taft-01: lvcreate -m 1 -n mirror_on_1Kextent_vg -L 20M mirror_sanity Error locking on node taft-01: Volume group for uuid not found: t01HsshA4Aw17nPTic02ItnekGvm0D7o0F7mOK6EXCau3cQf74dKBZGxVPibhdGg Aborting. Failed to activate mirror log. Failed to initialise mirror log. couldn't create mirror on 1K extent VG The same problem as bug #608879. These VG configuration test cases now work... SCENARIO - [contiguous_opt_check] Sanity check for the contiguous allocation option Recreating PVs/VG with smaller sizes Attempting mirror creation without enough contiguous space grant-01: lvcreate -m 1 -n contig_without -C y -L 400M mirror_sanity Insufficient suitable contiguous allocatable extents for logical volume contig_without: 100 more required Attempting mirror creation with enough contiguous space grant-01: lvcreate -m 1 -n contig_with -C y -L 200M mirror_sanity Deactivating mirror contig_with... and removing Restoring VG to default extent size SCENARIO - [create_mirror_on_1Kextent_vg] Create a mirror on a VG with an extent size of only 1K Recreating PVs/VG with smaller (1K) extent size grant-01: vgcreate -s 1K mirror_sanity /dev/sdb1 /dev/sdb2 /dev/sdb3 /dev/sdc1 /dev/sdc2 /dev/sdc3 grant-01: lvcreate -m 1 -n mirror_on_1Kextent_vg -L 20M mirror_sanity Deactivating mirror mirror_on_1Kextent_vg... and removing Restoring VG to default extent size Fix verified in the follow build: lvm2-2.02.69-2.el6 BUILT: Fri Jul 2 07:26:01 CDT 2010 lvm2-libs-2.02.69-2.el6 BUILT: Fri Jul 2 07:26:01 CDT 2010 lvm2-cluster-2.02.69-2.el6 BUILT: Fri Jul 2 07:26:01 CDT 2010 device-mapper-1.02.51-2.el6 BUILT: Fri Jul 2 07:26:01 CDT 2010 device-mapper-libs-1.02.51-2.el6 BUILT: Fri Jul 2 07:26:01 CDT 2010 device-mapper-event-1.02.51-2.el6 BUILT: Fri Jul 2 07:26:01 CDT 2010 device-mapper-event-libs-1.02.51-2.el6 BUILT: Fri Jul 2 07:26:01 CDT 2010 cmirror-2.02.69-2.el6 BUILT: Fri Jul 2 07:26:01 CDT 2010 Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |