You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by aa...@gmail.com on 2015/12/09 16:04:59 UTC

Upgrade 0.22.1 --> 0.25.0

Hi All!

We have running cluster with mesos 0.22.1 and marathon 0.8.2 running on it.
Is it safe to upgrade directly 0.22.1 --> 0.25.0 without installing
intermediate versions?

How i can perform rollback if something went wrong? Would installing
previous versions just do the job?

--
 Alex Griazin

Re: Upgrade 0.22.1 --> 0.25.0

Posted by Brandon Gulla <gu...@gmail.com>.
Everything I have heard in the past says to stick with incremental
upgrades. I actually performed the same upgrade as you just last week.
Stick with the 0.x.1 releases and you should be fine. The only trouble I
ran into was at some point my Task Counters went missing from the web-ui
but reappeared after about 20 minutes.

Consult the Docs for changes between the versions.
http://mesos.apache.org/documentation/latest/upgrades/


Good luck.

On Wed, Dec 9, 2015 at 10:04 AM, <aa...@gmail.com> wrote:

> Hi All!
>
> We have running cluster with mesos 0.22.1 and marathon 0.8.2 running on it.
> Is it safe to upgrade directly 0.22.1 --> 0.25.0 without installing
> intermediate versions?
>
> How i can perform rollback if something went wrong? Would installing
> previous versions just do the job?
>
> --
>  Alex Griazin
>



-- 
Brandon

Re: Upgrade 0.22.1 --> 0.25.0

Posted by Adam Bordelon <ad...@mesosphere.io>.
Please do not skip versions during upgrades. We have been using a
two-version deprecation cycle, so a protobuf field that existed in 0.22.1
may no longer exist in 0.24.x, meaning that a direct live upgrade could
cause masters and agents to stop communicating with each other. We only
guarantee live upgrades from one version to the next minor version (e.g.
0.22.x->0.23.x), so the recommended procedure is to follow the linked
upgrade guide to upgrade the entire cluster (even the libmesos for
schedulers/executors) to the next version, then repeat the procedure to
upgrade the entire cluster to the following version and so on.
The usual process is to upgrade masters first, then agents, then schedulers
and custom executors.
There may be other caveats listed in the upgrades guide that indicate
deprecated/removed endpoints, formatting/behavior changes, etc.

Now that we've moved to a more monthly release cycle, we will be extending
our deprecation cycle to ~6months/versions, so that you could skip versions
in the future. Once we reach 1.0, we'll have stronger guarantees about
upgrading minor versions within 1.x.

On Wed, Dec 9, 2015 at 7:39 AM, tommy xiao <xi...@gmail.com> wrote:

> Hi Alex,
>
> I think you need review the mesos upgrade docs.
>
> http://mesos.apache.org/documentation/latest/upgrades/
>
>
>
> 2015-12-09 23:04 GMT+08:00 <aa...@gmail.com>:
>
>> Hi All!
>>
>> We have running cluster with mesos 0.22.1 and marathon 0.8.2 running on
>> it.
>> Is it safe to upgrade directly 0.22.1 --> 0.25.0 without installing
>> intermediate versions?
>>
>> How i can perform rollback if something went wrong? Would installing
>> previous versions just do the job?
>>
>> --
>>  Alex Griazin
>>
>
>
>
> --
> Deshi Xiao
> Twitter: xds2000
> E-mail: xiaods(AT)gmail.com
>

Re: Upgrade 0.22.1 --> 0.25.0

Posted by tommy xiao <xi...@gmail.com>.
Hi Alex,

I think you need review the mesos upgrade docs.

http://mesos.apache.org/documentation/latest/upgrades/



2015-12-09 23:04 GMT+08:00 <aa...@gmail.com>:

> Hi All!
>
> We have running cluster with mesos 0.22.1 and marathon 0.8.2 running on it.
> Is it safe to upgrade directly 0.22.1 --> 0.25.0 without installing
> intermediate versions?
>
> How i can perform rollback if something went wrong? Would installing
> previous versions just do the job?
>
> --
>  Alex Griazin
>



-- 
Deshi Xiao
Twitter: xds2000
E-mail: xiaods(AT)gmail.com