Upgrading puppet - upgrade O/S of puppet master but leave clients on older version?

94 views
Skip to first unread message

Richard

unread,
Mar 29, 2012, 12:16:43 PM3/29/12
to puppet...@googlegroups.com
Hi there,

I'm currently using an old version of puppet - my server is running puppet-server-0.25.4-1.el5 and my clients are running puppet-0.25.4-1.el5.  This is on RHEL 5.

I'm thinking of making the jump to the latest stable release - 2.7.12, possibly running RHEL 6.2 on the master server.

Questions:

Generally, is there any issue running the master on RHEL 6.2 and the clients on RHEL 5?  I presume that the version of Ruby would be different between RHEL5 and 6 (1.8.5 versus 1.8.7) so would that cause problems?

With my server on 2.7.12, would my older 2.5.4 clients still be able to connect to the master?  I will be upgrading them over time, but until they are upgraded, would they work?

Grateful for any thoughts.

Richard.

Justin Stoller

unread,
Mar 29, 2012, 12:47:15 PM3/29/12
to puppet...@googlegroups.com
The running of clients more than one minor version difference from the master is unsupported. You should be able to run 2.6 clients with the 2.7 master, or your .25 clients with a 2.6 master. Stepping stone the upgrade by upgrading your master to 2.6.x then moving your agents to 2.6.x, then doing the 2.7.x upgrade is your best bet.
 
Grateful for any thoughts.

Richard.

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/h4pzptpVO1AJ.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Richard

unread,
Mar 30, 2012, 1:23:42 AM3/30/12
to puppet...@googlegroups.com


On Thursday, 29 March 2012 17:47:15 UTC+1, Justin Stoller wrote:

Hi there,

I'm currently using an old version of puppet - my server is running puppet-server-0.25.4-1.el5 and my clients are running puppet-0.25.4-1.el5.  This is on RHEL 5.

I'm thinking of making the jump to the latest stable release - 2.7.12, possibly running RHEL 6.2 on the master server.

Questions:

Generally, is there any issue running the master on RHEL 6.2 and the clients on RHEL 5?  I presume that the version of Ruby would be different between RHEL5 and 6 (1.8.5 versus 1.8.7) so would that cause problems?

With my server on 2.7.12, would my older 2.5.4 clients still be able to connect to the master?  I will be upgrading them over time, but until they are upgraded, would they work?

The running of clients more than one minor version difference from the master is unsupported. You should be able to run 2.6 clients with the 2.7 master, or your .25 clients with a 2.6 master. Stepping stone the upgrade by upgrading your master to 2.6.x then moving your agents to 2.6.x, then doing the 2.7.x upgrade is your best bet.
 
Grateful for any thoughts.

Richard.



Thanks Justin!

If we go with the stepped approach, would the following work?

Puppet Master running 2.6.x on RHEL 6.2, serving 2.5.x clients on RHEL 5?  Do the different versions of Ruby come into play at all?

Richard.

Brian Gallew

unread,
Mar 30, 2012, 1:43:17 AM3/30/12
to puppet...@googlegroups.com
On Thu, Mar 29, 2012 at 10:23 PM, Richard <ric...@richii.co.uk> wrote:

Thanks Justin!

If we go with the stepped approach, would the following work?

Puppet Master running 2.6.x on RHEL 6.2, serving 2.5.x clients on RHEL 5?  Do the different versions of Ruby come into play at all?


You're not thinking about this clearly.  As long as the puppet clients are no more than one major revision behind the master AND they are running on a supported version of ruby for the client system, there is no issue.  Puppet is designed so that the master and the clients are unrelated except insofar that the master is the single point of truth for configurations.  Otherwise, you would have to have a separate Puppet master running on Windows, AIX, Solaris, RHEL4, RHEL5, Debian Squeeze, Debian Etch, Gentoo, etc., one for each client OS.  I run my puppet masters on Solaris 10 (only), and have clients on Solaris 10, CentOS 5.5, Ubuntu 10.04, RHEL5, and AIX. 

Richard

unread,
Mar 30, 2012, 1:48:29 AM3/30/12
to puppet...@googlegroups.com
Perfect - thanks for clarifying.

Brian Gallew

unread,
Mar 30, 2012, 1:50:50 AM3/30/12
to puppet...@googlegroups.com
You're very welcome.  The stepwise upgrade previously mentioned is a little tedious, but it's safe and, if you collect and watch your logs, it will give you the chance to see how new versions are looking at old manifests (think deprecation warnings).

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/IIlP1CtUJVYJ.
Reply all
Reply to author
Forward
0 new messages