← Back to team overview

openstack team mailing list archive

Re: Windows Image in OpenStack

 

Hi Razique,

Sorry for replying late to your email. I am still unable to locate the virtio driver when I tried to install Windows on the VM.

Is it possible for you to describe me in short the steps that has to be executed sequentially and the location of execution (cloud controller or compute node)?

What is available currently - I have a Windows server 2012 image uploaded  in the cloud and I have created a VM out of the image. The VNC is working via Horizon for the VM.

Thanks
Krishnaprasad
From: Razique Mahroua [mailto:razique.mahroua@xxxxxxxxx]
Sent: Mittwoch, 3. Juli 2013 11:48
To: Narayanan, Krishnaprasad
Cc: openstack Maillist
Subject: Re: [Openstack] Windows Image in OpenStack

Can you change the net configuration?

kvm -m 2048 -cdrom windows_server_2012_x64.iso -drive file=windows_server_2012.img,if=scsi,index=0,boot=on -boot d -net nic,model=e1000, -net tap -nographic -vnc :10

thanks!


Razique Mahroua - Nuage & Co
razique.mahroua@xxxxxxxxx<mailto:razique.mahroua@xxxxxxxxx>
Tel : +33 9 72 37 94 15

[cid:image001.jpg@01CE79A1.5DE494C0]

Le 2 juil. 2013 à 11:35, "Narayanan, Krishnaprasad" <narayana@xxxxxxxxxxxx<mailto:narayana@xxxxxxxxxxxx>> a écrit :
Hi Razique,

I have executed the below command and got a warning message as I have mentioned below. I opened the VNC from GUI in order to install the Windows image, but I was unable to locate the virtio ISO image.

Do you see any problems in the command? Can you suggest any solutions in this regard?

Thanks
Krishnaprasad
From: Openstack [mailto:openstack-bounces+narayana=uni-mainz.de@xxxxxxxxxxxxxxxxxxx<mailto:bounces+narayana=uni-mainz.de@xxxxxxxxxxxxxxxxxxx>] On Behalf Of Narayanan, Krishnaprasad
Sent: Donnerstag, 27. Juni 2013 00:15
To: Razique Mahroua
Cc: openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Openstack] Windows Image in OpenStack

Hi,

I executed the below command
"kvm -m 2048 -no-reboot -boot order=d -drive file=windows_server_2012.img,if=virtio,boot=off -drive file=windows_server_2012_x64.iso,media=cdrom,boot=on -drive file=virtio-win-0.1-59.iso,media=cdrom,boot=off -net nic,model=virtio -nographic -vnc :1"

and I got the following warning "vlan0 is not connected to host network". Is this a valid behavior?

When I connected to the VNC and tried to discover the Virtio driver, I was unable to discover it. Can anybody suggest where I am going wrong or any solution in order to get rid of the problem?

Thanks
Krishnaprasad
From: Razique Mahroua [mailto:razique.mahroua@xxxxxxxxx]
Sent: Samstag, 22. Juni 2013 20:23
To: Narayanan, Krishnaprasad
Cc: openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Openstack] Windows Image in OpenStack

Can you try that command

kvm -m 2048 -no-reboot -boot order=d -drive file=windowsr2.img,if=virtio,boot=off -drive file=windows-2008r2.iso,media=cdrom,boot=on -drive file=virtio-win-0.1-30.iso,media=cdrom,boot=off -net nic,model=virtio -nographic -vnc :1


Razique Mahroua - Nuage & Co
razique.mahroua@xxxxxxxxx<mailto:razique.mahroua@xxxxxxxxx>
Tel : +33 9 72 37 94 15

<image001.jpg>


Make sure to use the good comas and spaces :-)

regard
Razique


Le 21 juin 2013 à 11:58, "Narayanan, Krishnaprasad" <narayana@xxxxxxxxxxxx<mailto:narayana@xxxxxxxxxxxx>> a écrit :

Hi,

Thanks for your response. When I execute the command (egrep '(vmx|svm)' /proc/cpuinfo) in the compute node, I am getting an output that starts with "flags" and with several lines (refer image below). Any suggestions would be appreciated.

<image002.png>

Cheers,
Krishnaprasad

From: Razique Mahroua [mailto:razique.mahroua@xxxxxxxxx<http://gmail.com>]
Sent: Freitag, 21. Juni 2013 11:46
To: Narayanan, Krishnaprasad
Cc: openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Openstack] Windows Image in OpenStack

Hey Krishnaprasad,
you cannot run kmv is the server doesn't contain the virtualization instruction.
Can you run :
$ egrep '(vmx|svm)' /proc/cpuinfo

thanks!

Razique Mahroua - Nuage & Co
razique.mahroua@xxxxxxxxx<mailto:razique.mahroua@xxxxxxxxx>
Tel : +33 9 72 37 94 15

<image001.jpg>

Le 21 juin 2013 à 11:22, "Narayanan, Krishnaprasad" <narayana@xxxxxxxxxxxx<mailto:narayana@xxxxxxxxxxxx>> a écrit :



Hallo All,

When I tried to execute the commands provided in the OpenStack guide for installing Windows Image, I am getting the following error: "kvm: -drive file=windows_server_2012.img: drive with bus=0, unit=0 (index=0) exists".

The command was executed on a compute node that was virtualizable. Command was "kvm -m 2048 -no-reboot -boot order=d -drive file=windows_server_2012.img if=virtio,boot=off -drive file=windows_server_2012_x64.iso,media=cdrom boot=on -drive file=virtio-win-0.1-59.iso,media=cdrom,boot=off -net nic,model=virtio -nographic -vnc :1".

Can anybody suggest me pointers to get rid of this problem?

Thanks
Krishnaprasad
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


JPEG image


References