Bug 1073346
| Summary: | unknown error shows when install rhel7.0 guest with lvm partition and usb disk as virtio scsi lun disk | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | tingting zheng <tzheng> | ||||||||||||||||||
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||||||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Release Test Team <release-test-team-automation> | ||||||||||||||||||
| Severity: | high | Docs Contact: | |||||||||||||||||||
| Priority: | high | ||||||||||||||||||||
| Version: | 7.0 | CC: | codong, dshea, dyuan, hyao, lcui, mzhan, tzheng, zsong | ||||||||||||||||||
| Target Milestone: | rc | Keywords: | Reopened | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||
| Whiteboard: | |||||||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||
| Last Closed: | 2014-03-07 13:11:20 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: |
|
||||||||||||||||||||
Created attachment 871256 [details]
finish partition
Created attachment 871257 [details]
unknown error shows screenshot
Created attachment 871258 [details]
error info when click "ctrl+alt+f5"
Created attachment 871259 [details]
Format error from Traceback
Created attachment 871294 [details]
rhel6 guest fail screenshot
When install rhel6.5 guest using usb as virtio scsi lun disk,there is also error,see the screenshot.
Please attach the /tmp/*.log files as individual plain text attachments to this bug. Created attachment 871759 [details]
Log files under tmp
(In reply to David Cantrell from comment #7) > Please attach the /tmp/*.log files as individual plain text attachments to > this bug. Refer to comment 8,attched log files under /tmp,so I reopened the bug. Created attachment 871889 [details]
anaconda-tb
Your hard drive is failing. From the logs you posted: 02:59:15,006 INFO kernel:[ 97.635674] sd 2:0:0:0: [sda] 02:59:15,006 WARNING kernel:[ 97.635687] Sense Key : Aborted Command [current] 02:59:15,006 INFO kernel:[ 97.635703] sd 2:0:0:0: [sda] 02:59:15,006 WARNING kernel:[ 97.635716] Add. Sense: I/O process terminated 02:59:15,006 INFO kernel:[ 97.635731] sd 2:0:0:0: [sda] CDB: 02:59:15,006 WARNING kernel:[ 97.635744] Write(10): 2a 00 00 0f ab f0 00 03 f0 00 02:59:15,006 ERR kernel:[ 97.635762] end_request: I/O error, dev sda, sector 1027056 02:59:15,006 ERR kernel:[ 97.635777] Buffer I/O error on device sda, logical block 128382 02:59:15,006 WARNING kernel:[ 97.635791] lost page write due to I/O error on sda 02:59:15,006 ERR kernel:[ 97.635808] Buffer I/O error on device sda, logical block 128383 02:59:15,006 WARNING kernel:[ 97.635822] lost page write due to I/O error on sda 02:59:15,006 ERR kernel:[ 97.635836] Buffer I/O error on device sda, logical block 128384 02:59:15,006 WARNING kernel:[ 97.635850] lost page write due to I/O error on sda 02:59:15,006 ERR kernel:[ 97.635864] Buffer I/O error on device sda, logical block 128385 02:59:15,006 WARNING kernel:[ 97.635878] lost page write due to I/O error on sda 02:59:15,006 ERR kernel:[ 97.635892] Buffer I/O error on device sda, logical block 128386 02:59:15,006 WARNING kernel:[ 97.635906] lost page write due to I/O error on sda 02:59:15,006 ERR kernel:[ 97.635920] Buffer I/O error on device sda, logical block 128387 02:59:15,006 WARNING kernel:[ 97.635934] lost page write due to I/O error on sda 02:59:15,006 ERR kernel:[ 97.635948] Buffer I/O error on device sda, logical block 128388 02:59:15,006 WARNING kernel:[ 97.635961] lost page write due to I/O error on sda 02:59:15,006 ERR kernel:[ 97.635976] Buffer I/O error on device sda, logical block 128389 02:59:15,006 WARNING kernel:[ 97.635989] lost page write due to I/O error on sda (In reply to David Shea from comment #11) > Your hard drive is failing. From the logs you posted: > > 02:59:15,006 INFO kernel:[ 97.635674] sd 2:0:0:0: [sda] > 02:59:15,006 WARNING kernel:[ 97.635687] Sense Key : Aborted Command > [current] > 02:59:15,006 INFO kernel:[ 97.635703] sd 2:0:0:0: [sda] > 02:59:15,006 WARNING kernel:[ 97.635716] Add. Sense: I/O process terminated > 02:59:15,006 INFO kernel:[ 97.635731] sd 2:0:0:0: [sda] CDB: > 02:59:15,006 WARNING kernel:[ 97.635744] Write(10): 2a 00 00 0f ab f0 00 > 03 f0 00 > 02:59:15,006 ERR kernel:[ 97.635762] end_request: I/O error, dev sda, > sector 1027056 > 02:59:15,006 ERR kernel:[ 97.635777] Buffer I/O error on device sda, > logical block 128382 > 02:59:15,006 WARNING kernel:[ 97.635791] lost page write due to I/O error > on sda > 02:59:15,006 ERR kernel:[ 97.635808] Buffer I/O error on device sda, > logical block 128383 > 02:59:15,006 WARNING kernel:[ 97.635822] lost page write due to I/O error > on sda > 02:59:15,006 ERR kernel:[ 97.635836] Buffer I/O error on device sda, > logical block 128384 > 02:59:15,006 WARNING kernel:[ 97.635850] lost page write due to I/O error > on sda > 02:59:15,006 ERR kernel:[ 97.635864] Buffer I/O error on device sda, > logical block 128385 > 02:59:15,006 WARNING kernel:[ 97.635878] lost page write due to I/O error > on sda > 02:59:15,006 ERR kernel:[ 97.635892] Buffer I/O error on device sda, > logical block 128386 > 02:59:15,006 WARNING kernel:[ 97.635906] lost page write due to I/O error > on sda > 02:59:15,006 ERR kernel:[ 97.635920] Buffer I/O error on device sda, > logical block 128387 > 02:59:15,006 WARNING kernel:[ 97.635934] lost page write due to I/O error > on sda > 02:59:15,006 ERR kernel:[ 97.635948] Buffer I/O error on device sda, > logical block 128388 > 02:59:15,006 WARNING kernel:[ 97.635961] lost page write due to I/O error > on sda > 02:59:15,006 ERR kernel:[ 97.635976] Buffer I/O error on device sda, > logical block 128389 > 02:59:15,006 WARNING kernel:[ 97.635989] lost page write due to I/O error > on sda The error only occurs when using lvm partition and I can install rhel7 guest using standard partitions with the same usb disk. So I think it is not something of hardware,I tested the issue with 2 usb disks and 2 hosts,the same error shows. It doesn't seem to have anything to do with LVM. Here is the error: 02:59:15,942 INFO program: Running... mkfs.xfs -f /dev/sda2 02:59:16,030 INFO program: mkfs.xfs: pwrite64 failed: Input/output error Here is the corresponding section of the syslog: 02:59:16,027 INFO kernel:[ 98.656799] sd 2:0:0:0: [sda] 02:59:16,027 WARNING kernel:[ 98.656822] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE 02:59:16,027 INFO kernel:[ 98.656837] sd 2:0:0:0: [sda] 02:59:16,027 WARNING kernel:[ 98.656851] Sense Key : Aborted Command [current] 02:59:16,027 INFO kernel:[ 98.656866] sd 2:0:0:0: [sda] 02:59:16,027 WARNING kernel:[ 98.656879] Add. Sense: I/O process terminated 02:59:16,027 INFO kernel:[ 98.656893] sd 2:0:0:0: [sda] CDB: 02:59:16,027 WARNING kernel:[ 98.656907] Write(10): 2a 00 00 0f a8 00 00 01 00 00 02:59:16,027 ERR kernel:[ 98.656925] end_request: I/O error, dev sda, sector 1026048 Note the times. This is not related to LVM, but rather to hardware errors. |
Created attachment 871255 [details] lvm partition screenshot Description unknown error shows when install rhel7.0 guest with lvm partition and virtio scsi lun disk Version: qemu-kvm-1.5.3-50.el7.x86_64 libvirt-1.1.1-25.el7.x86_64 virt-manager-0.10.0-18.el7.noarch How reproducible: 100% Steps to Reproduce: 1.Launch virt-manager. 2.Try to install rhel7.0 guest,choose http or iso installation,use tree:RHEL-7.0-20140226.0 3.Use a usb disk as storage disk,set the device type of disk as virtio scsi lun. 3.When the installation process goes to partition GUI,choose "create lvm automatically",then click done. 4.Unknown error shows: FormatCreateError:('format failed:1','/dev/mapper/rhel-root')-anaconda,details see the screenshot. 5.The xml of the guest shows as: <disk type='block' device='lun'> <driver name='qemu' type='raw' cache='none'/> <source dev='/dev/sdb'/> <target dev='sda' bus='scsi'/> <alias name='scsi0-0-0-0'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <controller type='scsi' index='0' model='virtio-scsi'> <alias name='scsi0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </controller> Actual results: As described. Expected results: rhel7.0 guest with virtio scsi lun disk can be installed successfully. Additional info: 1.If I set the format type as ext4,the same error shows. 2.The issue only occurs when using lvm partition and can not reproduce on standard partitions. 3.I can use the same usb disk to install rhel7.0 guest with lvm partition and virtio lun disk successfully. 4.I can use physical disk to install rhel7.0 guest with lvm partition and virtio lun disk successfully.