On 12/05/2017 01:57 PM, Dietrich, Stefan wrote:
Hello,

in order to finish our Puppet 4.x migration (and than Puppet 5.x, yay), 
PuppetDB has to be upgraded as well.

If I read the upgrade docs correctly, a direct upgrade from PuppetDB 2.3.x is 
not supported [1].
So in order to do this, an upgrade to the latest version for each major release 
is required:

2.3.x -> 3.2.4 -> 4.4.1 (-> 5.1.3 once we go to Puppet 5)

Is this correct?
It's a bit more complicated than that, unfortunately. The docs aren't completely correct on this, and the best source of info is probably this ticket: https://tickets.puppetlabs.com/browse/DOCUMENT-719

In the comments I've outlined the upgrade path, which I just tested. The key thing to watch out for is to make sure you upgrade puppetdb before the puppetdb terminus, and ensure everything is working before moving the terminus and puppet server to version 5. Note also that there's a postgres bump, so it may make sense to get that out of the way first.

Additionally, the release notes of PuppetDB 5 mention a hard dependency on 
Puppet Agent 5.x [2]
So for PuppetDB 5 _all_ agents have to be at 5.x first?
Or is it sufficient to have Puppet Agent 5.x on Puppetserver/PuppetDB hosts?
I had no issues running a 4.x agent against a 5.x puppetserver/puppetdb. The puppetdb upgrade will pull in a 5.x agent on the puppetdb host itself.

Wyatt

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/56ef91e1-b757-dcaa-d734-fb7089be2b88%40puppet.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to