There are no hosts in use by this Hosting Unit that currently have an overall state of OK
book
Article ID: CTX220563
calendar_today
Updated On:
Description
- Creating new Machines Catalogs with MCS fails with following error: "An error occurred while preparing the image."
Error details show "InternalErrorMessage: No hosts available".
- Running a test to the Resources on the Hosting Connections, the following error is shown:
"There are no hosts in use by this Hosting Unit that currently have an overall state of OK. Attempting to provision machines using this hosting unit while all hosts are in this state will fail."

Instructions
Go to SCVMM admin console
- Select the "VMs and Services" tab and browse under all hosts and find your Hyper V machine(s)
- Select the host(s) in question and right click and go to Properties.
- In the window shown select the Status tab and it will show what Health Status is requesting attention (in this case the "Host Agent Version" was shown out of date).
- Click the Repair All button and wait for the Host Agent Version to be upgraded.
- All Health Status should display OK once completed.
- Next go to Studio and run a test to the Hosting Connection and Resources which should finish successfully without errors and warnings messages.
- Proceed to create a new Machine Catalog which should finish successfully now.
NOTE:If MCS fails again with error message
"Failed to open share '\\ServerFQDN\Folder' as it is already used by a different user on this machine." proceed to reboot the Delivery Controller to finish all services that are using the SCVMM admin console or other Hyper-V services. Then attempt to create a new Machine Catalog again.
Additional Information
http://discussions.citrix.com/topic/338374-there-are-no-hosts-in-use-by-this-hosting-unit-that-currently-have-an-overall-state-of-ok/
Was this article helpful?
thumb_up
Yes
thumb_down
No