Description of problem: storage path example: "xx.xx.xx.xx:/nfs/storage/path " ^ ui says: Error while executing action Add Storage Connection: Problem while trying to mount target so users (like me) will look for error with nfs-server because users didn't notice the space at the end of entered path. (for example when using copy-paste method) Version-Release number of selected component (if applicable): 3.6.5-1 How reproducible: always Steps to Reproduce: 1. Add a storage domain with leading space Actual results: Confusing error Expected results: Trimmed path or warning about invalid path
Verified with the following code: -------------------------------------------- ovirt-engine-4.1.1-0.0.master.20170126161333.git83fd7e0.el7.centos.noarch vdsm-4.19.3-1.gitdfa4d67.el7.centos.x86_64 Steps to Reproduce: 1. Add a storage domain with leading space Actual results: Confusing error Error still reads: Operation Canceled Error while executing action Add Storage Connection: Problem while trying to mount target Expected results: Trimmed path or warning about invalid path
Verified on rhevm-4.1.1-0.1.el7 It is impossible to create nfs SD with path that contains spaces. When hovering over the problematic path, a popup msg appears: "The filed can't contain spaces"