Bug 982197
| Summary: | Unable to successfully virt-install from localhost (unattended) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Pavel Raiskup <praiskup> | ||||||||||
| Component: | qemu-kvm | Assignee: | Kevin Wolf <kwolf> | ||||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||
| Priority: | unspecified | ||||||||||||
| Version: | 7.0 | CC: | acathrow, codong, dyuan, hhuang, lcui, mkletzan, praiskup, tzheng, virt-maint | ||||||||||
| Target Milestone: | rc | ||||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2013-12-06 17:33:32 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
Pavel Raiskup
2013-07-08 11:34:47 UTC
Created attachment 770440 [details]
/tmp/anaconda-* logs in tarball
May I ask you run libvirtd like this: LIBVIRT_DEBUG=1 LIBVIRT_LOG_OUTPUTS=1:file:/tmp/libvirtd.log libvirtd try the mentioned installations again (from F19 and RHEL7), both with '--debug', gzip both output of virt-install and /tmp/libvirtd.log on host and attach them to this BZ? That would be really helpful, thanks. This problem is so weird I can't really think of anything that might cause it. You might also do 'virsh dumpxml f18-x86_64-sec' after both installations and compare the output. If there is no difference between these two, than I'm afraid there is no difference from the host POV. However there probably will be difference due to default controllers/buses chosen from the supported ones, but that doesn't indicate an error on our side, the problem with reading from the disk must be either in qemu (unlikely) or kernel (depending on how the disk is connected to the machine). (In reply to hyao from comment #5) Could you please provide information requested in comment #3? Created attachment 781045 [details]
Logs
Apart from Hyao's run, here is the debug info you requested. There are two
subfolders, 'local' and 'remote' (logs for installation from localhost on RHEL7
box and from remote F19).
If you miss something, let me know. I rather turned the SELinux off, but still
reproducible. Note that (i think) the only non-standard setting I have on my
RHEL7 workstation is that the image-data directory is a symlink
# ls -alh /var/lib/libvirt/images
lrwxrwxrwx. 1 root root 18 Jun 19 13:58 /var/lib/libvirt/images -> /data/virt-images/
The only difference between the two runs is:
- --connect qemu:///system
+ --connect qemu+ssh://root.redhat.com/system'
Pavel
Created attachment 781057 [details]
installation logs
Ups, forgot to add logs from virt-install --debug. Attaching now.
When installing locally, virt-install (probably thanks to different version), automatically adds cache='none' to the disk, which causes the qemu to be started with ',cache=none' added to the qemu command. Not elaborating on whether this should be on or off by default, this should fail and the problem is lower than virt-{manager,install} or libvirt. I'm transferring to QEMU, but problem may be even lower in the stack.
(In reply to Martin Kletzander from comment #9) s/this should fail/this should NOT fail/ Sorry for the typo which completely changes the meaning. Update: The same hardware, the same system - but switched filesystem from xfs to ext4 and it works OK now. It looks like it is somehow related to xfs. cache=none failing when using XFS on the host. Duplicate of 748906 *** This bug has been marked as a duplicate of bug 748906 *** Don't know why I'm in needinfo, clearing. |