Error working with ansible zos_core (zos_data_set) #603
-
Hi all, PS. The member "DSS.CICP00.V420(TESTE2)" was manually created for deletion tests Playbook
When I try to delete a member, I get the messages below The full traceback isFile "/tmp/ansible_zos_data_set_payload_l4omm72t/ansible_zos_data_set_payload.zip/ansible_collections/ibm/ibm_zos_core/plugins/modules/zos_data_set.py", line 1198, in run_module When I try to create a new member, I get the messages below: Result: The full traceback is: PS. Everything works correctly when I use other zos_core modules, like zos_operator, for example Thanks in advance for your attention! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 5 replies
-
Is this pds or pdse opened by another process, an example is that the Data set is being accessed by a started task? Could you try to create a new PDS or PDSE, add a member with My thoughts are the data set is opened as DISP=SHR somewhere and we won't support that till version 1.6.0-beta.1. You can follow along with the git issue tracking the work for what this could be (DISP=SHR) in issue #358. What you describe is a functional test (we have a few deleting (absent) on members as in this test here |
Beta Was this translation helpful? Give feedback.
-
Ps.: PLAY RECAP ************************************************************************************************************ |
Beta Was this translation helpful? Give feedback.
-
I am reviewing this, will report back soon, thank you. |
Beta Was this translation helpful? Give feedback.
-
Thank you for all the information, I tried this v1.4.0, I created the PDS and member in one playbook then in another performed the deletion and had no issues. ISPF
Output
Playbook task:
Could you add this to your playbook and run it in verbose mode
I updated the playbook on 2/24/23 to ignore errors and also return the content not just the RC from the head command. The reason for my request is that I am suspicious of the environment path to Unix System Services utilities like
Thank you. |
Beta Was this translation helpful? Give feedback.
-
Resolved, two versions of Python in LIBPATH. |
Beta Was this translation helpful? Give feedback.
Resolved, two versions of Python in LIBPATH.