New Question
0

Reboot loop when booting a glance windows image with cloud-init

asked 2015-09-10 09:09:32 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am experiencing a reboot loop after deploying an OpenStack Image with cloud-init. Using the standard unattend.xml script bundled with the installer. The odd thing is the problem is not consistent. If i deploy 5 instances from the image two of them will have the following error. All others deploy properly.

"the computer restarted unexpectedly or encountered an unexpected error. Windows Installation cannot proceed. To install Windows, click "ok" to restart the computer, and then restart the installation."

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2015-09-11 17:40:57 +0300

Lucian Petrut gravatar image

Please provide the cloudbase-init logs as well, just to make sure you're not having this issue: https://bugs.launchpad.net/cloudbase-....

edit flag offensive delete link more

Comments

This was perfect. Solved the issue. I can confirm that this is a race condition. After applying the fix all our images boot with no issues. Changes: 1) Modified unattend.xml to include the additional <runsynchronous> command 2) ran "ipconfig /release" after sysprep then shutting down.

buster_604 gravatar imagebuster_604 ( 2015-09-24 01:53:23 +0300 )edit
0

answered 2015-09-11 17:24:11 +0300

ader1990 gravatar image

Hello,

As the "unattend.xml" contains <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>, if the hypervisor hardware you are deploying to is different than the one where you generated the image, this leads to errors during the generalize step. If this is the case, you can remove this entry from the Unattend.xml.

If this is not the case, can you provide more information about your environment(hypervisor/os and cloudbase-init version used), so that we can try to reproduce the issue?

Thanks.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2015-09-10 09:09:32 +0300

Seen: 4,674 times

Last updated: Sep 11 '15