Chris Edgar
Chris Edgar

Reputation: 11

The virtual machine cannot restart. The current virtual machine state is RoleStateUnknown

I'd be grateful if anyone can shed some light on this issue I am having.

Having succesfully created a Windows 2008 VHD using VirtualBox and uploaded to Azure with csupload, created an image I ran into the following problems.

When provising the VM for the first time, the VM goes to "stopped" and the following error appears.

"The virtual machine cannot restart. The current virtual machine state is RoleStateUnknown.

Browser: 5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E)".

I tried to restart the VM and the status remains in Provisioning (running).

Am I running into these problems because of the preview and would you recommend that Azure is not fit for purpose for provisioning Virtual Machines at this stage?

Any help, advice or guidance would be very much appreciated.

Regards,

Chris

Upvotes: 1

Views: 3030

Answers (2)

AvkashChauhan
AvkashChauhan

Reputation: 20571

While you have done everything correctly it is possible you are hitting a known issue in platform which could cause this problem. The problem is described as following:

Machine cannot restart due to RoleStateUnknown

My suggestion will be to try the suggestion given in the link above and post your troubleshooting details to Windows Azure Virtual Machines for Windows to get someone to assist you further.

Alternatively to expedite your resolution, you can try to use an image from the Gallery and install your stuff to get it working for you.

Upvotes: 2

Sandrino Di Mattia
Sandrino Di Mattia

Reputation: 24895

Did you sysprep the machine? This is a requirement if you upload your image:

Step 4: Prepare the image to be uploaded: Before the image can be uploaded to Windows Azure, it must be generalized by using the Sysprep command.

If you're still having issues I suggest you take a look at this topic which describes the most common issues when uploading your own image: Common issues - uploaded VHDs

Upvotes: 0

Related Questions