-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
BugSomething isn't working as designed.Something isn't working as designed.In PlanIssue has been accepted put into a planned releaseIssue has been accepted put into a planned release
Milestone
Description
Is there an existing issue for this?
- There are no existing issues.
Bug description
I'm using 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"
I try to delete this dataset while I'm in edit in "NAZARE.WDEPLOY.ANSIBLE.GDG1.SEQ2.G0004V00", it fails, even if 'force' parameter set to True
result:
invocation:
module_args:
force: true
name: NAZARE.WDEPLOY.ANSIBLE.GDG1.SEQ2
record_format: fb
replace: false
space_primary: 5
space_secondary: 3
space_type: m
state: absent
type: gdg
message: ''
msg: 'GenerationDataGroupDeleteException(''[ZOAUResponse]\n\trc: 1\n\tresponse_format:
UTF-8\n\tstdout_response: \n\tstderr_response: BGYSC1603I Dataset
NAZARE.WDEPLOY.ANSIBLE.GDG1.SEQ2 is allocated to another job and can
not be removed. Dataset ignored.\nBGYSC5906E Access method services
(IDCAMS) failure.\n\n\tcommand: drm -F -- "NAZARE.WDEPLOY.ANSIBLE.GDG1.SEQ2"'')'
names:
- NAZARE.WDEPLOY.ANSIBLE.GDG1.SEQ2
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_data_set
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.Something isn't working as designed.In PlanIssue has been accepted put into a planned releaseIssue has been accepted put into a planned release
Type
Projects
Status
🔍 Validation