Commit 2112772e authored by Guido Trotter's avatar Guido Trotter
Browse files

Remove self.op.file_storage_dir isabs check

As the manpage says, and the code does, self.op.file_storage_dir is an
additional relative path under the cluster file storage dir. As such it
should not be absolute.
Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarRené Nussbaumer <>
parent 66bd7445
......@@ -7096,10 +7096,6 @@ class LUInstanceCreate(LogicalUnit):
raise errors.OpPrereqError("Invalid file driver name '%s'" %
self.op.file_driver, errors.ECODE_INVAL)
if self.op.file_storage_dir and os.path.isabs(self.op.file_storage_dir):
raise errors.OpPrereqError("File storage directory path not absolute",
### Node/iallocator related checks
_CheckIAllocatorOrNode(self, "iallocator", "pnode")
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