| Summary: | "virt-install" without "--accelerate" will be very very slow to create a guest. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Cui Chun <ccui> |
| Component: | python-virtinst | Assignee: | Cole Robinson <crobinso> |
| Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.7 | CC: | dyuan, mzhan, nzhang, rwu, yoyzhang, zpeng |
| 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: | 2011-08-23 16:10:23 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update. Contact your manager or support representative in case you need to escalate this bug. Upstream virt-install uses this option by default, we should probably backport a similar change to RHEL5 Actually, ignore that last comment. It's way too late in the RHEL5 cycle to be changing defaults, even if it's one that will generally benefit users. Closing as WONTFIX for RHEL5 |
Description of problem: It will take more than one hour to create a qemu guest through "virt-install" command (without "----accelerate") on RHEL5.7. Version-Release number of selected component (if applicable): libvirt-0.8.2-20.el5 libvirt-python-0.8.2-20.el5 kvm-83-232.el5 How reproducible: Always Steps to Reproduce: 1.create a guest and make sure it can be started/stopped/ normally. image path is /var/lib/libvirt/images/w2k3-kvm2.img 2.stop and undefine this guest # virsh destroy w2k3-kvm2 # virsh undefine w2k3-kvm2 3. try to create a guest with w2k3-kvm2.img through "virt-install" # virt-install -n vm1 -r 1024 -f /var/lib/libvirt/images/w2k3-kvm2.img --importimg --import --debug Wed, 18 May 2011 15:15:24 DEBUG Requesting libvirt URI default Wed, 18 May 2011 15:15:24 DEBUG Received libvirt URI 'qemu:///system' Wed, 18 May 2011 15:15:24 DEBUG Requesting virt method 'default' Wed, 18 May 2011 15:15:24 DEBUG Received virt method 'hvm' Wed, 18 May 2011 15:15:24 DEBUG Hypervisor name is 'qemu' Wed, 18 May 2011 15:15:24 DEBUG Setting size for existing storage to '7.8125' Wed, 18 May 2011 15:15:24 DEBUG Detected storage as type 'file' Wed, 18 May 2011 15:15:24 DEBUG Setting size for existing storage to '7.8125' Wed, 18 May 2011 15:15:24 DEBUG Detected storage as type 'file' Wed, 18 May 2011 15:15:24 DEBUG Setting size for existing storage to '7.8125' Wed, 18 May 2011 15:15:24 DEBUG Detected storage as type 'file' Wed, 18 May 2011 15:15:24 DEBUG DISPLAY is set: graphics defaulting to VNC. Starting install... Wed, 18 May 2011 15:15:24 DEBUG Saving XML boot config: <domain type='qemu'> <name>vm1</name> <currentMemory>1048576</currentMemory> <memory>1048576</memory> <uuid>57687424-4900-4f92-a939-984690e0dd2b</uuid> <os> <type arch='x86_64'>hvm</type> <boot dev='hd'/> </os> <features> <acpi/><apic/><pae/> </features> <clock offset="utc"/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <vcpu>1</vcpu> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <console type='pty'/> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='none'/> <source file='/var/lib/libvirt/images/w2k3-kvm2.img'/> <target dev='hda' bus='ide'/> </disk> <interface type='network'> <source network='default'/> <mac address='54:52:00:0a:ff:fc'/> </interface> <input type='mouse' bus='ps2'/> <graphics type='vnc' port='-1' keymap='en-us'/> </devices> </domain> Guest installation complete... restarting guest. Wed, 18 May 2011 15:15:25 DEBUG Restarted guest, looking to see if it is running Wed, 18 May 2011 15:15:25 DEBUG Launching console callback connect : Connection refused ................... 4. installation process is held on the virt viewer screen and no any feedback more than 1 hour 5. interrupted the step4 after 1 hour and undefine the crash guest. 6. recreate it by "virt-install" with "----accelerate". The guest can be created quickly. # virt-install -n vm1 -r 1024 -f /var/lib/libvirt/images/w2k3-kvm2.img --import --accelerate Actual results: The result of step4. Expected results: Enhance the performance for "virt-install" without "----accelerate" Additional info: