VMware Cloud Community
nathanw
Enthusiast
Enthusiast

Upgrade Virtual Hardware from 4 to 7 fails

I have created a new vSphere cluster and have migrated some new VM to it.

When trying to upgrade the Virtual Hardware of a 2008 vm this immediately fails with an unknown error, looking at the logs however shows the following;

Upgrading virtual hardware to version vmx-07

info

7/01/2010 10:13:06 AM

vpxuser

In the correct format and relayout is not neccessary

info

7/01/2010 10:13:06 AM

vpxuser

Cannot upgrade virtual hardware

error

7/01/2010 10:13:06 AM

vpxuser

However the VM version is still at version 4.

This is a brand new VM

ESX 4.0 not yet at Update 1, thats another issue....

Thanks

Nathan

Nathan VCP
0 Kudos
6 Replies
danm66
Expert
Expert

http://communities.vmware.com/message/1394783 worked around issue by removing from inventory and then re-adding (using datastore browser, right-click on .vmx file)

AndreTheGiant
Immortal
Immortal

VMware Tools are up-to-date?

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
nathanw
Enthusiast
Enthusiast

This work around resolved it, many thanks. I would love to know what caused it and how to correct the issue, have tried to replicate it but failed Smiley Sad

Nathan VCP
0 Kudos
nathanw
Enthusiast
Enthusiast

Yes upto date but as the vm is powered off during an upgrade this should not be an issue, was able to work around by following the previous link to a post on the same issue. basically deregister VM and re register VM

Nathan VCP
0 Kudos
danm66
Expert
Expert

my guess is that something wasn't right in the database for the VM(s). a restart of the vCenter or trying to do it directly from host (vsphere client directly to host rather than to VC) were other ideas I had of trying to narrow down issue...

0 Kudos
nathanw
Enthusiast
Enthusiast

I tried directly via the host no joy. I doubt that a restart of vCenter would help here as doing at the Host level also failed. The error log seemed to me to indicate that there was an error in the VM config file however after re-registering the VM it worked I made no changes to the vmx file.

I love this product I really do but VMware really need to start concentrating on correcting the issues and developing better software, perhaps it's the EMC influence?

I'll stop the rant before it starts..

Nathan VCP
0 Kudos