Bug 1606831 - Buttons utilizing ansible playbooks broken in hotfix build
Summary: Buttons utilizing ansible playbooks broken in hotfix build
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.9.3
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.9.5
Assignee: William Fitzgerald
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-20 21:50 UTC by David Luong
Modified: 2019-08-22 00:54 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-10 15:35:33 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Luong 2018-07-20 21:50:35 UTC
Description of problem:
When launching a service dialog through a button utilizing ansible playbooks, none of the values that the user inputs utilizing the button are passed through.  Only the defaults of the Service Catalog Item are passed through, overwriting anything the user might have changed.

Opened as an offshoot of https://bugzilla.redhat.com/show_bug.cgi?id=1602883
The hotfix fixed the encryption problem, but seems to have resulted in this.

Version-Release number of selected component (if applicable):
5.9.3.4-2 (hotfix build)

How reproducible:
Always

Steps to Reproduce:
1.  Launch playbook catalog item from button
2.
3.

Actual results:
No user input information goes through

Expected results:
Service Dialog passes vars through

Additional info:
An example of this is here:

SSH password: 

PLAY [all] *********************************************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [debug] *******************************************************************
ok: [localhost] => {
    "msg": "This password is password"
}

PLAY RECAP *********************************************************************
localhost                  : ok=2    changed=0    unreachable=0    failed=0 

The password should've been different and the host should've not been localhost, as I had it set to target machine.

Comment 3 William Fitzgerald 2018-07-23 20:39:50 UTC
On Reproducer environment, I re-created issue with simple button calling a playbook and dialog.  The values that I entered were NOT honored and the default values were used.
Building a 5.9.3.4 environment and will run the same tests.  I want to determine if this works before the hot fix was applied.

Comment 4 William Fitzgerald 2018-07-23 21:35:05 UTC
I tested with 5.9.3.4 and user entered values are honored.  The button is working without any hot fixes.

Comment 5 David Luong 2018-07-23 21:35:48 UTC
I can confirm that it worked before the hotifx was applied.  I have another appliance that is on 5.9.3 without the hotfix, and it works as expected (barring the decryption that the hotfix addressed)

Comment 6 dmetzger 2018-09-10 14:22:54 UTC
Please verify with released 5.9.4.

Comment 7 David Luong 2018-09-10 14:47:15 UTC
Hello Dennis,

It seems that buttons are working again, but the bug that I originally opened this up for, https://bugzilla.redhat.com/show_bug.cgi?id=1602883 seems to have regressed.

    "msg": "This is a test for list variables ********."

As you can see, the variable is now ******** again instead of if being decrypted like it was in that previously mentioned bug.

Comment 8 Tina Fitzgerald 2018-09-10 15:11:20 UTC
Hi David,

Please re-open https://bugzilla.redhat.com/show_bug.cgi?id=1602883 if you feel the issue has not been resolved. If possible, please supply a reproducer environment.

Thanks,
Tina

Comment 9 Tina Fitzgerald 2018-09-10 15:12:06 UTC
Hi David,

Are you okay if we close this ticket?

Thanks,
Tina

Comment 10 David Luong 2018-09-10 15:16:57 UTC
Sure


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