Bug 1529060 - [RFE] Mention length max limit aside VM\Template Name, in VM lifecycle operations
Summary: [RFE] Mention length max limit aside VM\Template Name, in VM lifecycle operat...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: cfme-future
Assignee: Tina Fitzgerald
QA Contact: Sudhir Mallamprabhakara
Red Hat CloudForms Documentation
URL:
Whiteboard: CFME Core
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-26 08:21 UTC by Ilanit Stein
Modified: 2020-04-14 03:43 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-18 14:33:26 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1529056 0 medium CLOSED VM\Template Name in VM lifecycle operations should be validated before form submission 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1529080 0 medium CLOSED "VM Lifecycle" Request last message do not indicate actual problem-invalid vm name 2021-02-22 00:41:40 UTC

Internal Links: 1529056 1529080

Description Ilanit Stein 2017-12-26 08:21:28 UTC
Description of problem:
For the following VMs & Templates lifecycle operations:

1. "VM provision from a template" 
     - Create a VM named "VM name", from a template. 
2. "Publish VM to a template" 
     - On RHV provider: Create a Template named "Template Name" from a VM. 
     - On other providers: Create a Template, and then create a VM named "VM 
       Name".
3. "Clone Template" 
     - Create a VM named "VM Name" from a Template.

"VM Name"\"Template Name" max limit should be mentioned aside these fields,
or alternatively have a tool tip, that shows the max limit.

Version-Release number of selected component (if applicable):
CFME-5.9.0.14

Additional info:
The "VM Name"\"Template Name" fields are located at the VM lifecycle dialogs, under the "Catalog" tab.

For "VM Description"\"Template Description" the max limit is mentioned aside this field, and also user cannot insert number of chars, that exceeds this limit.
Maybe we can have the "VM Name"\"Template Name" limits handled the same. 

Version-Release number of selected component (if applicable):
CFME-5.9.0.14

Comment 2 Greg Blomquist 2018-01-02 15:01:44 UTC
Sounds similar/related to https://bugzilla.redhat.com/show_bug.cgi?id=1529080.  Sending over to GM for the same reason as https://bugzilla.redhat.com/show_bug.cgi?id=1529080#c2

Comment 3 Greg McCullough 2018-07-09 18:00:26 UTC
Passing to PM as I consider this an RFE.  The backend supports a max-length already in the dialog definition.

As I recall it is really only used for the Azure: https://github.com/ManageIQ/manageiq/pull/12947

and GCE: https://github.com/ManageIQ/manageiq/pull/10330

Other providers either do not have a min/max size set or only have max size set to 255.


Ilanit - It is not clear to me if the request is for defining max length for all providers or if this is just a UI enhancement request.

I sense this PR ultimately needs to be re-assigned to the OpsUI team.

Comment 4 Ilanit Stein 2018-07-10 08:47:13 UTC
This RFE is about adding, in the UI, for the "VM Name"\"Template Name",
max limit, that will be stated aside these fields, 
or have a tool tip, that shows the max limit.

In the backend such maximum limitation exist, however it is not exposed in the UI (Like it is for the description field).

I encountered this missing max in the UI for RHV provider,
but if I recall correctly it is the same for VMware, and maybe other providers.


Note You need to log in before you can comment on or make changes to this bug.