No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Failed to Provision VMs

Publication Date:  2014-07-07 Views:  668 Downloads:  0

Issue Description

Failed to provision VMs using a full copy template.

Alarm Information

none.

Handling Process

Create a full copy template again.

Root Cause

1. The ITA log shows that "Machine is already allocated". The possible cause is that the full copy template is not encapsulated; therefore, the VMs created on the AD server have a same name.

Failed to execute C:\ITA\tomcat\vDesktop\WEB-INF/script/xd5/addVMToDg.ps1, return PowerShell:Machine is already allocated

2. The name of the created VM is 22-D238C8C3A1D0.

3. The name of the template VM is also 22-D238C8C3A1D0, which indicates that the template is not encapsulated.

4. Another method for checking whether a template is encapsulated is to check the value of registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\State\ImageState. If the value of ImageState is MAGE_STATE_COMPLETE, the template is successfully encapsulated; otherwise, the template is not encapsulated.

Suggestions

You can query ITA logs to check whether the template is successfully encapsulated.

END