Vsphere version 6.0 (vcernter server + esxi)
Get this error when trying to power on some virtual machines:
Failed to find a host for powering on the virtual machine. the following faults explain why the registered host is not compatible.
Unable to access the virtual machine configuration: Unable to access file  /vmfs/volumes/foo1/foo2/vm-Snapshot36.vmsn
This volume and file are accessible to the ESX - checked it on the esx itself.
It's very strange,
I get this error when using only when the C# client or the web client while connected to the vcenter server.
When connecting using the client directly to the ESX it powers on fine everytime.
Also, if I click on "edit settings" change nothing and click ok - this triggers a save configuration task which after I can power this VM on when connected to the vcenter server.
This started happening only after I upgraded to vsphere 6.
Can you try the following from vCenter?
1. Create a snapshot for the VM.
2. Delete All Snapshots
3. Power ON VM
You need to remember that's its not a single virtual machine. It's all virtual machine we provision automatically.
The process we used worked flawlessly till now (5.1)