Bug 1717500 - After upgrade the dynamically popullated "text area" fields pass null to ansible tower templates.
Summary: After upgrade the dynamically popullated "text area" fields pass null to ansi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.10.3
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: GA
: 5.10.5
Assignee: Tina Fitzgerald
QA Contact: Nandini Chandra
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On: 1713419
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-05 15:36 UTC by Satoe Imaishi
Modified: 2023-03-24 14:53 UTC (History)
11 users (show)

Fixed In Version: 5.10.5.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1713419
Environment:
Last Closed: 2019-06-11 05:32:57 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
In CFME (116.83 KB, image/png)
2019-06-06 20:07 UTC, Shveta
no flags Details
In ansible tower (220.92 KB, image/png)
2019-06-06 20:08 UTC, Shveta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:1429 0 None None None 2019-06-11 05:32:59 UTC

Comment 2 Jaroslav Henner 2019-06-06 12:55:10 UTC
Is the update really required step to reproduce? In other words does this work on 5.10.3 without the update?

Comment 3 Satoe Imaishi 2019-06-06 12:58:53 UTC
As far as I know, this is NOT update related, just something we broke in 5.10.3

Comment 4 Shveta 2019-06-06 18:27:20 UTC
Hi Tina , 
I tried to recreate this BZ on https://10.8.199.40/.
Created a dynamic dialog with textarea (shveta_survey)
On ordering service catalog the parameter passed in text area does not show in ansible tower.
Please check the appliance once .

Comment 5 Tina Fitzgerald 2019-06-06 18:44:23 UTC
Hi Shveta,

The dialog is working properly. If you look at the service -> requests page, and select a request, you'll see the dialog values are present, The dialog values were missing when this issue was initially reported.


It looks like the error is caused "PROMPT ON LAUNCH" not being set as shown below:


r/share/ruby/drb/drb.rb:1664:in `block in main_loop'
[----] E, [2019-06-06T14:38:56.120760 #18784:a8a2528] ERROR -- : Q-task_id([r4_service_template_provision_task_4]) <AEMethod provision> Template shveta-survey launching failed. Reason: 'PROMPT ON LAUNCH' is required for the following fields: limit (MiqException::MiqOrchestrationProvisionError)
[----] I, [2019-06-06T14:38:56.177173 #18784:622f50]  INFO -- : Q-task_id([r4_service_template_provision_task_4]) <AEMethod [/ManageIQ/AutomationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision/provision]> Endin

Let me know if you have any questions.

Thanks,
Tina

Comment 6 Shveta 2019-06-06 19:18:48 UTC
I can see the parameters passed in service request page .
Thanks.
Do I also need to Verify it from ansible tower UI ?
I don't see it in Ansible tower job playbook .

Comment 7 Tina Fitzgerald 2019-06-06 20:06:37 UTC
Hi Shveta,

As we discussed, the prompt on launch checkbox needed to be set for the limit setting.
Also, the limit field needs to contain an ip address of a machine in the inventory.
The service provisioned successfully once we fixed those 2 settings.

Let me know if you have any questions.

Thanks,
Tina

Comment 8 Shveta 2019-06-06 20:07:12 UTC
Created attachment 1578079 [details]
In CFME

Comment 9 Shveta 2019-06-06 20:08:06 UTC
Created attachment 1578080 [details]
In ansible tower

Parameters are passed.
Verified in 5.10.5.1.20190528153822_0501085

Comment 11 errata-xmlrpc 2019-06-11 05:32:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:1429


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