Bug 1072999
| Summary: | LVMVolumeGroupDevice cannot create new logical volume | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Safranek <jsafrane> | ||||||||||||||||||||||||||||
| Component: | python-blivet | Assignee: | Vratislav Podzimek <vpodzime> | ||||||||||||||||||||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Release Test Team <release-test-team-automation> | ||||||||||||||||||||||||||||
| Severity: | high | Docs Contact: | |||||||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||||||
| Version: | 7.0 | CC: | dlehman, mbanas, pjanda, svenkatr | ||||||||||||||||||||||||||||
| Target Milestone: | rc | Keywords: | Regression | ||||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||||||
| Whiteboard: | |||||||||||||||||||||||||||||||
| Fixed In Version: | python-blivet-0.18.32-1 | Doc Type: | Bug Fix | ||||||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||||
| Clone Of: | |||||||||||||||||||||||||||||||
| : | 1083067 (view as bug list) | Environment: | |||||||||||||||||||||||||||||
| Last Closed: | 2014-06-13 09:23:16 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: | |||||||||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||||||||
|
Description
Jan Safranek
2014-03-05 15:19:45 UTC
Created attachment 871031 [details]
reproducer
Created attachment 871032 [details]
blivet log
Created attachment 875448 [details] output from reproducer I am afraid it is not resolved tested on RHEL-7.0-20140314.0 ComputeNode and reproducer still prints negative values for free space and free extents. I also met the bug 1076365 Created attachment 875449 [details]
fdisk.output
Created attachment 875450 [details]
pvdisplay output
Created attachment 875451 [details]
vgdisplay.output
Created attachment 875452 [details]
lvdisplay.output
LVMVolumeGroupDevice instance (0x1abcb90) -- name = rhel status = True kids = 3 id = 4 parents = ['existing 10240MB partition sda2 (3) with existing lvmpv'] uuid = eo1kec-Ekla-yDZY-awZ9-np3W-ZDL0-yIAumK size = 10236 format = existing None major = 0 minor = 0 exists = True protected = False sysfs path = partedDevice = None target size = 0 path = /dev/mapper/rhel format args = [] originalFormat = None target = None dmUuid = None free = 0.0 PE Size = 4.0 PE Count = 238341 PE Free = 0 PV Count = 1 LV Names = ['home', 'root', 'swap'] modified = False extents = 2559.0 free space = -943128 free extents = -235782.0 reserved percent = 0 reserved space = 0 PVs = ['existing 10240MB partition sda2 (3) with existing lvmpv'] LVs = ['existing 894212MB lvmlv rhel-home (5)', 'existing 51200MB lvmlv rhel-root (6)', 'existing 7952MB lvmlv rhel-swap (7) with existing swap'] This looks to me as a completely different issue. Dave, any idea? How can there be a ~10GB PV with a VG containing ~900GB LV? The "rhel" VG is not what's being tested AFAICT. You should be looking at the "test" VG. It looks to me like sda2 (a PV in "rhel") is corrupt. The VG thinks it is 931.02 GiB, but udev and parted say it is 1 GiB. Petr, do you have a reproducer for the issue you hit? I cannot reproduce it.
But I have try to verify fix and when there is another volume group (rhel in my case) volume group on raid0 (named test) is not recognized by blivet at all.
I used modified reproducer to print all vgs
my steps
1) install rhel system, use LVM partitioning, do not use whole diks
2) boot installation again, configure network (just for record I don't believe it matters)
3) switch to 2nd console
4) create two 100MB partitions (using parted in my case)
5) mdadm -C -l 0 -n 2 /dev/md1 /dev/sda{4,5}
6) vgcreate /dev/md1 test
7) for i in 1 2 3 4 5 6 7; do lvcreate -l 2 -n $i test; done
8) run reproducer2.py
Created attachment 881308 [details]
lvdisplay.output
Created attachment 881309 [details]
parted.output
Created attachment 881310 [details]
pvdisplay.output
Created attachment 881311 [details]
reproducer2.output
Created attachment 881312 [details]
reproducer2.py
Created attachment 881313 [details]
vgdisplay.output
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. |