A vCenter Server resource is missing or invalid

I recently saw this error and it was while I was trying to deploy an OVA file from a vendor.

OddError

This is one I have not seen before – not even a twinge of memory on it. Since this happened during deploy of an OVA I thought I would try expanding the OVA.  I use 7-Zip and it was able to extract it without error.  This suggests to me that this is not a file type error but a metadata type error.

But no other ideas on what to try.  So I checked to see what I could find that might help.

  • This one certainly doesn’t.  Not even sure why it was suggested.
  • Certainly other people are experiencing it, but here is something else that doesn’t help.
  • I talk to the OVA vendor and discover that this started out as a Fusion VM, was moved to ESXi and worked fine.  Then they produced the OVA.
  • This KB article helped – almost.  The idea was to convert the VMDK to a the proper format.
  • I had extracted the OVA and so now I upload the disk to a datastore.
  • Created a VM (it doesn’t start)
  • I had found a KB article that I cannot seem to find now for this error.  It said to fix this error all that is needed is the following steps:
    • Turn off the VM the disk is connected to.
    • Disconnect the VMDK from the VM
    • SSH to the host and change into the folder where the VMDK is.
    • Use the command below to make the disk usable.
      • vmkfstools -i old_name.vmdk new_name.vmdk
    • Attach the new disk to the VM
    • Power VM on and it would start fine.
    • In theory, this should be done before the OVA in this particular case.  This i snot normal behavior and I don’t know what this was necessary.

You now have a VM running that likely will need to restart once you log into it.  Very odd workaround, and odd again to make it work, but it does work.  This should not impact many of you.

Update:

  • 8/20/16 – I had this issue occur again – this time with a VMware OVA.  It seems the issue occurs only in the Web Client,  and the certificate.  So if no cert then no issue.  So the C# works when this issue occurs.

Michael

Tagged with: ,
Posted in How To, Uncategorized
2 comments on “A vCenter Server resource is missing or invalid
  1. Iniano says:

    I received the same error while deploying a .ova file on a version 6 Cluster. It happened when I selected the cluster as the destination. If I selected one of the hosts as the destination, it worked as expected, without the error.

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

%d bloggers like this: