[PDB-3550] Upgrade to puppet5-nightly : puppetdb doens't start Created: 2017/06/11  Updated: 2018/08/24  Resolved: 2017/06/13

Status: Closed
Project: PuppetDB
Component/s: PuppetDB
Affects Version/s: PDB 5.0.0
Fix Version/s: PDB 5.0.0

Type: Bug Priority: Normal
Reporter: Francois Lafont Assignee: Rob Browning
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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-1puppetlabs1

Packages after the upgrade

puppet-agent: (ie puppet version 5.0.0)
puppetserver: 2.7.2-1puppetlabs1
puppetdb-termini: 5.0.0-0.1SNAPSHOT.2017.06.06T2148puppetlabs1
puppetdb: 5.0.0-0.1SNAPSHOT.2017.06.06T2148puppetlabs1

Attachments: Text File puppetdb-restart.txt     Text File upgrade.txt    
Issue Links:
relates to PDB-3497 Drop support for JVM 7 from pdb itself Closed
Team: Data Platform
Sprint: Hopper/Triage
Method Found: Needs Assessment
Release Notes: Not Needed
QA Risk Assessment: Needs Assessment



I have tried the upgrade to "Puppet5- nightly"on a healthy and updated puppetserver (it's a lab of course). Here is the upgrade:

wget https://apt.puppetlabs.com/puppet5-nightly-release-trusty.deb
dpkg -i puppet5-nightly-release-trusty.deb 
apt-get update 
apt-get dist-upgrade

After the reboot, puppetdb can't start. I have put in attachment:

  • the complete output of the upgrade command
  • the content of /var/log/puppetlabs/puppetdb/puppetdb-daemon.log during a restart. There are errors.

The machine is a VM with a snapshot, I can reproduce the error without any problem.

And, of course, sorry in advance if I have completely missed something during the upgrade.


Comment by Kenn Hussey [ 2017/06/12 ]

Russell Mull FYI.

Comment by Rob Browning [ 2017/06/12 ]

Wonder if that might be caused by JVM 7 when PuppetDB requires 8 now?

Comment by Rob Browning [ 2017/06/12 ]

If so, we're in the process of updating all our documentation and arranging for friendlier error handling, but aren't quite finished yet.

Comment by Kenn Hussey [ 2017/06/12 ]

Rob Browning should this be assigned the PDB 5.0.0 fix version?

Comment by Rob Browning [ 2017/06/12 ]

Kenn Hussey done - thanks.

Comment by Russell Mull [ 2017/06/13 ]

This is a java version issue: PDB 5 (and PuppetServer 5) requires Java 8. The next package ship should have dependencies which enforce this at install time.

Comment by Francois Lafont [ 2017/06/13 ]

Ok, it's clear now. Thanks Guys.

Russell Mull, just FYI:

  • Personally with the APT repo "puppet5-nightly" on Ubuntu Trusty I have not found a "PuppetServer 5" package. There are a "puppet-agent" package, a "puppetdb" package, a "puppetdb-termini" package but the "puppetserver" package is still the version 2.7.2 so no "Puppetserver 5" package unless I have missed something. I make you this notice because I don't really understand when you write "PuppetServer 5 requires Java 8" (I don't understand what is "PuppetServer 5" exactly).
  • Java 8 is not available on Ubuntu Trusty so a PuppetServer 5 will not be possible (or not possible easily) on Ubuntu Trusty (which doesn't shock me it's just for information).
Comment by Russell Mull [ 2017/06/16 ]

Rob Braden Any idea how the puppetdb package got into the trusty repo? It seems like it shouldn't be there.

Generated at Wed Apr 01 08:24:34 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.