When trying to migrate VM's from one host to another using vmoton, I get the following error
Call "EnvironmentBrowser.QueryConfigTarget" for object "envbrowser-12347" on vCenter Server "servername" failed.
hosts are 4.1. I am trying to migrate vm's to other hosts so that I can upgrade the hosts.
I tried to call the exact same method in /mob , the error returned is "Not Initilized"
I tried to create a new cluster and add one of my host there, it does work, but please make this work as well!
Have you tried restarting the management agents on the host(s) and the vcentre service?
service mgmt-vmware restart
service vmware-vpxa restart and vcenter service in vCenter server.
I was also experiencing this immediately following the upgrade of vCenter Server to 5.0 from 4.1.
I had an old NFS datastore whos IP had changed and the datastore had ISOs mounted via it at the time. It was inactive but I could not remove it until I shutdown and connected directly to the host and changed to "Client Device" for CDROM path. And in some cases there was no CDROM or DVD mounted and I had to "remove from inventory" and readd.
After that I could right click and unmount it in datastores and storage.
Lesson: Make sure all stale datastores are cleared up before upgrading to 5.0.... and umount those ISOs when finished with them.