Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32713

Could not clone vm through Jenkins vsphere cloud plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • vmware-plugin
    • 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

        1. Sans titre.png
          77 kB
          mohamed amin mengat

            Unassigned Unassigned
            mamengat mohamed amin mengat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: