-
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:
OS: Ubuntu Trusty
Packages before the upgrade
puppet-agent: 1.10.1-1trusty (ie puppet version 4.10.1)
puppetserver: 2.7.2-1puppetlabs1
puppetdb-termini: 4.4.0-1puppetlabs1
puppetdb: 4.4.0-1puppetlabs1Packages after the upgrade
puppet-agent: 4.99.0.202.ge36cade-1trusty (ie puppet version 5.0.0)
Other packages are unchangedOS: Ubuntu Trusty Packages before the upgrade puppet-agent: 1.10.1-1trusty (ie puppet version 4.10.1) puppetserver: 2.7.2-1puppetlabs1 puppetdb-termini: 4.4.0-1puppetlabs1 puppetdb: 4.4.0-1puppetlabs1 Packages after the upgrade puppet-agent: 4.99.0.202.ge36cade-1trusty (ie puppet version 5.0.0) Other packages are unchanged
-
Template:customfield_10700 195587
-
Method Found:Needs Assessment
-
QA Risk Assessment:Needs Assessment
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.