Bug 1066992
| Summary: | vm pool creation error message in restapi is very long and duplicated | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Alissa <abonas> | ||||
| Component: | ovirt-engine-core | Assignee: | Arik <ahadas> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | bugs <bugs> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 3.4 | CC: | bugs, gklein, michal.skrivanek, ofrenkel, rbalakri, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.6.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | virt | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-07-27 12:53:17 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Setting target release to current version for consideration and review. please do not push non-RFE bugs to an undefined target release to make sure bugs are reviewed for relevancy, fix, closure, etc. I could not reproduce it on 3.6 master. Seems like it was already solved, thus switching this bug for modified. this didn't occur for a very long time, considering it fixed along the way |
Created attachment 865076 [details] screenshot Description of problem: When creating a vm pool via REST api, and supplying an illegal name (such as Vm Pool A), the creation fails (which is OK), but the message is long and it looks like very similar error messages are combined together and displayed to the user. The result is that it's a long message that looks like copy paste of itself. Please see attached. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. create a new vm pool via REST api with an illegal name. For example: <vmpool> <name>VM Pool A</name> <cluster id="03fa0138-288a-4323-bb14-70aa6a2c20b6" href="/api/clusters/99408929-82cf-4dc7-a532-9d998063fa95"/> <template id="00000000-0000-0000-0000-000000000000" href="/api/templates/00000000-0000-0000-0000-000000000000"/> </vmpool> Actual results: [Can not create VM-Pool. The given name contains special characters. Only lower-case and upper-case letters, numbers, '_', '-', '.' are allowed., Can not create VM-Pool. The given name is invalid for pool name. Only lower-case and upper-case letters, numbers, '_', '-', '.', and one mask sequence are allowed., Can not create VM-Pool. The given name contains special characters. Only lower-case and upper-case letters, numbers, '_', '-', '.' are allowed.] Expected results: Shorter and clear message without duplicated text Additional info: