Closed itsBryantP closed 1 year ago
playbook attached
---
- name: copy test
hosts: all
gather_facts: false
vars_files:
- "{{ vars_folder_name }}/ims-dbdc.yml"
environment: "{{ system_environment }}"
tasks:
# - name: Create local installation dataset copies
# ibm.ibm_zos_core.zos_copy:
# src: "{{ DFS_IMS_SYS_HLQGROUP }}.{{ item }}"
# dest: "BRYANT.IMS1.{{ item }}"
# remote_src: true
# volume: "OMAR1"
# loop: [SDFSRESL]
# - ibm.ibm_zos_core.zos_copy:
# src: "IMSCONT.IMS1.SDFSRESL(DFSCD000)"
# dest: "BRYANT.IMS1.DBDLIB(DFSCD000)"
# remote_src: true
# volume: 'OMAR1'
# force: true
- name: Copy pre-compiled IMS Catalog DBDs
ibm.ibm_zos_core.zos_copy:
src: "IMSCONT.IMS1.SDFSRESL({{ item }})"
dest: "IMSCONT.IMS1.DBDLIB({{ item }})"
remote_src: true
volume: 'OMAR1'
force: true
loop: [DFSCD000, DFSCX000]
- name: Copy pre-compiled IMS Catalog PSBs
ibm.ibm_zos_core.zos_copy:
src: "IMSCONT.IMS1.SDFSRESL({{ item }})"
dest: "IMSCONT.IMS1.PSBLIB({{ item }})"
remote_src: true
volume: 'OMAR1'
force: true
loop: [DFSCPL00, DFSCP000, DFSCP001, DFSCP002, DFSCP003]
@itsBryantP thank for opening the issue, @rexemin will look into this and determine next steps and share that information. For now I assigned it to next sprint and we can go from there.
Using the same environment as above, when copying a load module from an existing dataset to another existing dataset and the datasets are being used by an IMS instance, zos_copy
reports that the task was successful when the member was not actually copied.
Hi Team, @rexemin and I had a working session with @steph-lieu and we were not able to reproduce this issue using 1.3.6, 1.4.0-beta.1 and a 1.4.0 GA early build.
We will list this issue as a known issue and come back to this GH issue in case it arises. In the meantime, I will close this as not planned.
I don't think we need to make this a known issue if we can't reproduce, we should reserve known issues for those we can reproduce but unable to fix prior to a release. The history here will serve well enough to reopen or search if it appears again.
Bug description
Issue found when assisting @steph-lieu in debugging playbooks.
Using
ibm_zos_core
1.3.6 When copying a load module from an existing dataset to another existing dataset with mismatching (potentially undersized) blocksize,zos_copy
reports that the task was successful when the member was not actually copied.Source dataset:
Destination dataset:
Playbook verbosity output
Contents of
ansible.cfg
Contents of the inventory
Contents of
group_vars
orhost_vars
Ansible version
IBM z/OS Ansible core Version
v1.3.6
IBM ZOAU version
v1.1.1
z/OS version
2.5
Ansible module
zos_copy