Bug 1529080
Summary: | "VM Lifecycle" Request last message do not indicate actual problem-invalid vm name | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Ilanit Stein <istein> | ||||
Component: | Provisioning | Assignee: | William Fitzgerald <wfitzger> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dave Johnson <dajohnso> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.9.0 | CC: | cpelland, gblomqui, istein, jfrey, jhardy, obarenbo, simaishi, tfitzger | ||||
Target Milestone: | GA | ||||||
Target Release: | cfme-future | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | CFME Core | ||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-06-12 19:18:11 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | Bug | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | CFME Core | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Ilanit Stein
2017-12-26 09:36:16 UTC
Sending to GregM to see if there's something we can do to better propagate this to the UI side. If not, then it probably needs to be looked at by the RHV team. llanit, I used "Provision VM from a template" and tried to provision a vm with the name of billy_wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd. My Request Last Message was very similar to you one you received. I will include a screenshot. I noticed in the automation.log this error message which is similar to what you received : [----] E, [2018-04-17T15:15:30.304005 #52566:3d3ed4] ERROR -- : <AEMethod check_provisioned> ProvisionCheck error <[Ovirt::Error]: [Cannot add VM. The given name is too long.]> If this is the same as the problem you reported, the reason this is happening because the Request Last Message value is being truncated. Can you let me know if this re-creates your problem or if something else is going on. Thanks Billy Created attachment 1423259 [details]
really long vm name for RHEV
llanit, Can you let me know if this re-creates your problem or if something else is going on. Thanks Billy Thanks Billy. This indeed recreates the reported problem. The last message I got is mentioned in the bug description, and is the same as the last message you attached. llanit, The problem is that data is larger than the field and we are truncating the data. Can I close this ? Billy Billy, I fully understand that the VM name data is truncated. This is a result of a negative test I was running, checking the VM name length validation is in place. This bug is about that the user is not displayed an error that reflect the problem. Such error exist in evm.log: "[VM Template name must not exceed 40 characters, Attribute: _name]" Would have been good to pass this message to the VM provision "Last message" field. Thanks. |