Commit 91cdc18f authored by Michele Tartara's avatar Michele Tartara
Browse files

Add confd user to masterd group



The server.pem file is 0440 (materd_uid, masterd_gid) and cannot be
accessed by confd.

This patch contains a workaround for 2.8.0~beta1 (adding conf to the
masterd group in the user setup tool, and remembering the users to
actually execute that tool while upgrading).

This partially fixes Issue 292.
Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent f9e7e331
......@@ -55,6 +55,11 @@ To run commands on all nodes, the `distributed shell (dsh)
$ /usr/lib/ganeti/ensure-dirs --full-run
#. Create the (missing) required users and make users part of the required
groups on all nodes::
$ /usr/lib/ganeti/tools/users-setup
#. Restart daemons on all nodes::
$ /etc/init.d/ganeti restart
......
......@@ -29,3 +29,4 @@ done
adduser @GNTMASTERUSER@ @GNTCONFDGROUP@
adduser @GNTMONDUSER@ @GNTMASTERDGROUP@
adduser @GNTCONFDUSER@ @GNTMASTERDGROUP@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment