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


Chronological Thread 
  • From: Morgan Blackthorne < >
  • To: " " < >
  • Subject: [chef] Re: Re: Re: RE: RE: Re: Upgrade Ubuntu from 12.04 to 14.04
  • Date: Mon, 27 Apr 2015 14:09:33 -0700

I'm not sure that's entirely true, if you can snapshot a VM and do an OS upgrade, that's usually a lot less effort and we've been doing that for some time now where I work. Full rebuilds usually only come when they vastly change things.

--
~*~ StormeRider ~*~

"Every world needs its heroes [...] They inspire us to be better than we are. And they protect from the darkness that's just around the corner."

(from Smallville Season 6x1: "Zod")

On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSS

On Mon, Apr 27, 2015 at 1:27 PM, Sean OMeara < " target="_blank"> > wrote:
Never ever ever do in-place OS upgrades. Ever.

This is sysadmin-101 qualification exam level stuff.

Best case scenario, you end up with a machine in an unknown state,
where you find oddly broken things months down the line.

Worst case scenario, you lose your data. I had one incident Long Ago
(sarge to etch?), where a kernel update caused the PCI bus to scan in
the opposite direction, corrupting the software raid.

Re-baseline your machines in a test environment.

-s



On Mon, Apr 27, 2015 at 4:21 PM, Jason J. W. Williams
< "> > wrote:
> On Mon, Apr 27, 2015 at 1:12 PM, Mohammad Fattahian
> < "> > wrote:
>> 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.
>
> I'd recommend investing your resources into making your cookbooks able
> to reprovision the servers from scratch rather than in trying to make
> Chef handle your Ubuntu upgrade. In my experience upgrading Ubuntu (or
> any distro) is asking for trouble later from mismatched dependencies
> and other driftwood left behind. Also, if your cookbooks can bootstrap
> a server from a base OS install, you'll be able to recover from server
> failures as an extremely useful benefit.
>
> We recently went through upgrading our cookbooks to be 14.04 friendly,
> which was relatively minimal effort.  Then we just provisioned new
> servers one at a time and took down the old ones.
>
> -J




Archive powered by MHonArc 2.6.16.

§