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

puppetlabs-puppet_agent acceptance has ignored resource failures

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: puppet_agent 1.3.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Agent
    • Story Points:
      2
    • Sprint:
      AP 2016-10-19

      Description

      This resource failure(s) appear multiple times in the puppet_agent module acceptance output:

      20:06:13   Notice: Compiled catalog for b5oq5w29ysfzwmb.delivery.puppetlabs.net in environment production in 0.11 seconds
      20:06:16   Notice: /Stage[main]/Main/Yumrepo[pc_repo]/ensure: removed
      20:06:16   Notice: /Stage[main]/Main/File[/etc/puppet]/ensure: removed
      20:06:16   Notice: /Stage[main]/Main/File[/etc/puppetlabs]/ensure: removed
      20:06:16   Notice: /Stage[main]/Main/File[/etc/mcollective]/ensure: removed
      20:06:16   Notice: /Stage[main]/Main/Package[puppet-agent]/ensure: purged
      20:06:17   Notice: /Stage[main]/Main/Package[puppet-agent]: Triggered 'refresh' from 1 events
      20:06:17   Notice: Applied catalog in 1.85 seconds
      20:06:17   Error: Cannot create /etc/puppetlabs/puppet; parent directory /etc/puppetlabs does not exist
      20:06:17   Error: /File[/etc/puppetlabs/puppet]/ensure: change from absent to directory failed: Cannot create /etc/puppetlabs/puppet; parent directory /etc/puppetlabs does not exist
      20:06:17   Error: Cannot create /etc/puppetlabs/code; parent directory /etc/puppetlabs does not exist
      20:06:17   Error: /File[/etc/puppetlabs/code]/ensure: change from absent to directory failed: Cannot create /etc/puppetlabs/code; parent directory /etc/puppetlabs does not exist
      20:06:17   Notice: /File[/etc/puppetlabs/puppet/ssl]: Dependency File[/etc/puppetlabs/puppet] has failures: true
      20:06:18   Warning: /File[/etc/puppetlabs/puppet/ssl]: Skipping because of failed dependencies
      20:06:18   Notice: /File[/etc/puppetlabs/puppet/ssl/certs]: Dependency File[/etc/puppetlabs/puppet] has failures: true
      20:06:18   Warning: /File[/etc/puppetlabs/puppet/ssl/certs]: Skipping because of failed dependencies
      20:06:18   Notice: /File[/etc/puppetlabs/puppet/ssl/public_keys]: Dependency File[/etc/puppetlabs/puppet] has failures: true
      20:06:18   Warning: /File[/etc/puppetlabs/puppet/ssl/public_keys]: Skipping because of failed dependencies
      20:06:18   Notice: /File[/etc/puppetlabs/puppet/ssl/certificate_requests]: Dependency File[/etc/puppetlabs/puppet] has failures: true
      20:06:18   Warning: /File[/etc/puppetlabs/puppet/ssl/certificate_requests]: Skipping because of failed dependencies
      20:06:18   Notice: /File[/etc/puppetlabs/puppet/ssl/private_keys]: Dependency File[/etc/puppetlabs/puppet] has failures: true
      20:06:18   Warning: /File[/etc/puppetlabs/puppet/ssl/private_keys]: Skipping because of failed dependencies
      20:06:18   Notice: /File[/etc/puppetlabs/puppet/ssl/private]: Dependency File[/etc/puppetlabs/puppet] has failures: true
      20:06:18   Warning: /File[/etc/puppetlabs/puppet/ssl/private]: Skipping because of failed dependencies
      20:06:18   Error: Could not send report: Got 2 failure(s) while initializing: File[/etc/puppetlabs/puppet]: change from absent to directory failed: Cannot create /etc/puppetlabs/puppet; parent directory /etc/puppetlabs does not exist; File[/etc/puppetlabs/code]: change from absent to directory failed: Cannot create /etc/puppetlabs/code; parent directory /etc/puppetlabs does not exist
      20:06:18 
      

      That particular one was with this manifest:

      20:06:13 b5oq5w29ysfzwmb.delivery.puppetlabs.net (redhat-6-x86_64-agent) 20:06:13$ puppet apply -e "yumrepo { 'pc_repo': ensure => absent, notify => Package['puppet-agent'] }
      20:06:13 file { ['/etc/puppet', '/etc/puppetlabs', '/etc/mcollective']: ensure => absent, force => true, backup => false }
      20:06:13 package { ['puppet-agent', 'puppet', 'mcollective', 'mcollective-client']: ensure => purged }
      20:06:13 "
      

      Not sure if this is expected, but it deserves investigation?
      In Scope

      • Investigate the failure above. If a major issue, file separate ticket. If minor (.5 day or less) to fix, address as part of this ticket

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              moses Moses Mendoza
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support