Skip to content

[Bug] When copying GDG to GDG and source GDS is in use the destination GDS is empty #1984

@vcorfmatibm

Description

@vcorfmatibm

Is there an existing issue for this?

  • There are no existing issues.

Bug description

I'm tested with IBM s/OS Ansible core Version : 1.12.1
I have a gdg created "NAZARE.WDEPLOY.ANSIBLE.GDG1.SEQ2" with limit: 3 empty: True scratch: False
After the fourth copy I've one GDS active "NAZARE.WDEPLOY.ANSIBLE.GDG1.SEQ2.G0004V00"

Then I launched a zos_copy with :
src: "NAZARE.WDEPLOY.ANSIBLE.GDG1.SEQ2"
dest: "NAZARE.WDEPLOY.ANSIBLE.GDG1B.SEQ2"

I'm in edit in the "NAZARE.WDEPLOY.ANSIBLE.GDG1.SEQ2.G0004V00"
The copy had created the GDG "NAZARE.WDEPLOY.ANSIBLE.GDG1B.SEQ2" and the GDS "NAZARE.WDEPLOY.ANSIBLE.GDG1B.SEQ2.G0001V00" but the GDS is empty

If I'm not in edit in the "NAZARE.WDEPLOY.ANSIBLE.GDG1.SEQ2.G0004V00", the GDS "NAZARE.WDEPLOY.ANSIBLE.GDG1B.SEQ2.G0001V00" created is not empty and have the same content that "NAZARE.WDEPLOY.ANSIBLE.GDG1.SEQ2.G0004V00"

IBM z/OS Ansible core Version

v1.12.0

IBM Z Open Automation Utilities

v1.3.4

IBM Enterprise Python

v3.13.x

ansible-version

v2.15.x

z/OS version

v2.5

Ansible module

zos_copy

Playbook verbosity output.

No response

Ansible configuration.

ansible [core 2.15.8]
  config file = None
  configured module search path = ['/home/vcorfmat/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/vcorfmat/.local/lib/python3.10/site-packages/ansible
  ansible collection location = /home/vcorfmat/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/vcorfmat/.local/bin/ansible
  python version = 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (/usr/bin/python3)
  jinja version = 3.1.2
  libyaml = True

Contents of the inventory

Contents of group_vars or host_vars

Metadata

Metadata

Assignees

Labels

BugSomething isn't working as designed.In PlanIssue has been accepted put into a planned releaseWas triagedAn item that went through the triage process.

Type

No type

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions