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


Chronological Thread 
  • From: Yoshi Spendiff < >
  • To:
  • Subject: [chef] Re: Re: Re: Upgrade Ubuntu from 12.04 to 14.04
  • Date: Mon, 27 Apr 2015 15:49:13 -0700

I agree, I don't think Chef is the tool for this. It's certainly not in existing functionality and it would probably take as much time, if not more, trying to force this functionality out of Chef instead of doing it via a script or semi-manually. Once the instances are updated then bring them back under configuration management.

No matter how you go about it you need to dedicate resources to creating and re-making instances, whether it's test instances or new production. An upgrade isn't just something you do without a lot of testing.

On Mon, Apr 27, 2015 at 3:43 PM, Jason J. W. Williams < " target="_blank"> > wrote:
On Mon, Apr 27, 2015 at 3:39 PM, Noah Kantrowitz < "> > wrote:
> Okay everyone, lets cool our collective jets with the unhelpful "Don't do that answers.
>
> The best way to do this would probably be a few execute resources running the relevant CLI commands. Unfortunately the officially documented process from Canonical is to use the update-manager tool, which is an interactive curses app if I remember correctly. I would check to see if it has a non-interactive mode. Otherwise you can do it the really old fashioned way of replacing your sources.list and apt-get dist-upgrade.
>
> --Noah

Honestly, if Mohammad is dead set on doing an upgrade, I think he'd be
better of cooking up a bash script in a test environment that works
and using some sort of parallel-SSH to apply it.

There's just too many ways for a distro upgrade to go sideways in very
non-idempotent ways for a Chef run to be the right approach to do a
mass upgrade of the OS.

-J



--
Yoshi Spendiff
Ops Engineer
Indochino
Mobile: +1 778 952 2025



Archive powered by MHonArc 2.6.16.

§