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

    • New Feature
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • vsphere
    • PE 2019.1

       

    • 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  
    • Modules
    • 36886
    • 1
    • 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

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

              Dates

                Created:
                Updated:

                Zendesk Support