Hello,
I've got a problem with vCAC provisioning : when I request a virtual machine (Mostly Windows Server 2012R2 and 2008R2), the guest customization sometimes fails (about half the time) with this error in vpxd.log :
2014-05-27T09:39:30.072+02:00 [02844 info 'Default' opID=7f4f5ec8] [VmCustomizer] hostVersion = 5.1.0, tools version = 9226
2014-05-27T09:39:30.086+02:00 [02844 info 'Default' opID=7f4f5ec8] [VmCustomizer] Sysprep options: /quiet /generalize /oobe /reboot
2014-05-27T09:39:30.087+02:00 [02844 info 'Default' opID=7f4f5ec8] [VmCustomizer] Successfully created file C:\Users\****\AppData\Local\Temp\imc2AB2.tmp
2014-05-27T09:39:30.092+02:00 [02844 error 'Default' opID=7f4f5ec8] [VmCustomizer] Exception while creating customization package.
2014-05-27T09:39:30.096+02:00 [02844 info 'Default' opID=7f4f5ec8] [VmCustomizer] Successfully deleted file/directory C:\Users\****\AppData\Local\Temp\imc2AB2.tmp
2014-05-27T09:39:30.096+02:00 [02844 info 'commonvpxLro' opID=7f4f5ec8] [VpxLRO] -- FINISH task-23881 -- vm-510 -- vim.VirtualMachine.customize --
2014-05-27T09:39:30.096+02:00 [02844 info 'Default' opID=7f4f5ec8] [VpxLRO] -- ERROR task-23881 -- vm-510 -- vim.VirtualMachine.customize: vim.fault.CustomizationFault:
--> Result:
--> (vim.fault.CustomizationFault) {
--> dynamicType = <unset>,
--> faultCause = (vmodl.MethodFault) null,
--> msg = "",
--> }
--> Args:
-->
And the logs when the guest customization works (to see the difference) :
2014-05-26T11:25:47.867+02:00 [01284 info 'commonvpxLro' opID=465be887] [VpxLRO] -- BEGIN task-23850 -- vm-506 -- vim.VirtualMachine.customize -- e61b43b1-cbcb-e4f1-97a8-17714dc2d924(52aa5f3f-112a-e24d-c6ef-e34e6e57a6ec)
2014-05-26T11:25:47.867+02:00 [01284 info 'Default' opID=465be887] [VmCustomizer] hostVersion = 5.1.0, tools version = 9226
2014-05-26T11:25:47.872+02:00 [01284 info 'Default' opID=465be887] [VmCustomizer] Sysprep options: /quiet /generalize /oobe /reboot
2014-05-26T11:25:47.873+02:00 [01284 info 'Default' opID=465be887] [VmCustomizer] Successfully created file C:\Users\****\AppData\Local\Temp\imcF8BB.tmp
2014-05-26T11:25:47.879+02:00 [01284 info 'Default' opID=465be887] [VmCustomizer] Successfully created directory C:\Users\****\AppData\Local\Temp\imc-2
2014-05-26T11:25:48.101+02:00 [04788 info 'commonvpxLro' opID=77b2a429] [VpxLRO] -- BEGIN task-internal-17062 -- -- vmodl.query.PropertyCollector.retrieveContents -- e61b43b1-cbcb-e4f1-97a8-17714dc2d924(52aa5f3f-112a-e24d-c6ef-e34e6e57a6ec)
2014-05-26T11:25:48.135+02:00 [04788 info 'commonvpxLro' opID=77b2a429] [VpxLRO] -- FINISH task-internal-17062 -- -- vmodl.query.PropertyCollector.retrieveContents --
2014-05-26T11:25:48.333+02:00 [01284 info 'Default' opID=465be887] [IMC] Create sysprep file package. Params:
2014-05-26T11:25:48.333+02:00 [01284 info 'Default' opID=465be887] [IMC] file = C:\Users\****\AppData\Local\Temp\imcF8BB.tmp
2014-05-26T11:25:48.333+02:00 [01284 info 'Default' opID=465be887] [IMC] binary dir = C:\Program Files\VMware\Infrastructure\VirtualCenter Server\imgcust
2014-05-26T11:25:48.333+02:00 [01284 info 'Default' opID=465be887] [IMC] options = /quiet /generalize /oobe /reboot
2014-05-26T11:25:48.333+02:00 [01284 info 'Default' opID=465be887] [IMC] config = C:\Users\****\AppData\Local\Temp\imc-2
2014-05-26T11:25:48.333+02:00 [01284 info 'Default' opID=465be887] [IMC] sysprep =
2014-05-26T11:25:48.333+02:00 [01284 info 'Default' opID=465be887] [IMC] tools =
2014-05-26T11:25:48.333+02:00 [01284 info 'Default' opID=465be887] [IMC] native =
2014-05-26T11:25:48.333+02:00 [01284 info 'Default' opID=465be887] [IMC] nativeArgs =
2014-05-26T11:25:48.335+02:00 [01284 info 'Default' opID=465be887] [IMC] Successfully created file C:\Users\****\AppData\Local\Temp\imcFA90.tmp
2014-05-26T11:25:48.682+02:00 [01284 info 'Default' opID=465be887] [IMC] Successfully deleted file/directory C:\Users\****\AppData\Local\Temp\imcFA90.tmp
2014-05-26T11:25:48.699+02:00 [01284 info 'Default' opID=465be887] [VmCustomizer] Successfully deleted file/directory C:\Users\****\AppData\Local\Temp\imc-2
2014-05-26T11:25:48.704+02:00 [01284 info 'Default' opID=465be887] [VmCustomizer] hostVersion = 5.1.0, tools version = 9226
I tried to switch to trivia logs but it didn't give me much more informations.
I thought about some rights problem on the TEMP directory (which by the way, I don't know why is located in a user folder and not in Windows folder) but more permissions didn't help.
If someone has an idea about this, it would be great
Thank you !