Bug 613698
Summary: | device partitioning sometimes fails due to race in o-c-storage | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Mike Burns <mburns> | ||||||
Component: | ovirt-node | Assignee: | Mike Burns <mburns> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 6.0 | CC: | apevec, llim, ovirt-maint, ycui | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | ovirt-node-1.9.3-6.3.gitc41536c.el6 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-11-11 14:53:32 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: | |||||||||
Attachments: |
|
Description
Mike Burns
2010-07-12 15:30:46 UTC
Created attachment 431202 [details]
ovirt.log
Created attachment 431205 [details]
Patch
Failed to verify this bug on rhev-hypervisor-6.0-12.el6 build, the bug can be reproduced. Steps to Reproduce: 1. run in firstboot 2. Partition on local disk A 3. Commit this change 3. repartition Actual results: Aug 20 16:35:44 Saving parameters Aug 20 16:35:44 Removing old LVM partitions Aug 20 16:35:44 Unmounting log partition umount: /var/log: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) Aug 20 16:35:44 Unmounting log partition umount: /var/log: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) ++ bc -l ++ echo 'scale=0; 867 / 1024;' + MEM_SIZE_MB=0 ++ bc -l ++ echo 'scale=0; 50 * (1024 * 1024) / (1000 * 1000)' + boot_size_si=52 + '[' '' = y ']' + '[' y = y ']' + log 'Partitioning root drive: /dev/vdb' ++ date '+%b %d %H:%M:%S' + printf 'Aug 20 16:35:45 ' Aug 20 16:35:45 + '[' 0 = 1 ']' + echo 'Partitioning root drive: /dev/vdb' + wipe_partitions /dev/vdb + local drive=/dev/vdb + log 'Wiping old boot sector' Partitioning root drive: /dev/vdb ++ date '+%b %d %H:%M:%S' + printf 'Aug 20 16:35:45 ' Aug 20 16:35:45 + '[' 0 = 1 ']' + echo 'Wiping old boot sector' + dd if=/dev/zero of=/dev/vdb bs=1024K count=1 Wiping old boot sector 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0961918 s, 10.9 MB/s + log 'Wiping secondary gpt header' ++ date '+%b %d %H:%M:%S' + printf 'Aug 20 16:35:45 ' Aug 20 16:35:45 + '[' 0 = 1 ']' + echo 'Wiping secondary gpt header' Wiping secondary gpt header ++ sfdisk -s /dev/vdb + local disk_kb_count=5120000 + dd if=/dev/zero of=/dev/vdb bs=1024 seek=5119999 count=1 1+0 records in 1+0 records out 1024 bytes (1.0 kB) copied, 0.0565375 s, 18.1 kB/s + kpartx -d /dev/vdb + '[' -L /dev/mapper/HostVG-Swap ']' + swapoff -a ++ find /dev/mapper/HostVG-Config /dev/mapper/HostVG-Data /dev/mapper/HostVG-Logging /dev/mapper/HostVG-Swap + for lv in '$(find /dev/mapper/HostVG*)' + dmsetup remove /dev/mapper/HostVG-Config device-mapper: remove ioctl failed: Device or resource busy Command failed + __st=1 + stop_log + '[' 0 '!=' 1 ']' + exec + exec + _log_status=1 + exit 1 ERROR: Configure storage partitions FAILED. See /var/log/ovirt.log Note: pls confirm whether it is a duplicate bug with bug 625871. Verified this bug on clean partition with build rhev-hypervisor-6.0-12.el6. When partition on clean disk, it is successfully, verified this bug. When partition on dirty disk, there exist the exact bug: 625871 to record. 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. |