Statistics
| Branch: | Tag: | Revision:

root / doc / design-upgrade.rst @ 13d26b66

History | View | Annotate | Download (12 kB)

# Date Author Comment
adcccd43 02/10/2014 06:24 pm Klaus Aehlig

Merge branch 'stable-2.10' into stable-2.11

  • stable-2.10
    Fix 'JobIdListOnly' type from 'List' to 'Map'
    Remove NEWS entry for 2.9.4
    Workaround for monitor bug related to greeting msg
    hotplug: Verify if a command succeeded or not
    hotplug: Call each qemu commmand with an own socat...
5ac19ed3 01/31/2014 12:07 pm Klaus Aehlig

upgrade design: ensure-dirs before starting daemons

Align the automatic upgrade procedure with the manual upgrade
instructions and run ensure-dirs before starting the new daemons.
This is necessary, as only after ensuring that all needed directories
are present we can rely on the new daemons starting up cleanly....

74289509 01/10/2014 02:31 pm Klaus Aehlig

Merge branch 'stable-2.10' into master

  • stable-2.10
    Run postupgrade hook after upgrade
    Provide path to post-upgrade
    Add an empty post-upgrade hook
    design: support post-upgrade hooks
    Also add the current version to the intent-to-upgrade file

Signed-off-by: Klaus Aehlig <>...

4d765a17 01/10/2014 02:19 pm Klaus Aehlig

design: support post-upgrade hooks

While the general policy for Ganeti is to just accept the situation
it finds after being upgraded from an older version, in some cases
additional actions might be necessary. So support a hook for doing
so.

Signed-off-by: Klaus Aehlig <>...

c09f6160 01/09/2014 04:53 pm Klaus Aehlig

design: version-specific downgrade actions

Some new features, like client-specific ssl certificates, require additional
steps at downgrade, so add this to the design. Two things should be noted.

- There cannot be explicit version-specific upgrade actions; upgrades...

ec3b36c8 11/12/2013 03:23 pm Klaus Aehlig

Update future upgrade plans

Now that mandatory opcode fields are mandatory also on disk,
document that, once we use soft drains during upgrades, the disk
representation of the job queue needs to be updated by cfgupgrade
as well.

Signed-off-by: Klaus Aehlig <>...

921319f5 09/24/2013 02:16 pm Klaus Aehlig

design: replace 'gnt-upgrade' by 'gnt-cluster upgrade'

Instead of using a separate binary, add the upgrade
functionality to gnt-cluster.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Guido Trotter <>

b8e39189 09/13/2013 11:59 am Klaus Aehlig

design update: symlink structure

Update the upgrade design document according to the outcome
of the design discussion at GanetiCon 2013. There are two
changes in the design.

  • As revision upgrades are binary compatible at all levels,
    one can accept a rough upgrade, just replacing the binaries....
4c4153b5 08/27/2013 11:46 am Klaus Aehlig

Change design to install to ${PREFIX}/lib/ganeti-${VERSION}

Even though the ${PREFIX}/opt/ only came into the design in the review
process, it is not the best choice, as /opt is reserverd for manually
installed software, but Ganeti intends to be packaged. Use ${libdir}...

cf9f3b92 08/20/2013 06:44 pm Klaus Aehlig

Design document for automatised upgrades

This design document describes how upgrade and downgrades
can be made more automatic for future versions.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Michele Tartara <>