Bug 823473 - cling_by_tags does not use next tagged PVs though enough PEs available
cling_by_tags does not use next tagged PVs though enough PEs available
Product: Fedora
Classification: Fedora
Component: lvm2 (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: LVM and device-mapper development team
Fedora Extras Quality Assurance
: Regression
Depends On:
  Show dependency treegraph
Reported: 2012-05-21 06:54 EDT by Marian Csontos
Modified: 2012-05-21 09:25 EDT (History)
12 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-05-21 09:25:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
verbose output of lvextend (83.87 KB, text/plain)
2012-05-21 08:19 EDT, Marian Csontos
no flags Details
metadata used (4.87 KB, text/plain)
2012-05-21 08:22 EDT, Marian Csontos
no flags Details
lvm.conf (33.85 KB, text/plain)
2012-05-21 08:40 EDT, Marian Csontos
no flags Details

  None (edit)
Description Marian Csontos 2012-05-21 06:54:32 EDT
Description of problem:
extending mirrored LV using --alloc cling_by_tags fails though there is enough space on free tagged PVs.

This used to work before, thus marking as Regression.

Version-Release number of selected component (if applicable):
lvm2-2.02.96-0.114 (git hash bfdfc9e68e1) .. master

How reproducible:

Steps to Reproduce:
# having 5 PEs each with 4094 PEs in mirror_sanity VG, run:
> pvchange --addtag A /dev/vdh2 /dev/vdh1
> pvchange --addtag B /dev/vdg1 /dev/vde1
> lvcreate -m 1 -n cling_mirror -l 4094 mirror_sanity /dev/vdh2 /dev/vdg1 /dev/vdf1:50
> lvextend -l 8188 --alloc cling_by_tags mirror_sanity/cling_mirror

Actual results:
> Insufficient suitable allocatable extents for logical volume cling_mirror: 8188 more required

Expected results:
lvextend should pass

Additional info:
Comment 1 Marian Csontos 2012-05-21 08:19:22 EDT
Created attachment 585796 [details]
verbose output of lvextend
Comment 2 Marian Csontos 2012-05-21 08:22:52 EDT
Created attachment 585800 [details]
metadata used
Comment 3 Marian Csontos 2012-05-21 08:40:27 EDT
Created attachment 585804 [details]
Comment 4 Marian Csontos 2012-05-21 09:25:12 EDT
Error in test suite not handling recent changes in lvm.conf correctly.

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