New to Ansible zos

aruldba
Mon, 25 Nov 2024 14:17:20 +0000
Get Help

I’m trying to run simple playbook to make sure setup is right. But not able to figure out what would be the cause for playbook to get stuck. Pretty new to Ansible being a Db2 DBA.

debug2: mux_master_process_new_session: channel 1: request tty 0, X 0, agent 0, subsys 0, term “xterm-256color”, cmd “/bin/sh -c ‘_BPXK_AUTOCVT=ON ZOAU_HOME=/usr/lpp/IBM/zoau/v1r3/ PYTHONPATH=/usr/lpp/IBM/zoau/v1r3/lib/3.12/zoautil_py/ LIBPATH=/usr/lpp/IBM/zoau/v1r3/lib:/usr/lpp/IBM/cyp/v3r12/pyz/lib:/lib:/usr/lib:. PATH=/usr/lpp/IBM/zoau/v1r3/bin:/usr/lpp/IBM/cyp/v3r12/pyz/bin:/bin _CEE_RUNOPTS=’”‘“‘FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)’”’“’ _TAG_REDIR_ERR=txt _TAG_REDIR_IN=txt _TAG_REDIR_OUT=txt LANG=C PYTHONSTDINENCODING=cp1047 /usr/lpp/IBM/cyp/v3r12/pyz/bin/python3 && sleep 0’”, env 1
debug3: mux_master_process_new_session: got fds stdin 6, stdout 7, stderr 8
debug2: fd 6 setting O_NONBLOCK
debug2: fd 7 setting O_NONBLOCK
debug2: fd 8 setting O_NONBLOCK
debug1: channel 2: new session [client-session] (inactive timeout: 0)
debug2: mux_master_process_new_session: channel_new: 2 linked to control channel 1
debug2: channel 2: send open
debug3: send packet: type 90
debug3: receive packet: type 91
debug2: channel_input_open_confirmation: channel 2: callback start
debug2: client_session2_setup: id 2
debug1: Sending environment.
debug1: channel 2: setting env LANG = “C.UTF-8”
debug2: channel 2: request env confirm 0
debug3: send packet: type 98
debug1: Sending command: /bin/sh -c ‘_BPXK_AUTOCVT=ON ZOAU_HOME=/usr/lpp/IBM/zoau/v1r3/ PYTHONPATH=/usr/lpp/IBM/zoau/v1r3/lib/3.12/zoautil_py/ LIBPATH=/usr/lpp/IBM/zoau/v1r3/lib:/usr/lpp/IBM/cyp/v3r12/pyz/lib:/lib:/usr/lib:. PATH=/usr/lpp/IBM/zoau/v1r3/bin:/usr/lpp/IBM/cyp/v3r12/pyz/bin:/bin _CEE_RUNOPTS=’“'”‘FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)’“'”’ _TAG_REDIR_ERR=txt _TAG_REDIR_IN=txt _TAG_REDIR_OUT=txt LANG=C PYTHONSTDINENCODING=cp1047 /usr/lpp/IBM/cyp/v3r12/pyz/bin/python3 && sleep 0’
debug2: channel 2: request exec confirm 1
debug3: send packet: type 98
debug3: client_repledge: enter
debug3: mux_session_confirm: sending success reply
debug2: channel_input_open_confirmation: channel 2: callback done
debug2: channel 2: open confirm rwindow 100000 rmax 32768
debug1: mux_client_request_session: master session id: 2
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 2
debug2: exec request accepted on channel 2
debug2: channel 2: rcvd adjust 65536
<<<
11645 1732304901.61811: stderr chunk (state=3):

debug2: channel 2: rcvd adjust 967232
<<<
11645 1732304901.61827: stderr chunk (state=3):
debug2: channel 2: read failed rfd 6 maxlen 32768: Broken pipe
debug2: channel 2: read failed
debug2: chan_shutdown_read: channel 2: (i0 o0 sock -1 wfd 6 efd 8 [write])
debug2: channel 2: input open → drain
<<<
11645 1732304901.61833: stderr chunk (state=3):
debug2: channel 2: ibuf empty
debug2: channel 2: send eof
debug3: send packet: type 96
debug2: channel 2: input drain → closed
<<<
11645 1732305000.94285: stderr chunk (state=3):
debug3: send packet: type 80
<<<
11645 1732305000.96105: stderr chunk (state=3):
debug3: receive packet: type 82
<<<
11645 1732305100.94554: stderr chunk (state=3):
debug3: send packet: type 80
<<<
11645 1732305100.96570: stderr chunk (state=3):
debug3: receive packet: type 82
<<<
11645 1732305200.94806: stderr chunk (state=3):
debug3: send packet: type 80
<<<
11645 1732305200.96881: stderr chunk (state=3):
debug3: receive packet: type 82
<<<
11645 1732305300.95024: stderr chunk (state=3):
debug3: send packet: type 80
<<<
11645 1732305300.96456: stderr chunk (state=3):
debug3: receive packet: type 82
<<<
11645 1732305400.95204: stderr chunk (state=3):
debug3: send packet: type 80
<<<
11645 1732305400.97525: stderr chunk (state=3):
debug3: receive packet: type 82
<<<
^Z
[1]+ Stopped ansible-playbook tso-cmd.yaml -i yourhost.yaml -vvvvvvv
angamua@5CG237105L:~/Arul$

Thanks
Arul

2 posts - 2 participants