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

vSphere plugin instant clone support

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: vsphere-cloud-plugin
    • Labels:
    • Environment:
      Jenkins version 2.146.1
      vSphere Cloud plugin version 2.19
    • Similar Issues:

      Description

      I'm starting using vSphere cloud plugin to generate nodes and VMs on demand and on per-job in the pipeline.

      Looking at the documentation, there is no mention of the "instant clone" feature of vSphere but only "linked clone".

      https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vm_admin.doc/GUID-853B1E2B-76CE-4240-A654-3806912820EB.html

       

      I'm wondering if vSphere Cloud plugin can be improved to support "instant clone".

       

        Attachments

          Activity

          gmaxera Gianluca Massera created issue -
          Hide
          pjdarton pjdarton added a comment -

          This plugin pre-dates "instance clone" - when it was written, vSphere didn't support it. Linked clones was about as close as you'd get (and even that is tricky).

          To do this, we'd need to work out

          1. if this isn't just sales-hype re-describing what a linked clone is already
          2. if there's anyone willing and able to implement this
          3. if the yavijava library supports the API calls required

          After that, I'd guess the design process would be to determine:

          1. what configuration data the Jenkins plugin would need for this use case
          2. how best to distinguish between "clone from template" and "instant clone" in the configuration UI
          3. if we'd also need different build steps to support it (e.g. we've got "template to vm" and "vm to template" but would we also need new stuff for "instant clones"?)
          4. how best to "plug in" to the existing "create a new VM on demand" functionality when the configuration is set to "instant clone".

          Having someone both willing and able to do it is key tho' - this is free software; it isn't anyone's "job" to implement features that other people are asking for; if you need it, you learn everything you need to learn to do that, and do it yourself (or you pay someone else to do that).

          Show
          pjdarton pjdarton added a comment - This plugin pre-dates "instance clone" - when it was written, vSphere didn't support it. Linked clones was about as close as you'd get (and even that is tricky). To do this, we'd need to work out if this isn't just sales-hype re-describing what a linked clone is already if there's anyone willing and able to implement this if the yavijava library supports the API calls required After that, I'd guess the design process would be to determine: what configuration data the Jenkins plugin would need for this use case how best to distinguish between "clone from template" and "instant clone" in the configuration UI if we'd also need different build steps to support it (e.g. we've got "template to vm" and "vm to template" but would we also need new stuff for "instant clones"?) how best to "plug in" to the existing "create a new VM on demand" functionality when the configuration is set to "instant clone". Having someone both willing and able to do it is key tho' - this is free software; it isn't anyone's "job" to implement features that other people are asking for; if you need it, you learn everything you need to learn to do that, and do it yourself (or you pay someone else to do that).

            People

            • Assignee:
              Unassigned
              Reporter:
              gmaxera Gianluca Massera
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: