[Bug] [zos_submit_job] Option return_output
when set to false continues to access job output
#1041
Closed
2 tasks done
Labels
Bug
Something isn't working as designed.
Port Backward
This item is being backported as well, see issue notes
Post plan issue
Added to a quarter after planning wsa completed, thus unaplanned.
Milestone
Is there an existing issue for this?
Are the dependencies a supported version?
IBM Z Open Automation Utilities
v1.2.5
IBM Enterprise Python
v3.9.x
IBM z/OS Ansible core Version
v1.6.0
ansible-version
v2.14.x
z/OS version
v2.5
Ansible module
zos_job_submit
Bug description
It was reported that when using
zos_job_submit
with optionreturn_output=false
that the module continues to invoke code that performs job output reads (jobs.read_output). I have not reviewed the code to understand why we accessjobs.read_output
, the fist thing would be to see if there is anything specific the code needs to operate minimally or is this an unnecessary invocation.I can see the value in avoiding this call if its not necessary because it is added overhead but more so,
Note: This could also serve as a work around to the known issue of reading chars that don't correspond to UTF-8 (which will be fixed in Q1 2024) by not reading non-UTF8 content. Although it could help, its only note and not the actual issue being highlighted here.
This was reported by @jbyibm
Internal thread: https://.slack.com/archives/CSLEJ8VGV/p1697623287742339?thread_ts=1697595176.094609&cid=CSLEJ8VGV
Playbook verbosity output.
No response
Ansible configuration.
No response
Contents of the inventory
No response
Contents of
group_vars
orhost_vars
No response
The text was updated successfully, but these errors were encountered: