VMware Horizon Community
Thaysula
Contributor
Contributor

Error Occurring when provisioning view VM’s

I'm currently setting up a POC of View at work.

We have decided to use the linked clones’ option. The pool is small, as it's just a POC, with max size 10, and start off with 3 provisioned.

Part way through the provisioning of the servers I get the error

"View Composer agent initialization state error (20): Internal Error, failed to synchronize computer password (waited 0 seconds)"

When I first created the pools (1 Win7 32 bit pool and 1 Win7 64 bit pool) some worked some didn’t so I had the initial 3 with numbers like vm01, vm02 and vm04

I did a recompose this week of the 64 bit pool, to add in some patches and other changes and every existing VM in that pool once again gave me the error:

“View Composer agent initialization state error (20): Internal Error, failed to synchronize computer password (waited 0 seconds)”

It then went on to try and provision more to get a working one but stopped as it hit the pool’s maximum.

I have avoided recomposing the 32 bit pool at the moment, as it is sort of working.

I am currently using sysprep but I did receive the error when testing out a pool using quick prep as well.

Can anyone enlighten me on what may be wrong?

Thanks

Notes:

View version 5.2, ESXi v5.1, with Blast installed

View is running in its own cluster, with its own host in our test network

Reply
0 Kudos
4 Replies
dvhorvath
Enthusiast
Enthusiast

It sounds like some element of the View Agent is missing or has been overwritten by some other component. Try this on the parent VM and see if it helps at all: uninstall the Remote Experience Agent if it's installed (reboot if prompted); uninstall the View Agent (reboot if prompted); uninstall VMware Tools (reboot if prompted); install the VMware Tools (reboot if prompted); install the View Agent (reboot if prompted); then reinstall the Remote Experience Agent to enable Unity Touch. There are elements of the View Agent that depend on the VMware Tools, and other elements that install updated files that overlay the VMware Tools, so the order is important. Once you've done all of that, take a new snapshot and recompose the pool from that.

If that doesn't help, check the permissions for the View Composer service account, to be sure it has the proper permissions on the OU in Active Directory where these machines are going. The odd thing is that some of them worked, and now they're not, so I don't think it will be a permissions issue in AD, but worth checking anyway.

Reply
0 Kudos
Thaysula
Contributor
Contributor

Thanks, I’ll give that a try but just to add weirdness to the mix.

I had put one of the errored out vm's into maintenance mode when I took it out it switched to being available but when logged into you get the message

“Your desktop is in an inconsistent state that could cause data loss (error: Internal Error, failed to synchronize computer password). Please logout and try to login again (you will be forced to logout in 2 minutes).”

I let you know how the re-installing goes.

Reply
0 Kudos
Thaysula
Contributor
Contributor

Nope, no luck.

All but one got stuck on the re-compose. Slightly different error for some of them

"View Composer agent initialization state error (6): Unknown failure (waited 10 seconds)"

The one that didn't get stuff on re-compse got stuck on customizing, so no error message yet.

I tried creating a new pool (using quick prep as a test), but the same issue occured.

I was wondering, since these are domain joined, is there a group policy setting that could be interferring/overriding the view re-compose function?

Reply
0 Kudos
trs2982
Contributor
Contributor

Any luck?  I'm having the same issue with Windows 8.

Reply
0 Kudos