Bug 849426
| Summary: | ovirt-engine-backend: Desktop pool creation with a name that contains 13 characters failed after creating 9 VM's "VM,ACTION_TYPE_FAILED_NAME_LENGTH_IS_TOO_LONG". | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Omri Hochman <ohochman> | ||||
| Component: | ovirt-engine | Assignee: | Tomas Jelinek <tjelinek> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Omri Hochman <ohochman> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3.1.0 | CC: | dyasny, iheim, lpeer, michal.skrivanek, Rhev-m-bugs, sgrinber, yeylon, ykaul | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | virt | ||||||
| Fixed In Version: | si19 | Doc Type: | Bug Fix | ||||
| Doc Text: |
the length of pool name is limited to 15 and 64 for Windows and non-Windows OS respectively. This includes the automatically added dash and sequential number, so the effective length is e.g. 11 for pools larger than 99VMs. The check is performed against the desired pool size at the time of pool creation. Note when you want to increase the size of the pool later and it would cross the limit you are not allowed to do so nor the pool can be renamed.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-12-04 20:03:33 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Omri Hochman
2012-08-19 12:01:53 UTC
Created attachment 605479 [details]
engine.log
the check in pool dialog is wrong. 15(win)/64(nonwin) check is not correct as it always adds "-<number of vms>" to the name however there are more issues - what should happen you create a pool with 13chars name and 9 VMs and later Edit and change to 10 VMs? Currently it fails to create the new VMs. - if you create the pool with 14 or 15 chars it fails right away, but the pool is created as empty. That should not exist at all. suggested fix: check the correct length at the time of pool creation. (13 for 1-9, 12 for 10-99, and so on) disallow going over the limit on pool edition when increasing would cross the limit with the above limitation I suggest to include the proposed tech note.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
the length of pool name is limited to 15 and 64 for Windows and non-Windows OS respectively. This includes the automatically added dash and sequential number, so the effective length is e.g. 11 for pools larger than 99VMs. The check is performed against the desired pool size at the time of pool creation. Note when you want to increase the size of the pool later and it would cross the limit you are not allowed to do so nor the pool can be renamed.
in upstream gerrit: http://gerrit.ovirt.org/#/c/7649 merged upstream: d91bea22f21554578e22beed74e2f6f938a58eb4 Verified RHEVM (Build SI23). |