New Question
0

win 2012 image on OpenStack with qemu gives bsod errror

asked 2016-09-19 18:21:06 +0300

enstadae gravatar image

I have a new Openstack Mitaka install with Foreman/Puppet provisioning front end to Openstack with the latest Win2012 image downloaded from Cloudbase and I followed the instructions to add this image to Openstack.

The defaul Openstack setup was: virttype=qemu, which works for the Linux Openstack VMs, but when I change it to : virttype=kvm, the Windows2012 image still gives the same bsod error. And also the Linux VMs don't fully complete their builds with the KVM virt_type set.

This is all running on Centos 7.

edit retag flag offensive close merge delete

Comments

1. Windows 2012 R2 Eval Cloud image from Cloudbase 2. This happens when I try launching a new instance using this Windows image in Openstack. The image tries to start, but then just errors out. The network is a Flat network, with 3 Openstack servers (1-controller, 2-compute nodes).

enstadae gravatar imageenstadae ( 2016-09-20 17:37:19 +0300 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2016-09-21 12:27:11 +0300

avladu gravatar image

Hello,

First of all, you need the qcow2 version of the Windows 2012 R2 Standard from our site. That image has all the drivers required to boot on KVM (Fedora's VirtIo Drivers).

On the nova.conf configuration from the compute nodes, it is mandatory to set virt_type=kvm in order for Windows to boot successfully.

Regarding the issues you have with Linux VMs, you need to tweak the cpu-model/cpu-mode from the libvirt options according to the client OS. I suggest to set cpu-mode=host-passthrough at first,and see if it works.

Thank you,

Adrian Vladu.

edit flag offensive delete link more

Comments

Ok, so downloaded the qcow2 version of Windows 2012 R2 Standard from your site. Changed the nova.conf to "vert_type=kvm". Even changed the cpu-mode to "host-passthrough". And after all this, which I had already done I get the same error when trying to launch this Windows image in Openstack.

enstadae gravatar imageenstadae ( 2016-09-21 20:18:45 +0300 )edit

Windows failed to start. A recent hardware or software change might be the cause.

enstadae gravatar imageenstadae ( 2016-09-21 20:19:38 +0300 )edit

I see. For further debugging, can you put in a pastebin the output of "ps aux| grep kvm" from the nova-compute node? Thanks.

avladu gravatar imageavladu ( 2016-09-22 14:10:19 +0300 )edit

Added that output to pasebin, title is: win 2012 image on OpenStack with qemu gives bsod errror

enstadae gravatar imageenstadae ( 2016-09-22 17:17:34 +0300 )edit

can you put the pastebin link here?

avladu gravatar imageavladu ( 2016-09-22 17:23:28 +0300 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-09-19 18:21:06 +0300

Seen: 617 times

Last updated: Sep 21 '16