[chef] RE: RE: Re: Upgrade Ubuntu from 12.04 to 14.04


Chronological Thread 
  • From: Mohammad Fattahian < >
  • To: Jeff Byrnes < >,
  • Subject: [chef] RE: RE: Re: Upgrade Ubuntu from 12.04 to 14.04
  • Date: Mon, 27 Apr 2015 16:12:06 -0400

Understood. BTW is there any way to upgrade OS via Chef? Our recipes are not that much OS oriented. I hope I can do an upgrade via Chef. Also we don’t have enough resources to recreate the servers with 14.04 from scratch.

 

 

Mohammad

 

From: Jeff Byrnes [mailto: "> ]
Sent: Monday, April 27, 2015 4:02 PM
To: Mohammad Fattahian; ">
Subject: Re: [chef] RE: Re: Upgrade Ubuntu from 12.04 to 14.04

 

That’s exactly why I recommend re-creating the servers. Upgrading the OS via Chef isn’t something I’m comfortable doing, but we have a number of EC2 instances running 12.04 that we’ve been slowly replacing with 14.04 when the opportunity presents itself.

 

With quite a few of these, we’ve had to make adjustments to the cookbooks in play, usually due to changes in apt packages, but also due to changes in where config files are located, or how the default configs are in 14.04 vs. 12.04 packages. Apache and PHP are huge offenders here (12.04 has Apache 2.2 & PHP 5.3, while 14.04 has Apache 2.4 & PHP 5.5), but there are lots of others.

 

-- 

Jeff Byrnes
@thejeffbyrnes

Lead DevOps Engineer

704.516.4628

 

On April 27, 2015 at 3:44:37 PM, Mohammad Fattahian ( "> ) wrote:

As far as I know the existing cookbooks and recipes don’t have dependency to 12.04. I’m thinking to upgrade the servers one by one to 14.04, but looking for a automated solution, through Chef.

 

Mohammad

 

From: Jeff Byrnes [mailto: "> ]
Sent: Monday, April 27, 2015 3:09 PM
To: ">
Subject: [chef] Re: Upgrade Ubuntu from 12.04 to 14.04

 

I’d recreate the servers from your Chef cookbooks, rather than upgrade them. Much cleaner & safer that way. Then you can tear down the old ones when you’re sure the new ones work properly.

 

-- 

Jeff Byrnes
@thejeffbyrnes

Lead DevOps Engineer

704.516.4628

 

On April 27, 2015 at 3:07:02 PM, Mohammad Fattahian ( "> ) wrote:

Hi,

 

I need to upgrade couple of my servers which are deployed through Chef, from Ubuntu 12.04 to 14.04. I have both 12.04 and 14.04 packages on my repository.

 

Any idea to upgrade the servers?

 

Mohammad




Archive powered by MHonArc 2.6.16.

§