teamnorthwoods
asked on
Failed to clone windows xp or 2003 in Vcenter 4.1
I've recently upgraded to Vcenter 4.1 and upgrade all our hosts. Now i’m having trouble with creating xp or 2003 VM's from templates using the customization specifications Manager (Windows7,2008, 2008R2 work fine). After I deploy the Clone Virtual Machine task fails at 93% with the details of "Customizing the new Virtual Machine"
I have extracted the correct .cab files into the correct folders as per kb.vmware.com/kb/1005593
I've done with before with ESX3.5 and 4.0 and it worked fine, it's just when I've upgraded to 4.1 that I’m having trouble. I'm not sure if this matter but I also have Vcenter running on 2008 R2.
[2010-08-30 16:15:24.350 04200 verbose 'App' opID=6015410A-00000790] [vm.clone] Unexpected exception while cloning vm: /vpx/vm/#838/
[2010-08-30 16:15:24.350 04200 verbose 'App' opID=6015410A-00000790] [VpxdResMgr] Unreserving
[2010-08-30 16:15:24.350 04200 verbose 'App' opID=6015410A-00000790] [VpxdResMgr] Resv Spec:
(host-75:3, 1)
(host-75:8, 0)
[2010-08-30 16:15:24.351 04200 error 'App' opID=6015410A-00000790] [VpxdVmprov] Clone failed: vim.fault.CustomizationFau lt
[2010-08-30 16:15:24.352 04200 error 'App' opID=6015410A-00000790] vim.fault.CustomizationFau lt
------ In-memory logs end --------
[2010-08-30 16:15:24.374 04200 info 'App' opID=6015410A-00000790] [VpxLRO] -- FINISH task-1502 -- vm-838 -- vim.VirtualMachine.clone -- E20C6437-5DE8-4266-8E1D-10 F7CE9E1243 (AEBE82B7- 2640-4211- 976A-4AB50 6E63BDE)
[2010-08-30 16:15:24.374 04200 info 'App' opID=6015410A-00000790] [VpxLRO] -- ERROR task-1502 -- vm-838 -- vim.VirtualMachine.clone: vim.fault.CustomizationFau lt:
Result:
(vim.fault.CustomizationFa ult) {
dynamicType = <unset>,
faultCause = (vmodl.MethodFault) null,
msg = "",
}
Args:
Arg folder:
'vim.Folder:group-v4'
Arg name:
"test"
Arg spec:
(vim.vm.CloneSpec) {
dynamicType = <unset>,
location = (vim.vm.RelocateSpec) {
dynamicType = <unset>,
datastore = 'vim.Datastore:datastore-7 7',
diskMoveType = <unset>,
pool = 'vim.ResourcePool:resgroup -11',
host = 'vim.HostSystem:host-75',
transform = <unset>,
},
template = false,
config = (vim.vm.ConfigSpec) null,
customization = (vim.vm.customization.Spec ification) {
dynamicType = <unset>,
options = (vim.vm.customization.WinO ptions) {
dynamicType = <unset>,
changeSID = true,
deleteAccounts = false,
reboot = <unset>,
I have extracted the correct .cab files into the correct folders as per kb.vmware.com/kb/1005593
I've done with before with ESX3.5 and 4.0 and it worked fine, it's just when I've upgraded to 4.1 that I’m having trouble. I'm not sure if this matter but I also have Vcenter running on 2008 R2.
[2010-08-30 16:15:24.350 04200 verbose 'App' opID=6015410A-00000790] [vm.clone] Unexpected exception while cloning vm: /vpx/vm/#838/
[2010-08-30 16:15:24.350 04200 verbose 'App' opID=6015410A-00000790] [VpxdResMgr] Unreserving
[2010-08-30 16:15:24.350 04200 verbose 'App' opID=6015410A-00000790] [VpxdResMgr] Resv Spec:
(host-75:3, 1)
(host-75:8, 0)
[2010-08-30 16:15:24.351 04200 error 'App' opID=6015410A-00000790] [VpxdVmprov] Clone failed: vim.fault.CustomizationFau
[2010-08-30 16:15:24.352 04200 error 'App' opID=6015410A-00000790] vim.fault.CustomizationFau
------ In-memory logs end --------
[2010-08-30 16:15:24.374 04200 info 'App' opID=6015410A-00000790] [VpxLRO] -- FINISH task-1502 -- vm-838 -- vim.VirtualMachine.clone -- E20C6437-5DE8-4266-8E1D-10
[2010-08-30 16:15:24.374 04200 info 'App' opID=6015410A-00000790] [VpxLRO] -- ERROR task-1502 -- vm-838 -- vim.VirtualMachine.clone: vim.fault.CustomizationFau
Result:
(vim.fault.CustomizationFa
dynamicType = <unset>,
faultCause = (vmodl.MethodFault) null,
msg = "",
}
Args:
Arg folder:
'vim.Folder:group-v4'
Arg name:
"test"
Arg spec:
(vim.vm.CloneSpec) {
dynamicType = <unset>,
location = (vim.vm.RelocateSpec) {
dynamicType = <unset>,
datastore = 'vim.Datastore:datastore-7
diskMoveType = <unset>,
pool = 'vim.ResourcePool:resgroup
host = 'vim.HostSystem:host-75',
transform = <unset>,
},
template = false,
config = (vim.vm.ConfigSpec) null,
customization = (vim.vm.customization.Spec
dynamicType = <unset>,
options = (vim.vm.customization.WinO
dynamicType = <unset>,
changeSID = true,
deleteAccounts = false,
reboot = <unset>,
Do not customize the clone and it should work. Do not check the customization box
ASKER
Creating a clone works fine but I want to use the the customication box as our Dev team uses it to clone their enviroment and they want an easy way to change the setting when cloning.
Side note - I was able to get the XP working by login in as administrator and removing the password.
Side note - I was able to get the XP working by login in as administrator and removing the password.
A way to do this is to create is either create a template or clone to template and then deploy template. I have had this issue before and the VMware KB stated that the only way around it is to uncheck customization.
BTW, if you check the matrix, customization is not supported with Windows 2008R2 yet. I have been able to work around this by labeling it as windows 2008 x64 so it worth a try.
BTW, if you check the matrix, customization is not supported with Windows 2008R2 yet. I have been able to work around this by labeling it as windows 2008 x64 so it worth a try.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It's the newly created (in 4.1) windows 2003 r2 which im having trouble with not the 2008 R2 and with the new matrix in 4.1 all windows are supported...
http://www.vmware.com/pdf/vsphere4/r40/vsp_compatibility_matrix.pdf
Check out the "Guest OS Cust"
http://www.vmware.com/pdf/vsphere4/r40/vsp_compatibility_matrix.pdf
Check out the "Guest OS Cust"
ASKER
So I think danm66 is right. I tried clone another older 2003 vm and it deployed just fine. So rather then deploying the vm from a template, I turned the templated back into a VM then tried to clone it. Then i got a whole new error...
"VMware vCenter Error Call “PropertyCollector.Retriev eContents” for object “propertyCollector” on vCenter Server failed" then i realized that since I converted the VM to a template I can no longer modify the VM settings. I think this may have happed because i left a ISO attached to the vm when i converted it to a template.
http://yuridejager.wordpress.com/2010/07/24/vmware-vcenter-error-call-propertycollector-retrievecontents-for-object-propertycollector-on-vcenter-server-failed/
"VMware vCenter Error Call “PropertyCollector.Retriev
http://yuridejager.wordpress.com/2010/07/24/vmware-vcenter-error-call-propertycollector-retrievecontents-for-object-propertycollector-on-vcenter-server-failed/
ASKER
Answer was not specific to what the problem was. Just a generic, here's what I did when everything failed.
ASKER
Turns out the corrupted vm wasn't my only issue because after I fixed the VM by a moving the disk file to a new vm and rebooted I still had issues. After some more testing my template VM had to long of a computer name. I shortened it, and then converted it to a template and now all works well.