Bug 1594426 - The specify host values textbox is limited to 50 characters
Summary: The specify host values textbox is limited to 50 characters
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: GA
: 5.10.0
Assignee: lgalis
QA Contact: Satyajit Bulage
URL:
Whiteboard:
: 1543581 (view as bug list)
Depends On:
Blocks: 1594831
TreeView+ depends on / blocked
 
Reported: 2018-06-22 21:48 UTC by Brant Evans
Modified: 2021-09-09 14:43 UTC (History)
8 users (show)

Fixed In Version: 5.10.0.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1594831 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:09:08 UTC
Category: Bug
Cloudforms Team: Ansible
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Brant Evans 2018-06-22 21:48:29 UTC
Description of problem:
Strings longer than 50 characters cannot be entered into the "Specify host values" text box on an Embedded Ansible playbook method. This is a problem for the substitutions that are needed to set the IP address of the VM being provisioned.

For example the substitution string:
    ${/#service_template_provision_task.destination.vms.first.ipaddresses.first}

will get the IP address of a Orchestration Template service that is being ordered, but it is longer than 50 characters so it cannot be used.

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

How reproducible:
Always

Steps to Reproduce:
1. Enable the Embedded Ansible provider and add a repository with a playbook
2. Navigate to Automation -> Automate -> Explorer
3. Create a Method of type playbook
4. Click the "Specify host values" checkbox for the Host
5. Attempt to enter more than 50 characters.

Actual results:
Only the first 50 characters can be entered

Expected results:
All necessary characters can be entered. The sample string is 70 characters

Additional info:
This field should be like the "Default value" text box for Input Parameters. There doesn't appear to be a limit on this field (I've been able to add over 150000 characters to it. It would be nice if the box was also wider and resizable or maybe a text area box so the string can be seen.

The "Default value" text box for Input Parameters takes a long string I'm not sure how long, but

Comment 5 Richard Vsiansky 2018-08-28 12:19:41 UTC
*** Bug 1543581 has been marked as a duplicate of this bug. ***

Comment 7 Satyajit Bulage 2018-11-12 19:59:37 UTC
Able to add 50 characters in the hostname field.

Verified Version: 5.10.0.23.20181106165157_92dd189


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