VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
3 Replies Last post: Oct 22, 2009 9:20 PM by lamw  

vmclone.pl SoapFault posted: Oct 21, 2009 7:42 PM

Click to view jimbo667's profile Novice 8 posts since
May 12, 2008

Hi,

I was wondering if anyone can help. I am using vmclone.pl and I am getting a SOAP Fault when ussing the --customize_guest option. The output and error is,

Cloning virtual machine 'Win XP Pro2' ...

Fault

SOAP Fault:


Fault string: Not initialized: string orgName

Fault detail: InvalidRequestFault

The xml & xsd files that I am using are the ones provide in the sampledata of the perltookit with the fields all set in the xml file.

Any help would be greatly appreciated

Re: vmclone.pl SoapFault

1. Oct 22, 2009 6:47 PM in response to: jimbo667
Click to view lamw's profile Champion 2,803 posts since
Nov 27, 2007
Can you please provide the customization file you're passing into the script ... I'm guessing by looking at the error you're missing a field that is required as part of the customization which might be the Organization name which is a field and I don't recall if this is optional or not using the API's directly but I'm not sure what the requirements are with the XML wrapper that VMware wrote around this.

=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
vGhetto Script Repository
VMware Code Central - Scripts/Sample code for Developers and Administrators
VMware Developer Comuunity
Twitter: @lamw

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

If you find this information useful, please award points for "correct" or "helpful".

Re: vmclone.pl SoapFault

3. Oct 22, 2009 9:20 PM in response to: jimbo667
Click to view lamw's profile Champion 2,803 posts since
Nov 27, 2007
For Orgnization-Name, do you have any special characters in the name? Also do you have VMware Tools installed on the VM you're trying to clone and sysprep is configured on your vCenter server when issuing the vmclone.pl against your vCenter?

=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
vGhetto Script Repository
VMware Code Central - Scripts/Sample code for Developers and Administrators
VMware Developer Comuunity
Twitter: @lamw

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

If you find this information useful, please award points for "correct" or "helpful".

Developer Social Media

Communities