As a vSphere cloud plugin user, I cannot create VM from Jenkins pipeline because template does not have snapshot, not possible in vSphere Version 6.5.0 Build 7070488

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Blocker
    • Component/s: vsphere-cloud-plugin
    • None
    • Environment:
      Jenkins Jenkins v. 2.130
      vSphere v. 6.5.0 Build 7070488
      vSphere cloud plugin v. 2.18

      I'm trying to create a VM from template via Jenkins pipeline using the following code

      node() {
       vSphere buildStep: [$class: 'Clone', clone: 'windwaker-gccloned', powerOn: false, sourceName: 'windwaker-gc', datastore:'Datastore2_Dev_Qa', resourcePool:'Normal'], serverName:'vcr-dev'
       }

      The code fails with the following exception: 

      ERROR: vSphere Error: Source Template "windwaker-gc" requires at least one snapshot.

       

      This was supposed to be fixed in https://issues.jenkins-ci.org/browse/JENKINS-24661

            Assignee:
            Unassigned
            Reporter:
            George Cimpoies
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: