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

puppet_agent: upgrade from puppet 5 to 7 fails with undefined method `replace_file' for Puppet::FileSystem:Module

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: puppet_agent
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Team:
      Night's Watch
    • Sprint:
      ready for triage
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Using the puppet_agent module to upgrade puppet-agent from 5.5.22 to 7.0.0 results in undefined method `replace_file' for Puppet::FileSystem:Module when trying to store the last run report. It seems puppet tries to save its report and loads the 7.0 version of the store report processor, which calls Puppet::FileSystem.replace_file but the old 5.5.22 version of Puppet::FileSystem is in memory. The call to Puppet::FileSystem.replace_file was added in 6.4.0 (see https://github.com/puppetlabs/puppet/commit/b57817c23e6ef21e33c7a9abfc6d5b67d69e66ff). One fix is to load all report processors prior to doing the upgrade or change programmatically turn off all report processing via Puppet[:report] = false

      $ docker build -f docker/ubuntu/Dockerfile . -t pa-dev:ubuntu --build-arg before=5.5.22
      Sending build context to Docker daemon  213.7MB
      Step 1/29 : FROM ubuntu:xenial
       ---> dfeff22e96ae
      ...
      Successfully built b1aaa36961bd
      Successfully tagged pa-dev:ubuntu
      

      And then upgrade to 7:

      $ docker run -it pa-dev:ubuntu 7.0.0
      Debug: Runtime environment: puppet_version=5.5.22, ruby_version=2.4.10, run_mode=user, default_encoding=US-ASCII
      Debug: Evicting cache entry for environment 'production'
      Debug: Deleted text domain :production: false
      Debug: Caching environment 'production' (ttl = 0 sec)
      ...
      Debug: Facter: executing command: /bin/sh -c /usr/bin/apt-get -s -o Debug::NoLocking=true dist-upgrade 2>&1
      Debug: Facter: Reading package lists...
      Building dependency tree...
      Reading state information...
      Calculating upgrade...
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      Debug: Facter: process exited with status code 0.
      Debug: Facter: fact "apt_has_dist_updates" has resolved to false.
      Debug: Facter: fact "apt_dist_updates" resolved to null and will not be added.
      Debug: Facter: executing command: /bin/sh -c /usr/bin/apt-get -s -o Debug::NoLocking=true upgrade 2>&1
      Debug: Facter: Reading package lists...
      Building dependency tree...
      Reading state information...
      Calculating upgrade...
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      ...
      Debug: importing '/tmp/modules/puppet_agent/manifests/init.pp' in environment production
      Debug: Automatically imported puppet_agent from puppet_agent into production
      Debug: importing '/tmp/modules/puppet_agent/manifests/params.pp' in environment production
      Debug: Automatically imported puppet_agent::params from puppet_agent/params into production
      Warning: ModuleLoader: module 'puppet_agent' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\n   (file & line not available)
      Debug: importing '/tmp/modules/puppet_agent/manifests/prepare.pp' in environment production
      Debug: Automatically imported puppet_agent::prepare from puppet_agent/prepare into production
      Debug: importing '/tmp/modules/puppet_agent/manifests/prepare/puppet_config.pp' in environment production
      Debug: Automatically imported puppet_agent::prepare::puppet_config from puppet_agent/prepare/puppet_config into production
      Debug: importing '/tmp/modules/puppet_agent/manifests/osfamily/debian.pp' in environment production
      Debug: Automatically imported puppet_agent::osfamily::debian from puppet_agent/osfamily/debian into production
      Debug: importing '/tmp/modules/apt/manifests/init.pp' in environment production
      Debug: Automatically imported apt from apt into production
      Debug: importing '/tmp/modules/apt/manifests/params.pp' in environment production
      Debug: Automatically imported apt::params from apt/params into production
      Debug: importing '/tmp/modules/apt/manifests/update.pp' in environment production
      Debug: Automatically imported apt::update from apt/update into production
      Debug: Scope(Class[Apt]): Retrieving epp template apt/_conf_header.epp
      Debug: Scope(Class[Apt]): Retrieving epp template apt/proxy.epp
      Debug: Scope(Class[Apt]): Retrieving epp template apt/15update-stamp.epp
      Debug: importing '/tmp/modules/apt/manifests/setting.pp' in environment production
      Debug: Automatically imported apt::setting from apt/setting into production
      Debug: Scope(Class[Apt]): Retrieving epp template apt/auth_conf.epp
      Debug: Resource package[gnupg] was not determined to be defined
      Debug: Create new resource package[gnupg] with params {"ensure"=>"present"}
      Debug: importing '/tmp/modules/apt/manifests/key.pp' in environment production
      Debug: Automatically imported apt::key from apt/key into production
      Debug: importing '/tmp/modules/apt/manifests/source.pp' in environment production
      Debug: Automatically imported apt::source from apt/source into production
      Debug: importing '/tmp/modules/puppet_agent/manifests/install.pp' in environment production
      Debug: Automatically imported puppet_agent::install from puppet_agent/install into production
      Debug: importing '/tmp/modules/puppet_agent/manifests/service.pp' in environment production
      Debug: Automatically imported puppet_agent::service from puppet_agent/service into production
      Debug: Resource package[apt-transport-https] was not determined to be defined
      Debug: Create new resource package[apt-transport-https] with params {"ensure"=>"present"}
      Debug: Scope(Apt::Source[pc_repo]): Retrieving epp template apt/_header.epp
      Debug: Scope(Apt::Source[pc_repo]): Retrieving epp template apt/source.list.epp
      Debug: Adding relationship from Class[Puppet_agent::Prepare] to Class[Puppet_agent::Install] with 'before'
      Debug: Adding relationship from Apt_key[legacy key] to Anchor[apt_key 47B320EB4C7C375AA9DAE1A01054B7A24BD6EC30 present] with 'before'
      Debug: Adding relationship from Apt_key[Add key: 6F6B15509CF8E59E6E469F327F438280EF8D349F from Apt::Source pc_repo] to Anchor[apt_key 6F6B15509CF8E59E6E469F327F438280EF8D349F present] with 'before'
      Notice: Compiled catalog for d29781c7af9c in environment production in 0.40 seconds
      Debug: /Package[gnupg]: Provider apt does not support features targetable; not managing attribute command
      Debug: /Package[gnupg]: Provider apt does not support features install_only; not managing attribute install_only
      Debug: /Package[gnupg]: Provider apt does not support features virtual_packages; not managing attribute allow_virtual
      Debug: /Package[puppet-agent]: Provider apt does not support features targetable; not managing attribute command
      Debug: /Package[puppet-agent]: Provider apt does not support features install_only; not managing attribute install_only
      Debug: /Package[puppet-agent]: Provider apt does not support features virtual_packages; not managing attribute allow_virtual
      Debug: /Package[apt-transport-https]: Provider apt does not support features targetable; not managing attribute command
      Debug: /Package[apt-transport-https]: Provider apt does not support features install_only; not managing attribute install_only
      Debug: /Package[apt-transport-https]: Provider apt does not support features virtual_packages; not managing attribute allow_virtual
      Debug: Creating default schedules
      Debug: Loaded state in 0.00 seconds
      Debug: Loaded state in 0.00 seconds
      Info: Applying configuration version '1605896792'
      Debug: /Stage[main]/Puppet_agent::Prepare/before: before to Class[Puppet_agent::Install]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/before: before to Class[Puppet_agent::Osfamily::Debian]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[/pluginsync]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[master/pluginsync]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[agent/pluginsync]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[main/pluginsync]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[/app_management]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[master/app_management]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[agent/app_management]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[main/app_management]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[/ignorecache]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[master/ignorecache]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[agent/ignorecache]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[main/ignorecache]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[/configtimeout]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[master/configtimeout]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[agent/configtimeout]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[main/configtimeout]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[/trusted_server_facts]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[master/trusted_server_facts]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[agent/trusted_server_facts]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Puppet_agent::Prepare::Puppet_config/Ini_setting[main/trusted_server_facts]/require: require to File[/etc/puppetlabs/puppet/puppet.conf]
      Debug: /Stage[main]/Apt/File[sources.list]/notify: notify to Class[Apt::Update]
      Debug: /Stage[main]/Apt/File[sources.list.d]/notify: notify to Class[Apt::Update]
      Debug: /Stage[main]/Apt/File[preferences]/notify: notify to Class[Apt::Update]
      Debug: /Stage[main]/Apt/File[preferences.d]/notify: notify to Class[Apt::Update]
      Debug: /Stage[main]/Apt/File[apt.conf.d]/notify: notify to Class[Apt::Update]
      Debug: /Stage[main]/Apt/File[/etc/apt/auth.conf]/notify: notify to Class[Apt::Update]
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/Apt::Source[pc_repo]/notify: notify to Exec[pc_repo_force]
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/Exec[pc_repo_force]/subscribe: subscribe to Exec[apt_update]
      Debug: /Stage[main]/Puppet_agent::Install/Package[puppet-agent]/notify: notify to Puppet_agent_end_run[7.0.0]
      Debug: /Stage[main]/Puppet_agent::Service/require: require to Class[Puppet_agent::Install]
      Debug: /Stage[main]/Apt/Apt::Setting[conf-update-stamp]/File[/etc/apt/apt.conf.d/15update-stamp]/notify: notify to Class[Apt::Update]
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/Apt::Key[legacy key]/Apt_key[legacy key]/before: before to Anchor[apt_key 47B320EB4C7C375AA9DAE1A01054B7A24BD6EC30 present]
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/Apt::Source[pc_repo]/Apt::Key[Add key: 6F6B15509CF8E59E6E469F327F438280EF8D349F from Apt::Source pc_repo]/before: before to Apt::Setting[list-pc_repo]
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/Apt::Source[pc_repo]/Apt::Setting[list-pc_repo]/File[/etc/apt/sources.list.d/pc_repo.list]/notify: notify to Class[Apt::Update]
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/Apt::Source[pc_repo]/Apt::Key[Add key: 6F6B15509CF8E59E6E469F327F438280EF8D349F from Apt::Source pc_repo]/Apt_key[Add key: 6F6B15509CF8E59E6E469F327F438280EF8D349F from Apt::Source pc_repo]/before: before to Anchor[apt_key 6F6B15509CF8E59E6E469F327F438280EF8D349F present]
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/File[/etc/pki/deb-gpg]: Adding autorequire relationship with File[/etc/pki]
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/File[/etc/pki/deb-gpg/GPG-KEY-puppetlabs]: Adding autorequire relationship with File[/etc/pki/deb-gpg]
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/File[/etc/pki/deb-gpg/GPG-KEY-puppet]: Adding autorequire relationship with File[/etc/pki/deb-gpg]
      Debug: /Stage[main]/Apt/Apt::Setting[conf-update-stamp]/File[/etc/apt/apt.conf.d/15update-stamp]: Adding autorequire relationship with File[apt.conf.d]
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/Apt::Key[legacy key]/Apt_key[legacy key]: Adding autorequire relationship with File[/etc/pki/deb-gpg/GPG-KEY-puppetlabs]
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/Apt::Source[pc_repo]/Apt::Setting[list-pc_repo]/File[/etc/apt/sources.list.d/pc_repo.list]: Adding autorequire relationship with File[sources.list.d]
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/Apt::Source[pc_repo]/Apt::Key[Add key: 6F6B15509CF8E59E6E469F327F438280EF8D349F from Apt::Source pc_repo]/Apt_key[Add key: 6F6B15509CF8E59E6E469F327F438280EF8D349F from Apt::Source pc_repo]: Adding autorequire relationship with File[/etc/pki/deb-gpg/GPG-KEY-puppet]
      ...
      Notice: /Stage[main]/Apt/File[preferences]/ensure: created
      Debug: /Stage[main]/Apt/File[preferences]: The container Class[Apt] will propagate my refresh event
      Info: /Stage[main]/Apt/File[preferences]: Scheduling refresh of Class[Apt::Update]
      Debug: /Stage[main]/Apt/File[/etc/apt/auth.conf]: Nothing to manage: no ensure and the resource doesn't exist
      Debug: Prefetching apt resources for package
      Debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n''
      Notice: /Stage[main]/Puppet_agent::Osfamily::Debian/File[/etc/pki]/ensure: created
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/File[/etc/pki]: The container Class[Puppet_agent::Osfamily::Debian] will propagate my refresh event
      Notice: /Stage[main]/Puppet_agent::Osfamily::Debian/File[/etc/pki/deb-gpg]/ensure: created
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/File[/etc/pki/deb-gpg]: The container Class[Puppet_agent::Osfamily::Debian] will propagate my refresh event
      Debug: Evicting cache entry for environment 'production'
      Debug: Deleted text domain :production: true
      Debug: Caching environment 'production' (ttl = 0 sec)
      Debug: Evicting cache entry for environment 'production'
      Debug: Deleted text domain :production: false
      Debug: Caching environment 'production' (ttl = 0 sec)
      Notice: /Stage[main]/Puppet_agent::Osfamily::Debian/File[/etc/pki/deb-gpg/GPG-KEY-puppetlabs]/ensure: defined content as '{md5}7b4ed31e1028f921b5c965df0a42e508'
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/File[/etc/pki/deb-gpg/GPG-KEY-puppetlabs]: The container Class[Puppet_agent::Osfamily::Debian] will propagate my refresh event
      Notice: /Stage[main]/Puppet_agent::Osfamily::Debian/File[/etc/pki/deb-gpg/GPG-KEY-puppet]/ensure: defined content as '{md5}16e3e148bc861ee66906e475f8342f81'
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/File[/etc/pki/deb-gpg/GPG-KEY-puppet]: The container Class[Puppet_agent::Osfamily::Debian] will propagate my refresh event
      Notice: /Stage[main]/Apt/Apt::Setting[conf-update-stamp]/File[/etc/apt/apt.conf.d/15update-stamp]/ensure: defined content as '{md5}0962d70c4ec78bbfa6f3544ae0c41974'
      Info: /Stage[main]/Apt/Apt::Setting[conf-update-stamp]/File[/etc/apt/apt.conf.d/15update-stamp]: Scheduling refresh of Class[Apt::Update]
      Debug: /Stage[main]/Apt/Apt::Setting[conf-update-stamp]/File[/etc/apt/apt.conf.d/15update-stamp]: The container Apt::Setting[conf-update-stamp] will propagate my refresh event
      Debug: Apt::Setting[conf-update-stamp]: The container Class[Apt] will propagate my refresh event
      Debug: Class[Apt]: The container Stage[main] will propagate my refresh event
      Debug: Prefetching apt_key resources for apt_key
      Debug: Executing: '/usr/bin/apt-key adv --no-tty --list-keys --with-colons --fingerprint --fixed-list-mode'
      Debug: Executing: '/usr/bin/apt-key add /etc/pki/deb-gpg/GPG-KEY-puppetlabs'
      Notice: /Stage[main]/Puppet_agent::Osfamily::Debian/Apt::Key[legacy key]/Apt_key[legacy key]/ensure: created
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/Apt::Key[legacy key]/Apt_key[legacy key]: The container Apt::Key[legacy key] will propagate my refresh event
      Debug: Apt::Key[legacy key]: The container Class[Puppet_agent::Osfamily::Debian] will propagate my refresh event
      Debug: Executing: '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n' apt-transport-https'
      Debug: Executing: '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install apt-transport-https'
      Notice: /Stage[main]/Puppet_agent::Osfamily::Debian/Apt::Source[pc_repo]/Package[apt-transport-https]/ensure: created
      Debug: /Package[apt-transport-https]: The container Apt::Source[pc_repo] will propagate my refresh event
      Notice: /Stage[main]/Puppet_agent::Osfamily::Debian/Apt::Source[pc_repo]/Apt::Setting[list-pc_repo]/File[/etc/apt/sources.list.d/pc_repo.list]/ensure: defined content as '{md5}ba495757085e2754c752f6dd97c75e57'
      Info: /Stage[main]/Puppet_agent::Osfamily::Debian/Apt::Source[pc_repo]/Apt::Setting[list-pc_repo]/File[/etc/apt/sources.list.d/pc_repo.list]: Scheduling refresh of Class[Apt::Update]
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/Apt::Source[pc_repo]/Apt::Setting[list-pc_repo]/File[/etc/apt/sources.list.d/pc_repo.list]: The container Apt::Setting[list-pc_repo] will propagate my refresh event
      Info: Class[Apt::Update]: Scheduling refresh of Exec[apt_update]
      Debug: /Stage[main]/Apt::Update/Exec[apt_update]: '/usr/bin/apt-get update' won't be executed because of failed check 'refreshonly'
      Debug: Exec[apt_update](provider=posix): Executing '/usr/bin/apt-get update'
      Debug: Executing: '/usr/bin/apt-get update'
      Notice: /Stage[main]/Apt::Update/Exec[apt_update]: Triggered 'refresh' from 1 event
      Info: /Stage[main]/Apt::Update/Exec[apt_update]: Scheduling refresh of Exec[pc_repo_force]
      Debug: /Stage[main]/Apt::Update/Exec[apt_update]: The container Class[Apt::Update] will propagate my refresh event
      Debug: Class[Apt::Update]: The container Stage[main] will propagate my refresh event
      Debug: Apt::Setting[list-pc_repo]: The container Apt::Source[pc_repo] will propagate my refresh event
      Debug: Apt::Source[pc_repo]: The container Class[Puppet_agent::Osfamily::Debian] will propagate my refresh event
      Info: Apt::Source[pc_repo]: Scheduling refresh of Exec[pc_repo_force]
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/Exec[pc_repo_force]: '/bin/echo 'forcing apt update for pc_repo puppet7'' won't be executed because of failed check 'refreshonly'
      Debug: Exec[pc_repo_force](provider=posix): Executing '/bin/echo 'forcing apt update for pc_repo puppet7''
      Debug: Executing: '/bin/echo 'forcing apt update for pc_repo puppet7''
      Notice: /Stage[main]/Puppet_agent::Osfamily::Debian/Exec[pc_repo_force]/returns: forcing apt update for pc_repo puppet7
      Notice: /Stage[main]/Puppet_agent::Osfamily::Debian/Exec[pc_repo_force]: Triggered 'refresh' from 2 events
      Debug: /Stage[main]/Puppet_agent::Osfamily::Debian/Exec[pc_repo_force]: The container Class[Puppet_agent::Osfamily::Debian] will propagate my refresh event
      Debug: Class[Puppet_agent::Osfamily::Debian]: The container Stage[main] will propagate my refresh event
      Debug: Class[Puppet_agent::Osfamily::Debian]: The container Class[Puppet_agent::Prepare] will propagate my refresh event
      Debug: Class[Puppet_agent::Prepare]: The container Stage[main] will propagate my refresh event
      Debug: Class[Puppet_agent::Prepare]: The container Class[Puppet_agent] will propagate my refresh event
      Debug: Executing: '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install puppet-agent=7.0.0-1xenial'
      Notice: /Stage[main]/Puppet_agent::Install/Package[puppet-agent]/ensure: ensure changed '5.5.22-1xenial' to '7.0.0-1xenial'
      Debug: /Package[puppet-agent]: The container Class[Puppet_agent::Install] will propagate my refresh event
      Notice: Stopping run after puppet-agent upgrade. Run puppet agent -t or apply your manifest again to finish the transaction.
      Debug: Class[Puppet_agent::Install]: Transaction canceled, skipping
      Debug: Class[Puppet_agent::Service]: Transaction canceled, skipping
      Debug: Class[Puppet_agent::Service]: Transaction canceled, skipping
      Debug: Class[Puppet_agent]: Transaction canceled, skipping
      Debug: Stage[main]: Transaction canceled, skipping
      Debug: /Schedule[puppet]: Transaction canceled, skipping
      Debug: /Schedule[hourly]: Transaction canceled, skipping
      Debug: /Schedule[daily]: Transaction canceled, skipping
      Debug: /Schedule[weekly]: Transaction canceled, skipping
      Debug: /Schedule[monthly]: Transaction canceled, skipping
      Debug: /Schedule[never]: Transaction canceled, skipping
      Debug: /Filebucket[puppet]: Transaction canceled, skipping
      Debug: Finishing transaction 28475680
      Debug: Storing state
      Debug: Pruned old state cache entries in 0.00 seconds
      Debug: Stored state in 0.01 seconds
      Notice: Applied catalog in 17.47 seconds
      Debug: Applying settings catalog for sections reporting, metrics
      Debug: Finishing transaction 33725800
      Debug: Received report to process from d29781c7af9c
      Debug: Evicting cache entry for environment 'production'
      Debug: Deleted text domain :production: false
      Debug: Caching environment 'production' (ttl = 0 sec)
      Debug: Processing report from cddf612b734c with processor Puppet::Reports::Store
      Error: Could not write report for cddf612b734c at /opt/puppetlabs/puppet/cache/reports/cddf612b734c/202011201836.yaml: undefined method `replace_file' for Puppet::FileSystem:Module
      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/reports/store.rb:35:in `process'
      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:37:in `block in process'
      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:53:in `block in processors'
      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:51:in `each'
      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:51:in `processors'
      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:30:in `process'
      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/report/processor.rb:14:in `save'
      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/indirector/indirection.rb:289:in `save'
      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:440:in `send_report'
      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:412:in `run_internal'
      /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:239:in `block in run'
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              josh Josh Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support