You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add that when the task was changed to use a job ID instead of a job name which can return more than one job, it succeeded.
I noticed in the log that when a job name is used, somehow the job_name is not passed along and this results in a ZOAU querying all jobs on the system, which means one of those jobs are causing a JOSN serialization issue, I wonder if its a started task coming back with nothing thats causing this.
The other important thing to note is that the task specified a job_name but ZOAU did not receive that so it default to querying the entire system, this would be a performance issue.
fernandofloresg
changed the title
zos_job_query getting BGYSC5308E Failed to serialize JSON object
[Bug] zos_job_query getting BGYSC5308E Failed to serialize JSON object
Dec 16, 2024
fernandofloresg
changed the title
[Bug] zos_job_query getting BGYSC5308E Failed to serialize JSON object
[Bug] [zos_job_query] getting BGYSC5308E Failed to serialize JSON object
Dec 17, 2024
Is there an existing issue for this?
Bug description
when run
get
using job_id like this works ok
IBM z/OS Ansible core Version
v1.11.0
IBM Z Open Automation Utilities
v1.3.3
IBM Enterprise Python
v3.11.x (default)
ansible-version
v2.15.x
z/OS version
v3.1 (unsupported)
Ansible module
zos_job_query
Playbook verbosity output.
running this task
get
msg: |-
[ZOAUResponse]
rc: 255
response_format: UTF-8
stdout_response:
stderr_response: BGYSC5308E Failed to serialize JSON object.
using job_id works ok like this
this worked ok in older version of Ansible and at zaou 1.2
oct-22-zoau-prob.txt
Ansible configuration.
Contents of the inventory
No response
Contents of
group_vars
orhost_vars
The text was updated successfully, but these errors were encountered: