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

Upgrade to puppet5-nightly: undefined method `key_attributes' for nil:NilClass

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: PUP 5.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
    • Template:
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Hi,

      I have tried the upgrade to "Puppet5- nightly" (only the puppet-agent package) on a healthy and updated puppetserver. Here is the upgrade:

      wget https://apt.puppetlabs.com/puppet5-nightly-release-trusty.deb
      dpkg -i puppet5-nightly-release-trusty.deb
      apt-get update
       
      # I only upgrade puppet-agent.
      #
      # If I update puppetdb and puppetdb-termini too I have a puppetdb problem
      # (see https://tickets.puppetlabs.com/browse/PDB-3550).
      apt-get install puppet-agent
      reboot
      

      After the reboot, I try a puppet run:

      ~# /opt/puppetlabs/bin/puppet agent --test
      Warning: Setting trusted_server_facts is deprecated. 
         (at /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/settings.rb:1159:in `issue_deprecation_warning')
      Info: Using configured environment 'production'
      Info: Retrieving pluginfacts
      Info: Retrieving plugin
      Info: Loading facts
      Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: undefined method `key_attributes' for nil:NilClass
      Warning: Not using cache on failed catalog
      Error: Could not retrieve catalog; skipping run
      

      In attachment, I have put the content of /var/log/puppetlabs/puppetserver/puppetserver.log during the puppet run.

      Regards.

        Attachments

          Activity

            People

            • Assignee:
              flaf Francois Lafont
              Reporter:
              flaf Francois Lafont
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support