While trying to backup a file generate a weird description
ZOAUException('BGYSC0265E Error freeing DDName SYSPRINT from Console.\nBGYSC0266E Error freeing DDName SYSIN from Stdin.\nBGYSC0220E Error deleting temporary dataset SYSPRINT=.\nBGYSC0220E Error deleting temporary dataset SYSIN=.\nBGYSC3904E Failed to dump contents for zip file, see RC for MVSCmd return code\n\nexit: /usr/lpp/IBM/zoautil/bin/dziphelper 405: FSUM6659 syntax error in arithmetic expression "" near ""\n,RC=1')
IBM z/OS Ansible core Version
v1.9.0
IBM Z Open Automation Utilities
v1.2.5 (default)
IBM Enterprise Python
v3.11.x (default)
ansible-version
v2.15.x
z/OS version
v2.5 (default)
Ansible module
zos_backup_restore
Playbook verbosity output.
user01@IBM-PF3ALW3Q:~/Ansible/VSCode_workspace/my_ansible_zos_sample_test$ ansible-playbook sample/zos_logical_dump_eplex.yml
ansible-playbook [core 2.15.9]
config file = /home/user01/Ansible/VSCode_workspace/my_ansible_zos_sample_test/ansible.cfg
configured module search path = ['/home/user01/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/user01/.local/lib/python3.11/site-packages/ansible
ansible collection location = /home/user01/Ansible/VSCode_workspace/my_ansible_zos_sample_test
executable location = /home/user01/.local/bin/ansible-playbook
python version = 3.11.8 (main, Feb 25 2024, 16:41:26) [GCC 9.4.0] (/usr/bin/python3.11)
jinja version = 3.1.3
libyaml = False
Using /home/user01/Ansible/VSCode_workspace/my_ansible_zos_sample_test/ansible.cfg as config file
setting up inventory plugins
Loading collection ansible.builtin from
host_list declined parsing /home/user01/Ansible/VSCode_workspace/my_ansible_zos_sample_test/inventory.yml as it did not pass its verify_file() method
script declined parsing /home/user01/Ansible/VSCode_workspace/my_ansible_zos_sample_test/inventory.yml as it did not pass its verify_file() method
Parsed /home/user01/Ansible/VSCode_workspace/my_ansible_zos_sample_test/inventory.yml inventory source with yaml plugin
Loading collection ibm.ibm_zos_core from /home/user01/Ansible/VSCode_workspace/my_ansible_zos_sample_test/ansible_collections/ibm/ibm_zos_core
Loading collection ansible.posix from /home/user01/Ansible/VSCode_workspace/my_ansible_zos_sample_test/ansible_collections/ansible/posix
Loading callback plugin ansible.posix.debug of type stdout, v2.0 from /home/user01/Ansible/VSCode_workspace/my_ansible_zos_sample_test/ansible_collections/ansible/posix/plugins/callback/debug.py
Attempting to use 'default' callback.
Skipping callback 'default', as we already have a stdout callback.
Attempting to use 'junit' callback.
Attempting to use 'minimal' callback.
Skipping callback 'minimal', as we already have a stdout callback.
Attempting to use 'oneline' callback.
Skipping callback 'oneline', as we already have a stdout callback.
Attempting to use 'tree' callback.
PLAYBOOK: zos_logical_dump_eplex.yml ************************************************************************************************************************************
Positional arguments: sample/zos_logical_dump_eplex.yml
verbosity: 6
connection: smart
timeout: 10
become_method: sudo
tags: ('all',)
inventory: ('/home/user01/Ansible/VSCode_workspace/my_ansible_zos_sample_test/inventory.yml',)
forks: 5
1 plays in sample/zos_logical_dump_eplex.yml
PLAY [get a logical dump and download] **********************************************************************************************************************************
TASK [backup test01] ****************************************************************************************************************************************************
task path: /home/user01/Ansible/VSCode_workspace/my_ansible_zos_sample_test/sample/zos_logical_dump_eplex.yml:12
<9.188.216.204> ESTABLISH SSH CONNECTION FOR USER: CICS004
<9.188.216.204> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<9.188.216.204> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
<9.188.216.204> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/home/user01/.ssh/id_rsa")
<9.188.216.204> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<9.188.216.204> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User="CICS004")
<9.188.216.204> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<9.188.216.204> SSH: Set ssh_common_args: ()
<9.188.216.204> SSH: Set ssh_extra_args: ()
<9.188.216.204> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath="/home/user01/.ansible/cp/b6ac830ece")
<9.188.216.204> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o Port=22 -o 'IdentityFile="/home/user01/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o 'User="CICS004"' -o ConnectTimeout=10 -o 'ControlPath="/home/user01/.ansible/cp/b6ac830ece"' 9.188.216.204 '/bin/sh -c '"'"'echo ~CICS004 && sleep 0'"'"''
<9.188.216.204> (0, b'/u/cics004\n', b'OpenSSH_8.2p1 Ubuntu-4ubuntu0.11, OpenSSL 1.1.1f 31 Mar 2020\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files\r\ndebug1: /etc/ssh/ssh_config line 21: Applying options for *\r\ndebug2: resolve_canonicalize: hostname 9.188.216.204 is address\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket "/home/user01/.ansible/cp/b6ac830ece" does not exist\r\ndebug2: ssh_connect_direct\r\ndebug1: Connecting to 9.188.216.204 [9.188.216.204] port 22.\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: fd 3 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9972 ms remain after connect\r\ndebug1: identity file /home/user01/.ssh/id_rsa type 0\r\ndebug1: identity file /home/user01/.ssh/id_rsa-cert type -1\r\ndebug1: Local version string SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_7.6\r\ndebug1: match: OpenSSH_7.6 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug1: Authenticating to 9.188.216.204:22 as \'CICS004\'\r\ndebug3: hostkeys_foreach: reading file "/home/user01/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /home/user01/.ssh/known_hosts:4\r\ndebug3: load_hostkeys: loaded 1 keys from 9.188.216.204\r\ndebug3: order_hostkeyalgs: have matching best-preference key type ecdsa-sha2-nistp256-cert-v01@openssh.com, using HostkeyAlgorithms verbatim\r\ndebug3: send packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug3: receive packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: local client KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c,kex-strict-c-v00@openssh.com\r\ndebug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa\r\ndebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: zlib@openssh.com,zlib,none\r\ndebug2: compression stoc: zlib@openssh.com,zlib,none\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug2: peer server KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1\r\ndebug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519\r\ndebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\r\ndebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,zlib@openssh.com\r\ndebug2: compression stoc: none,zlib@openssh.com\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug1: kex: algorithm: curve25519-sha256\r\ndebug1: kex: host key algorithm: ecdsa-sha2-nistp256\r\ndebug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: zlib@openssh.com\r\ndebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: zlib@openssh.com\r\ndebug3: send packet: type 30\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug3: receive packet: type 31\r\ndebug1: Server host key: ecdsa-sha2-nistp256 SHA256:0/eNszUHfkn71nt6dQjuZ+fyJo04IH95pjsB6Yoa8E8\r\ndebug3: hostkeys_foreach: reading file "/home/user01/.ssh/known_hosts"\r\ndebug3: record_hostkey: found key type ECDSA in file /home/user01/.ssh/known_hosts:4\r\ndebug3: load_hostkeys: loaded 1 keys from 9.188.216.204\r\ndebug1: Host \'9.188.216.204\' is known and matches the ECDSA host key.\r\ndebug1: Found key in /home/user01/.ssh/known_hosts:4\r\ndebug3: send packet: type 21\r\ndebug2: set_newkeys: mode 1\r\ndebug1: rekey out after 134217728 blocks\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug3: receive packet: type 21\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug2: set_newkeys: mode 0\r\ndebug1: rekey in after 134217728 blocks\r\ndebug1: Will attempt key: /home/user01/.ssh/id_rsa RSA SHA256:F4ODRwu+6VZDmMblynnIfs5k3CK0qDuSltsIfjSC10o explicit\r\ndebug2: pubkey_prepare: done\r\ndebug3: send packet: type 5\r\ndebug3: receive packet: type 7\r\ndebug1: SSH2_MSG_EXT_INFO received\r\ndebug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>\r\ndebug3: receive packet: type 6\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey,password\r\ndebug3: start over, passed a different list publickey,password\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Offering public key: /home/user01/.ssh/id_rsa RSA SHA256:F4ODRwu+6VZDmMblynnIfs5k3CK0qDuSltsIfjSC10o explicit\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 60\r\ndebug1: Server accepts key: /home/user01/.ssh/id_rsa RSA SHA256:F4ODRwu+6VZDmMblynnIfs5k3CK0qDuSltsIfjSC10o explicit\r\ndebug3: sign_and_send_pubkey: RSA SHA256:F4ODRwu+6VZDmMblynnIfs5k3CK0qDuSltsIfjSC10o\r\ndebug3: sign_and_send_pubkey: signing using rsa-sha2-512 SHA256:F4ODRwu+6VZDmMblynnIfs5k3CK0qDuSltsIf...
Is there an existing issue for this?
Bug description
While trying to backup a file generate a weird description
ZOAUException('BGYSC0265E Error freeing DDName SYSPRINT from Console.\nBGYSC0266E Error freeing DDName SYSIN from Stdin.\nBGYSC0220E Error deleting temporary dataset SYSPRINT=.\nBGYSC0220E Error deleting temporary dataset SYSIN=.\nBGYSC3904E Failed to dump contents for zip file, see RC for MVSCmd return code\n\nexit: /usr/lpp/IBM/zoautil/bin/dziphelper 405: FSUM6659 syntax error in arithmetic expression "" near ""\n,RC=1')
IBM z/OS Ansible core Version
v1.9.0
IBM Z Open Automation Utilities
v1.2.5 (default)
IBM Enterprise Python
v3.11.x (default)
ansible-version
v2.15.x
z/OS version
v2.5 (default)
Ansible module
zos_backup_restore
Playbook verbosity output.
Playbook:
Ansible configuration.
Contents of the inventory
No response
Contents of
group_vars
orhost_vars