Bug 1713419 - 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 CURRENTRELEASE
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.11.0
Assignee: Lucy Fu
QA Contact: Shveta
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1717500
TreeView+ depends on / blocked
 
Reported: 2019-05-23 15:35 UTC by Raul Mahiques
Modified: 2023-03-24 14:51 UTC (History)
13 users (show)

Fixed In Version: 5.11.0.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1717500 (view as bug list)
Environment:
Last Closed: 2019-12-13 15:01:36 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
No parameters (261.93 KB, image/png)
2019-08-13 21:41 UTC, Shveta
no flags Details
In CFME parameters (119.16 KB, image/png)
2019-08-14 15:41 UTC, Shveta
no flags Details
Ansible parameters (304.71 KB, image/png)
2019-08-14 15:42 UTC, Shveta
no flags Details
Parameters shown in CFME (126.53 KB, image/png)
2019-08-15 20:23 UTC, Shveta
no flags Details
Text area param not shown in Ansible (302.63 KB, image/png)
2019-08-15 20:25 UTC, Shveta
no flags Details

Description Raul Mahiques 2019-05-23 15:35:36 UTC
Description of problem:
After upgrade the dynamically popullated "text area" fields pass null to ansible tower templates. Before the upgrade it was working fine.

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

How reproducible:
Always.

Steps to Reproduce:
1.Upgrade from 5.10.x to 5.10.3
2.Trigger a service via a service dialog that has at least a "text area" field dynamically populated.
3.You can observe in tower that the variables from the 'text area' fields are set to 'null', on the previous versions it was getting the correct values

Actual results:
The variable value is null

Expected results:
The variable value contains the right data, as it was happening before the upgrade.

Additional info:
This breaks the service service dialog.

Comment 5 Tina Fitzgerald 2019-06-04 17:25:30 UTC
Hi Rahul,

Can you let us know if the hotfix referenced in comment 4 resolves your issue?

Thanks,
Tina

Comment 8 Jaroslav Henner 2019-06-06 13:16:02 UTC
Is the update really required step to reproduce? In other words does this work on 5.10.3 without the update?

Comment 9 Jaroslav Henner 2019-06-06 13:20:09 UTC
In the comment https://bugzilla.redhat.com/show_bug.cgi?id=1717500#c3 Satoe says this is most likely not an update related issue. Reseting the QA Contact then as this is not mine.

@Sudhir I believe this is a Automate related issue.

Comment 10 Shveta 2019-08-13 21:41:55 UTC
Created attachment 1603555 [details]
No parameters

Hi Tina , 

The dynamic parameters passed are shown in CFME request page .
However on towers side I don't see them.I have set "prompt on launch" for limit 
and provided the CFME IP in limit as you can see in attached screenshot .

Appliance : https://10.8.196.228
Please check once.

Thanks, 
Shveta

Comment 11 Shveta 2019-08-14 15:41:25 UTC
Created attachment 1603799 [details]
In CFME parameters

Comment 12 Shveta 2019-08-14 15:42:47 UTC
Created attachment 1603801 [details]
Ansible parameters

Ansible parameters do not show dynamic variables passed from UI .
CFME request page shows.
Please check request 16 (shveta_service) at https://10.8.196.228

Comment 13 Tina Fitzgerald 2019-08-14 19:40:29 UTC
Hi Lucy,

Can you check out the reproducer?

Thanks,
Tina

Comment 14 Lucy Fu 2019-08-14 20:42:17 UTC
The dialog variables for AnsibleTower parameters should be prefixed with "param_".
Please add the "param_" prefix to the dynamic fields and report back.
Thanks.

Comment 15 Shveta 2019-08-14 21:53:23 UTC
Hi Lucy , 

All the dialog fields have param_ in them .

Thanks, 
Shveta

Comment 16 Lucy Fu 2019-08-14 23:20:22 UTC
Shveta,

I added the prefix to the dialogs and ordered the service. 
The messages from evm.log showed those dialog options have been sent to Ansible Tower. Can you verify from Ansible Tower jobs?
Thanks.

Comment 17 Shveta 2019-08-15 20:23:48 UTC
Created attachment 1604188 [details]
Parameters shown in CFME

Comment 18 Shveta 2019-08-15 20:25:12 UTC
Created attachment 1604189 [details]
Text area param not shown in Ansible

Hi Lucy , 
Please check the screenshot , ansible tower job does not show the text area parameter which CFME request page is showing.

Comment 19 Shveta 2019-08-15 20:26:19 UTC
Well, actually it is showing at the bottom.
Verifying the BZ .
Thanks for help.


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