| Summary: | [vdsm] [Storage] Corrupted template from RAW preallocated disk. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | David Naori <dnaori> | ||||
| Component: | vdsm | Assignee: | Igor Lvovsky <ilvovsky> | ||||
| Status: | CLOSED ERRATA | QA Contact: | David Naori <dnaori> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.1 | CC: | abaron, bazulay, dnaori, hateya, iheim, ilvovsky, jlibosva, lpeer, mgoldboi, pstehlik, ykaul | ||||
| Target Milestone: | rc | Keywords: | Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | vdsm-4.9-72.el6 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-12-06 07:19:00 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 705856 | ||||||
| Attachments: |
|
||||||
*Copied the wrong part of the log: Here is the dd command: c2c65859-37c0-401a-96ba-1ffc74ca1252::DEBUG::2011-05-22 19:06:08,643::volume::937::Storage.Misc.excCmd::(qemuConvert) '/usr/bin/sudo -n /usr/bin/ionice -c2 -n7 /bin/su vdsm -s /bin/sh -c "/bin/dd if=/rhev/data-center/a5f6327d-bf81-47ab-b062-e1a8139ad7c1/da26e8a5-40d3-4f78-84be-8f74db85a8b1/images/dd0a3653-9794-4cee-984c-c2be9ae3d1a6/6151ba00-ca92-4d3 c-a212-1608783a446a of=/rhev/data-center/a5f6327d-bf81-47ab-b062-e1a8139ad7c1/da26e8a5-40d3-4f78-84be-8f74db85a8b1/images/207796ec-09ba-43af-8ff6-6d98d5b8da7c/7bd88b25-0551-448 0-90f7-ae8c758232be bs=1048576 seek=0 skip=0 conv=notrunc count=10 oflag=direct"' (cwd None) *** Bug 709360 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2011-1782.html |
Created attachment 500339 [details] full vdsm log Description of problem: Corrupted template is created when- copyImage from RAW-Preallocated to RAW-Preallocated (dd is used) Steps: 1)Installed rhel6 on vm and created a template from it 2)Created vm from this template > boot fails. Version-Release number of selected component (if applicable): vdsm-4.9-68.el6.x86_64 c2c65859-37c0-401a-96ba-1ffc74ca1252::INFO::2011-05-22 19:06:08,347::image::657::Storage.Image::(copy) sdUUID=da26e8a5-40d3-4f78-84be-8f74db85a8b1 vmUUID=8d42fa12-bf6d-4223-8a1c -0267a716eafa srcImgUUID=dd0a3653-9794-4cee-984c-c2be9ae3d1a6 srcVolUUID=6151ba00-ca92-4d3c-a212-1608783a446a dstImgUUID=207796ec-09ba-43af-8ff6-6d98d5b8da7c dstVolUUID=7bd88b25 -0551-4480-90f7-ae8c758232be dstSdUUID=da26e8a5-40d3-4f78-84be-8f74db85a8b1 volType=6 volFormat=RAW preallocate=PREALLOCATED force=False postZero=False c2c65859-37c0-401a-96ba-1ffc74ca1252::DEBUG::2011-05-22 19:06:08,381::fileVolume::113::Storage.Misc.excCmd::(create) '/usr/bin/sudo -n /usr/bin/ionice -c2 -n7 /bin/su vdsm -s /bin/sh -c "/bin/dd if=/dev/zero of=/rhev/data-center/a5f6327d-bf81-47ab-b062-e1a8139ad7c1/da26e8a5-40d3-4f78-84be-8f74db85a8b1/images/207796ec-09ba-43af-8ff6-6d98d5b8da7c/7bd88b25-0551-4480-90f7-ae8c758232be bs=1048576 seek=0 skip=0 conv=notrunc count=10 oflag=direct"' (cwd None) -tested copyImage with qemu-img convert and it works well. How reproducible: 100% *full vdsm log attached.