Error: The Operation is not allowed in current state of the Host–while Powering On a Virtual Machine

At least once in your vSphere environment you will face an unfamiliar error. It’s a vague error message which popup when you try to power on a virtual machine.
Image-0022

Not really sure what causes this error all of a sudden, need to investigate more.

To fix this issue lets check the state of Host.
Host is running, but if you notice the summary page and look at the “Resources” section you will find the data for CPU / Memory Usage is not being pulled.

Image-0023
When I faced this error 1st, I did a restart of Host which solved the problem, but in some cases you can’t take this step unless you have planned to vMotion the VM’s to another host.

Another way is to “Remove” the host from vCenter and “Add” back again.

To remove the host, right click on the host and select “Remove”

Image-0024

This action will give a security alert, Click “Yes” to move ahead.

Image-0025

You can monitor the “Recent Tasks” for the status of your action.

Image-0026

Lets “Add” the Host again.
Right click on the “Datacenter Name” and select “Add Host…”

Image-0027

Go through the wizard process.
Image-0028

You will be prompted again with the Security Alert, Select “Yes” to move ahead.

Image-0029

Upon completion of wizard you can go through the summary once again.

Image-0030

And the Host will be added

Image-0032

Once the Task is complete, check the “Summary” page of the Host and check the “Resources” section.

Image-0033

Now try Powering On the virtual machine, and it should power on.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s