From a57b2bb759b9ae7024c0a96cec981b67791419ef Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Fri, 5 Oct 2012 03:39:42 +0200 Subject: [PATCH] Update NEWS for file storage paths Mention that the file is something new and should be written by cfgupgrade. Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- NEWS | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/NEWS b/NEWS index 87e43d7d3..a2591aa0b 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,17 @@ Version 2.7.0 beta0 opcode from Ganeti. This lead to incompatible changes in the format of the JSON file. It's now not a custom dict anymore but a dict compatible with the ``OpInstanceCreate`` opcode. +- Parent directories for file storage need now to be listed in + ``$sysconfdir/ganeti/file-storage-paths``. ``cfgupgrade`` will write + the file automatically based on old configuration values, but it can + not distribute it across all nodes and the file contents should be + verified. Use ``gnt-cluster copyfile + $sysconfdir/ganeti/file-storage-paths`` once the cluster has been + upgraded. The reason for requiring this list of paths now is that + before it would have been possible to inject new paths via RPC, + allowing files to be created in arbitrary locations. The RPC protocol + is protected using SSL/X.509 certificates, but as a design principle + Ganeti does not permit arbitrary paths to be passed. Version 2.6.1 -- GitLab