Uploaded image for project: 'Beaker'
  1. Beaker
  2. BKR-1117

vcloud hypervisor fails with "undefined method vmFolder" error

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • BKR 3.15.0
    • None
    • beaker-vcloud, hypervisor
    • None
    • Needs Assessment

    Description

      This failure appears to be caused by this commit: https://github.com/puppetlabs/beaker/commit/a2035cfe23e29ddb66cf45f704a9bc83c9901be8

      09:00:01 Beaker::Hypervisor, found some vcloud boxes to create
      09:00:01 Connecting to vSphere at vmware-vc2.ops.puppetlabs.net with credentials for eso-template@vsphere.local
      09:00:01 Deploying o80zl7kq0un5u9r (redhat7-64-1) to /packer/acceptancehosts from template 'redhat-7-x86_64'
      09:00:01 Failed: errored in Vcloud.provision
      09:00:01 #<NoMethodError: undefined method `vmFolder' for nil:NilClass>
      09:00:01 /var/lib/jenkins/workspace/imaging_debian-8.2_i386_vmware_vsphere.nocm_acceptance_packer/acceptance/puppet/acceptance/vendor/bundle/gems/beaker-3.15.0/lib/beaker/hypervisor/vsphere_helper.rb:128
      09:00:01 /var/lib/jenkins/workspace/imaging_debian-8.2_i386_vmware_vsphere.nocm_acceptance_packer/acceptance/puppet/acceptance/vendor/bundle/gems/beaker-3.15.0/lib/beaker/hypervisor/vcloud.rb:138
      09:00:01 /var/lib/jenkins/workspace/imaging_debian-8.2_i386_vmware_vsphere.nocm_acceptance_packer/acceptance/puppet/acceptance/vendor/bundle/gems/beaker-3.15.0/lib/beaker/hypervisor/vcloud.rb:115
      09:00:01 /var/lib/jenkins/workspace/imaging_debian-8.2_i386_vmware_vsphere.nocm_acceptance_packer/acceptance/puppet/acceptance/vendor/bundle/gems/beaker-3.15.0/lib/beaker/hypervisor/vcloud.rb:115
      09:00:01 /var/lib/jenkins/workspace/imaging_debian-8.2_i386_vmware_vsphere.nocm_acceptance_packer/acceptance/puppet/acceptance/vendor/bundle/gems/beaker-3.15.0/lib/beaker/hypervisor/vcloud.rb:115
      

      The hosts.yaml file that triggers this failure is:

      ---
      HOSTS:
        redhat7-64-1:
          pe_dir:
          pe_ver:
          pe_upgrade_dir:
          pe_upgrade_ver:
          platform: el-7-x86_64
          hypervisor: vcloud
          template: templates/redhat-7-x86_64
          roles:
          - master
        debian8-32-1:
          pe_dir:
          pe_ver:
          pe_upgrade_dir:
          pe_upgrade_ver:
          platform: debian-8-i386
          hypervisor: vcloud
          template: packer/debian-8.2-i386-0.0.3
          roles:
          - agent
      CONFIG:
        nfs_server: none
        consoleport: 443
        datastore: instance2_1
        folder: packer/acceptancehosts
        resourcepool: acceptance1
        timeout: 600
      

      Attachments

        Issue Links

          Activity

            People

              john.oconnor John O'Connor
              john.oconnor John O'Connor
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support