Open LuiggiTorricelli opened 1 year ago
Sorry, some content on the Ansible Configuration section is wrongly displayed because of missing markdown identifiers.
@LuiggiTorricelli thank you for reporting this, lets start off with the first point in the issue:
ansible_ssh_pipelining is set to False due to previous issues with non-UTF8 encoding characters.
This should have been resolved with a new environment variable PYTHONSTDINENCODING
that is available in PTFs:
Property PYTHONSTDINENCODING should be set to the encoding Unix System Services is configured as, supported encodings are ASCII or EBCDIC. This environment variable is used to instruct Ansible which encoding it will pipe content to Python's STDIN (standard in) when pipelining=true is set in ansible.cfg . This environment variable will only apply when using IBM Enterprise Python 3.10 or later, otherwise, it is ignored. For example:PYTHONSTDINENCODING: "cp1047".
You can see an example in our samples and discussion here.
If you can try that, that may address your pipelining comment.
@LuiggiTorricelli for the second issue, you provided some good data points, particularly the use of throttle
and that this happens when running the playbook against 2 lpar(s). I have an idea why the issue is happening but must confirm it first, we will need to recreate this first and then I will report back.
For now I have put it in our backlog to be recreated, it could take a bit of time.
For internal reference, it might be related to tracker 10091.
I had a discussion with ZOAU and we came to the conclusion this might be related to the console ID, and are thinking to backlog this work item until issue #1308 completes which will create a unique console ID per playbook, this could solve this issue. Discussion was recorded internally at url: [archives/C037EFBNPAN/p1712295106635239]
Is there an existing issue for this?
Are the dependencies a supported version?
IBM Z Open Automation Utilities
v1.2.4
IBM Enterprise Python
v3.11.x
IBM z/OS Ansible core Version
v1.6.0
ansible-version
v2.15.x
z/OS version
v2.5
Ansible module
zos_operator
Bug description
Hi team, Brief summary of the z/OS environments:
This is the playbook being ran:
When running the zos_operator module on both LPARs on the same playbook concurrently, the error below is received:
Sometimes the first host (NWRD) gets the OperatorCmdError and the second host (NWRE) completes well, vice-versa.
Using
wait = True
andwait_time_s
did not present any differences during the run. It failed the same way.When using
throttle = 1
, both hosts complete successfully.Playbook verbosity output.
playbook_out.txt
Ansible configuration.
host_vars/NWRD.yml
host_vars/NWRE.yml