Revision 2112772e
b/lib/cmdlib.py | ||
---|---|---|
7096 | 7096 |
raise errors.OpPrereqError("Invalid file driver name '%s'" % |
7097 | 7097 |
self.op.file_driver, errors.ECODE_INVAL) |
7098 | 7098 |
|
7099 |
if self.op.file_storage_dir and os.path.isabs(self.op.file_storage_dir): |
|
7100 |
raise errors.OpPrereqError("File storage directory path not absolute", |
|
7101 |
errors.ECODE_INVAL) |
|
7102 |
|
|
7103 | 7099 |
### Node/iallocator related checks |
7104 | 7100 |
_CheckIAllocatorOrNode(self, "iallocator", "pnode") |
7105 | 7101 |
|
Also available in: Unified diff