Commit f24d3d3b authored by Helga Velroyen's avatar Helga Velroyen
Browse files

Improve error message for file instance creation

Currently, when creating an instance with file storage fails,
the error message is rather general. This patch adds a hint
on what to do as a possible fix.
Signed-off-by: default avatarHelga Velroyen <>
Reviewed-by: default avatarGuido Trotter <>
parent d5610c94
......@@ -184,7 +184,9 @@ def _CheckFileStoragePath(path, allowed):
raise errors.FileStoragePathError("Path '%s' is not acceptable for file"
" storage" % path)
" storage. A possible fix might be to add"
" it to /etc/ganeti/file-storage-paths"
" on all nodes." % path)
def _LoadAllowedFileStoragePaths(filename):
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