Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-10056

puppetlabs/vsphere Module, customer is asking to support launching VM on storage cluster

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: vsphere
    • Environment:

      PE 2019.1

       

    • Template:
    • Acceptance Criteria:
      Hide

      Having a parameter or configuration allowing customer to specify storage cluster level provisioning

       

      Show
      Having a parameter or configuration allowing customer to specify storage cluster level provisioning  
    • Team:
      Modules
    • Zendesk Ticket IDs:
      36886
    • Zendesk Ticket Count:
      1
    • QA Risk Assessment:
      Needs Assessment

      Description

      The customer wants to create a VM on a storage cluster instead of specific datastore.

      Support Ticket:

      https://puppetlabs.zendesk.com/agent/tickets/36886

      Screenshot attached.

      They tried to use the following code, using datastore prameter for this:

      [root@tst-adm9006 ~]# cat vmtest/manifests/init.pp
      class vmtest {
          vsphere_vm { '/Kapua/vm/Test/Puppet Test/test-ef4':
              ensure        => present,
              resource_pool => '/Kapua - Compute/Compute-Puppet-Low',
              source        => '/Kapua/vm/Test/Puppet Test/test-ef', 
              datastore     => 'CLUSTER - MOE TEST (Active)'
          }
      }
      

      However, it will fail with error message "unable to find datastore name":

      Error: No datastore found named CLUSTER - MOE TEST (Active)
      Error: /Stage[main]/Vmtest/Vsphere_vm[/Kapua/vm/Test/Puppet Test/test-ef4]/ensure: change from 'absent' to 'present' failed: No datastore found named CLUSTER - MOE TEST (Active)

      Customer is looking a feature to achieve the goal.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              loredana.ionce Loredana Ionce
              Reporter:
              henry.wang Henry Wang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support