New Question
0

Openstack Juno -Windows 2012 STD/ R2 fails after sysprep

asked 2016-06-23 16:00:21 +0200

Parth Gandhi gravatar image

Hi,

I am creating Windows RAW image file for KVM Hypervisor for Openstack using the autounattend answer file which installs the OS, install cloudbase init and then do a sysprep with another unattend answer file. Once the image is created I use the image to spawn the instances. However after creating first instance all other instance fail to spawn, using the base image, with the below error message. I have tried modifying the setting in the unattend answer file but in vain.

""The computer restarted unexpectedly or encountered an unexpected error. Windows installation cannot proceed""

PS: I have 2 Openstack Juno setup and this image works fine in one and behaves as mentioned above in other.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2016-07-27 10:01:02 +0200

Parth Gandhi gravatar image

I was able to fix the issue by modifying the unattend file. I am still investigating as to what was the issue in the original answer file which was causing the image to fail however I now have the working images of 2012 R2 and STD.

edit flag offensive delete link more
0

answered 2016-06-23 18:15:56 +0200

avladu gravatar image

Hello,

you need to make sure that you are using kvm (libvirt_type=kvm in the compute's nova.conf). More information you can find here: http://ask.cloudbase.it/question/1227...

Thanks, Adrian Vladu.

edit flag offensive delete link more

Comments

Hi Adrian, I checked and both the environment has the above setting in nova.conf file.

Parth Gandhi gravatar imageParth Gandhi ( 2016-06-24 07:27:50 +0200 )edit

Moreover, you need the virtio drivers provided by fedora, to be installed if you are using virtio-scsi or virtio-net: fedorapeople.org/groups/virt/virtio-win/

avladu gravatar imageavladu ( 2016-06-27 00:00:36 +0200 )edit

I have installed the virtIO drivers as well. The image works on one environment and fails on other.

Parth Gandhi gravatar imageParth Gandhi ( 2016-06-27 11:57:52 +0200 )edit

I understand. If possible, can you provide the qemu-kvm command used in either environments on a pastebin? The command can be retrieved by issuing a 'ps aux | grep kvm' on the compute nodes. I would like to see if there is any difference between the commands, in order to reproduce your issue. Thanks

avladu gravatar imageavladu ( 2016-06-27 15:30:44 +0200 )edit

Hi Please find the outout for working : http://pastebin.com/1kZS2mGj and non working : http://pastebin.com/Kr9tp0SE

Parth Gandhi gravatar imageParth Gandhi ( 2016-06-30 12:13:03 +0200 )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-06-23 16:00:21 +0200

Seen: 758 times

Last updated: Jul 27 '16