Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7484

[REGRESSION] PE mono smoke install fails with Resource statement error

    XMLWordPrintable

    Details

    • Type: CI Blocker
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Team:
      Puppet Developer Experience
    • Story Points:
      1
    • Sprint:
      PDE 2017-05-03, PDE 2017-05-31
    • QA Risk Assessment:
      No Action

      Description

      Some change between 4.10.0-549-g2e3aa8b and 4.10.0-569-gfb03782 broke the pe_acceptance pre-suite (see https://jenkins-master-prod-1.delivery.puppetlabs.net/job/enterprise_pe-acceptance-tests-feature-branch_integration-system_pe_fb_smoke-monolithic_2017.3.x/12/LAYOUT=redhat7-64mcd,LEGACY_AGENT_VERSION=NONE,UPGRADE_FROM=NONE,label=beaker/console, which was started by https://jenkins-master-prod-1.delivery.puppetlabs.net/job/platform_puppet-agent_intn-van-sys-pez-multi_daily-pa-master/54/):

      [...]
      12:37:53     ## We're configuring PE using /tmp/2017-04-28_19.37.21.pHxzQ2/pe.conf...
      12:37:53 
      12:37:53     2017-04-28 12:37:53,384 Running command: mkdir -p /opt/puppetlabs/server
      12:37:53     2017-04-28 12:37:53,388 Running command: cp -L /tmp/2017-04-28_19.37.21.pHxzQ2/puppet-enterprise-2017.3.0-rc0-380-gbddeca4-PEZ_jenkins-master-prod-1-el-7-x86_64/VERSION /opt/puppetlabs/server/pe_build
      12:37:53     2017-04-28 12:37:53,391 Running command: chown root:root /opt/puppetlabs/server/pe_build
      12:37:53     2017-04-28 12:37:53,395 Running command: chmod 644 /opt/puppetlabs/server/pe_build
      12:37:53     2017-04-28 12:37:53,398 Running command: mkdir -p /etc/puppetlabs/enterprise/conf.d
      12:37:53     2017-04-28 12:37:53,402 Running command: cp /tmp/2017-04-28_19.37.21.pHxzQ2/puppet-enterprise-2017.3.0-rc0-380-gbddeca4-PEZ_jenkins-master-prod-1-el-7-x86_64/conf.d/README /etc/puppetlabs/enterprise
      12:37:53     2017-04-28 12:37:53,405 Running command: cp /tmp/2017-04-28_19.37.21.pHxzQ2/puppet-enterprise-2017.3.0-rc0-380-gbddeca4-PEZ_jenkins-master-prod-1-el-7-x86_64/conf.d/hiera.yaml /etc/puppetlabs/enterprise
      12:37:53     2017-04-28 12:37:53,409 Running command: cp /tmp/2017-04-28_19.37.21.pHxzQ2/pe.conf /etc/puppetlabs/enterprise/conf.d/pe.conf
      12:37:53     2017-04-28 12:37:53,413 Running command: chown -R root:root /etc/puppetlabs/enterprise
      12:37:53     2017-04-28 12:37:53,417 Running command: chmod -R 600 /etc/puppetlabs/enterprise
      12:37:53     2017-04-28 12:37:53,420 Running command: cp /tmp/2017-04-28_19.37.21.pHxzQ2/puppet-enterprise-2017.3.0-rc0-380-gbddeca4-PEZ_jenkins-master-prod-1-el-7-x86_64/puppet-enterprise-uninstaller /opt/puppetlabs/bin
      12:37:53     2017-04-28 12:37:53,424 Running command: chown root:root /opt/puppetlabs/bin/puppet-enterprise-uninstaller
      12:37:53     2017-04-28 12:37:53,428 Running command: chmod 755 /opt/puppetlabs/bin/puppet-enterprise-uninstaller
      12:37:53     2017-04-28 12:37:53,432 Running command: /opt/puppetlabs/puppet/bin/puppet infrastructure configure  --detailed-exitcodes --modulepath /opt/puppetlabs/server/data/enterprise/modules 
      12:37:53     2017-04-28 12:37:56,335 - [Warning]: /etc/puppetlabs/enterprise/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
      12:37:56        (in /etc/puppetlabs/enterprise/hiera.yaml)
      12:37:56     2017-04-28 12:37:56,468 - [Warning]: The function 'hiera' is deprecated in favor of using 'lookup'. See https://docs.puppet.com/puppet/5.0/reference/deprecated_language.html
      12:37:56        (file & line not available)
      12:37:56     2017-04-28 12:38:01,320 - [Error]: Evaluation Error: Error while evaluating a Resource Statement, Puppet_enterprise::Trapperkeeper::Bootstrap_cfg[orchestration-services:orchestrator orchestrator-service]: expects a value for parameter 'container'  at /opt/puppetlabs/server/data/enterprise/modules/puppet_enterprise/manifests/trapperkeeper/orchestrator.pp:187 on node e6r4ny1gq8mzu8z.delivery.puppetlabs.net
      12:38:01     * /opt/puppetlabs/puppet/bin/puppet infrastructure configure  --detailed-exitcodes --modulepath /opt/puppetlabs/server/data/enterprise/modules 
      12:38:01     * returned: 1
      12:38:01     2017-04-28 12:38:01,362 [ERROR]: !! There were problems during the application of the installation catalog. !!
      12:38:01     2017-04-28 12:38:01,364 [ERROR]: !! Review the logs at /var/log/puppetlabs/installer/2017-04-28T12.37.23-0700.install.log and resolve any issues you can find. !!
      12:38:01     2017-04-28 12:38:01,366 [ERROR]: !! After fixing any errors, re-run the installer to complete the installation or upgrade. !!
      

      puppet_enterprise module

      The failure is bubbling up from here: https://github.com/puppetlabs/puppetlabs-puppet_enterprise/blob/6fc2478dec0370a12e8ac178bfa956a16828a4b7/manifests/trapperkeeper/orchestrator.pp#L187 when puppet tries to reference $container, and container is defined here: https://github.com/puppetlabs/puppetlabs-puppet_enterprise/blob/6fc2478dec0370a12e8ac178bfa956a16828a4b7/manifests/trapperkeeper/orchestrator.pp#L12, so it seems like there is a regression in referencing $title as a default in a Define.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              kurt.wall Kurt Wall
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support