Bug 1323663
| Summary: | the path of storage domain is not trimmed/missing warning about invalid path | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Petr Kubica <pkubica> |
| Component: | Frontend.WebAdmin | Assignee: | Benny Zlotnik <bzlotnik> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Raz Tamir <ratamir> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.6.5 | CC: | aaviram, acanan, amureini, bugs, gklein, ratamir, tnisan |
| Target Milestone: | ovirt-4.1.1 | Keywords: | EasyFix |
| Target Release: | 4.1.1 | Flags: | rule-engine:
ovirt-4.1+
rule-engine: planning_ack+ rule-engine: devel_ack+ ratamir: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-21 09:32:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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" |
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