Bug 1391979

Summary: Scheduling Automate jobs: Parameters passed from the UI are incorrect
Product: Red Hat CloudForms Management Engine Reporter: Drew Bomhof <dbomhof>
Component: AutomateAssignee: Drew Bomhof <dbomhof>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: gmccullo, jhardy, mkanoor, obarenbo, tfitzger
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: automate:schedule
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1395394 (view as bug list) Environment:
Last Closed: 2017-06-12 17:33:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1395394    

Description Drew Bomhof 2016-11-04 14:23:05 UTC
Description of problem:

When Scheduling Automate jobs from the UI - We're running into issues with unknown parameters being passed in to the job.  This is causing some Automate Methods not to run as expected


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


How reproducible:


Steps to Reproduce:
1. Go to (Login) -> Configuration -> Schedules
2. Create a new Automation Request Scheduled item
3. Pass in a few key, value pairs in the Attribute/Value pairs section.
4. Schedule the job - watch it run.

Do the same exact steps in Automate -> Simulation.  

Actual results:

Notice the params passed to Automate look different if passed from a Scheduled Job or from Simulation


Expected results:

Params to look the same.


Additional info:

Comment 2 Greg McCullough 2016-11-11 18:40:14 UTC
PR https://github.com/ManageIQ/manageiq/pull/12345

Comment 5 Milan Falešník 2017-03-01 11:10:08 UTC
Verified in 5.8.0.2 - scheduled a task with some parameters and allran well with the parameters looking okay.