Bug 487136

Summary: KVM Having problem In fedora 10 With no-gui
Product: [Fedora] Fedora Reporter: ali <aliahsan81>
Component: kvmAssignee: Glauber Costa <gcosta>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: low    
Version: 10CC: berrange, clalance, ehabkost, gcosta, markmc, quintela, virt-maint
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: i686   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-01 14:25:58 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description ali 2009-02-24 09:12:23 EST
Description of problem:

How reproducible:

From past few days i am trying to install VM via virt-install qemu-kvm on fedora 10 .My all server at remote site and no GUI is running.So i need to install via SSH.When ever i install it and give -nographic command line switch it just hang and never come back.I paste you my steps so you all can see.
Steps to Reproduce:
1.qemu-img create -f qcow2 disk.img 5G
2.virt-install --name demo  --ram 500   --file /var/lib/xen/images/disk.img     --nographics    --location http://fedora.inode.at/fedora/linux/releases/10/Fedora/i386/os/

3.qemu-kvm -hda disk.img -cdrom fedora10.iso -m 512 -boot d -nographic
Actual results:

IN Case 2 : it just hang on creating domains.And never return console back
IN CASE 3 :shell hangs up and never come back .
 Then in both case need to use kill command to kill process.
Expected results:
Its should work how its documented.

Additional info:
Comment 1 Mark McLoughlin 2009-02-25 04:50:50 EST
(In reply to comment #0)

> When ever i install it and give -nographic command line switch
> it just hang and never come back.

virt-install is connecting to the serial console, but the guest isn't using the serial console.

Try supplying -x "console=ttyS0" on the virt-install command line. Also, note that VNC installs are incredibly useful - try -x "console=ttyS0 vnc". See:

Comment 2 ali 2009-02-26 09:43:27 EST
Thanks, -x console=ttySO worked for me. 

Now I am getting following error after TCP/IP Manual/ DHCP Configuration Network Settings

                       +-----------+ Error +------------+                       
                       |                                |                       
                       | Unable to retrieve             |                       
                       | http://fedora.inode.at/fedora  |                       
                       | /linux/releases/10/Fedora/i38  |                       
                       | 6/os//images/install.img.      |                       
                       |                                |                       
                       |            +----+              |                       
                       |            | OK |              |                       
                       |            +----+              |                       
                       |                                |                       
                       |                                |                       

I have tested the same with local NAP IP ' and live IP's, virt-install is unable to download install.img.

Any idea ?
Comment 3 ali 2009-02-28 13:30:09 EST
i have also tested with NFS, there is something wrong in network connection and seems a bug.