-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
Jenkins Version 1.645.
Vsphere Cloud Plugin 2.9
Hello Guys,
I installed vsphere cloud plugin.
After setup & configuration in jenkins im not able to clone my VM,
something wrong with this plugin.
Building on master in workspace d:\Profiles\mamengat\.jenkins\jobs\CloneCloudVM\workspace
[vSphere]
[vSphere] Performing vSphere build step: "Clone VM from VM or template"
[vSphere] Attempting to use server configuration: "AmpCloud"
[vSphere] Creating a shallow clone of "Gaviria" to "GaviriaSnap"
[vSphere] Started cloning of VM. Please wait ...
[vSphere] Exception
org.jenkinsci.plugins.vsphere.tools.VSphereException: org.jenkinsci.plugins.vsphere.tools.VSphereException: vSphere Error: Couldn't clone "Gaviria"! Does "GaviriaSnap" already exist? Clone task ended with status error
at org.jenkinsci.plugins.vsphere.tools.VSphere.cloneOrDeployVm(VSphere.java:170)
at org.jenkinsci.plugins.vsphere.tools.VSphere.cloneVm(VSphere.java:130)
at org.jenkinsci.plugins.vsphere.builders.Clone.cloneFromSource(Clone.java:111)
at org.jenkinsci.plugins.vsphere.builders.Clone.perform(Clone.java:91)
at org.jenkinsci.plugins.vsphere.VSphereBuildStepContainer.perform(VSphereBuildStepContainer.java:91)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
at hudson.model.Build$BuildExecution.build(Build.java:205)
at hudson.model.Build$BuildExecution.doRun(Build.java:162)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1738)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Caused by: org.jenkinsci.plugins.vsphere.tools.VSphereException: vSphere Error: Couldn't clone "Gaviria"! Does "GaviriaSnap" already exist? Clone task ended with status error
at org.jenkinsci.plugins.vsphere.tools.VSphere.cloneOrDeployVm(VSphere.java:165)
... 13 more
Build step 'vSphere Build Step' marked build as failure
Finished: FAILURE
I am also facing same issue after setting up vSphare and running jenkins job,
Please help, i ma using host VMware esxi.
Building on master in workspace C:\Program Files (x86)\Jenkins\workspace\VM_Mac
[vSphere]
[vSphere] Performing vSphere build step: "Clone VM from VM or template"
[vSphere] Attempting to use server configuration: "VMware_esxi_cloud"
[vSphere] Creating a deep clone of "Engineering Test mac 10.15" to "Engineering Test mac 10.15 Mac"
[vSphere] Clone of VM "Engineering Test mac 10.15" will be based on current snapshot "VirtualMachineSnapshot:71-snapshot-2 @
".
[vSphere] Started cloning of VM "Engineering Test mac 10.15". Please wait ...
[vSphere] Error cloning VM or template
org.jenkinsci.plugins.vsphere.tools.VSphereException: vSphere Error: Couldn't clone "Engineering Test mac 10.15". Clone task ended with status error.
The operation is not supported on the object.
at org.jenkinsci.plugins.vsphere.tools.VSphere.newVSphereException(VSphere.java:1151)
at org.jenkinsci.plugins.vsphere.tools.VSphere.cloneOrDeployVm(VSphere.java:287)
at org.jenkinsci.plugins.vsphere.tools.VSphere.cloneVm(VSphere.java:174)
at org.jenkinsci.plugins.vsphere.builders.Clone.cloneFromSource(Clone.java:183)
at org.jenkinsci.plugins.vsphere.builders.Clone.perform(Clone.java:140)
at org.jenkinsci.plugins.vsphere.VSphereBuildStepContainer.perform(VSphereBuildStepContainer.java:101)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1880)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:428)
Caused by: com.vmware.vim25.NotSupported
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.vmware.vim25.ws.XmlGenDom.fromXml(XmlGenDom.java:253)
at com.vmware.vim25.ws.XmlGenDom.fromXml(XmlGenDom.java:363)
at com.vmware.vim25.ws.XmlGenDom.fromXml(XmlGenDom.java:363)
at com.vmware.vim25.ws.XmlGenDom.fromXml(XmlGenDom.java:363)
at com.vmware.vim25.ws.XmlGenDom.fromXml(XmlGenDom.java:356)
at com.vmware.vim25.ws.XmlGenDom.fromXML(XmlGenDom.java:233)
at com.vmware.vim25.ws.XmlGenDom.fromXML(XmlGenDom.java:124)
at com.vmware.vim25.ws.SoapClient.unMarshall(SoapClient.java:253)
at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:96)
at com.vmware.vim25.ws.VimStub.retrieveProperties(VimStub.java:106)
at com.vmware.vim25.mo.PropertyCollector.retrieveProperties(PropertyCollector.java:98)
at com.vmware.vim25.mo.ManagedObject.retrieveObjectProperties(ManagedObject.java:146)
at com.vmware.vim25.mo.ManagedObject.getCurrentProperty(ManagedObject.java:167)
at com.vmware.vim25.mo.Task.getTaskInfo(Task.java:51)
... 15 more
ERROR: vSphere Error: Couldn't clone "Engineering Test mac 10.15". Clone task ended with status error.
The operation is not supported on the object.
Finished: FAILURE