Skip to content

[Bug] [zos_copy] Return error message when concurrent copy fails #586

@rexemin

Description

@rexemin

Bug description

When zos_copy is trying to copy a source dataset into a destination dataset that is already in use by another program (with DISP=SHR), the module will report a successful task but nothing will actually be copied into the destination. This bug is related to #357, and so while the implementation of supporting other disposition modes is being explored, the module should at least return an error message when this happens.

This is also related to #559, more information about the issue is found there.

Playbook verbosity output

No response

Contents of ansible.cfg

No response

Contents of the inventory

No response

Contents of group_vars or host_vars

No response

Ansible version

ansible [core 2.13.5]
  config file = /Users/bpanyar/github/IBMZSoftware/ims-containerization/ansible.cfg
  configured module search path = ['/Users/bpanyar/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.10/site-packages/ansible
  ansible collection location = /Users/bpanyar/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.10.6 (main, Aug 11 2022, 13:49:25) [Clang 13.1.6 (clang-1316.0.21.2.5)]
  jinja version = 3.1.2
  libyaml = True

IBM z/OS Ansible core Version

v1.4.0-beta.2

IBM ZOAU version

v1.1.1

z/OS version

No response

Ansible module

zos_copy

Metadata

Metadata

Assignees

Labels

BugSomething isn't working as designed.In PlanIssue has been accepted and put into a planned release

Type

No type

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions