upgrade design: ensure-dirs before starting daemons
authorKlaus Aehlig <aehlig@google.com>
Fri, 31 Jan 2014 09:45:39 +0000 (10:45 +0100)
committerKlaus Aehlig <aehlig@google.com>
Fri, 31 Jan 2014 10:07:03 +0000 (11:07 +0100)
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.

Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>

doc/design-upgrade.rst

index 171da99..60f9150 100644 (file)
@@ -215,10 +215,10 @@ following actions.
 - If the action is an upgrade to a higher minor version, the configuration
   is upgraded now, using ``cfgupgrade``.
 
-- All daemons are started on all nodes.
-
 - ``ensure-dirs --full-run`` is run on all nodes.
 
+- All daemons are started on all nodes.
+
 - ``gnt-cluster redist-conf`` is run on the master node. 
 
 - All daemons are restarted on all nodes.