Module filesystem broken on RHEL8?

Hello,

I have tried to run this task on RHEL 8 system and it doesn’t go well. The same task runs fine on RHEL 7.

It does looks like this is a bug to me, anyone made a similar observation or can replicate it with ease?

  • name: Set up xfs filesystem on partation for VDO
    filesystem: fstype=xfs dev=/dev/mapper/{{ansible_hostname}} opts=-K

Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 26037\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\nShared connection to samba.eng.example.com closed.\r\n’)
<samba.eng.example.com> Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 26037
debug3: mux_client_request_session: session request sent
debug1: mux_client_request_session: master session id: 2
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 1
Shared connection to samba.eng.example.com closed.
<samba.eng.example.com> ESTABLISH SSH CONNECTION FOR USER: root
<samba.eng.example.com> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<samba.eng.example.com> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<samba.eng.example.com> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=“root”)
<samba.eng.example.com> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<samba.eng.example.com> SSH: PlayContext set ssh_common_args: ()
<samba.eng.example.com> SSH: PlayContext set ssh_extra_args: ()
<samba.eng.example.com> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/tmp/ansible-ssh-%h-%p-%r)
<samba.eng.example.com> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ‘User=“root”’ -o ConnectTimeout=10 -o ControlPath=/tmp/ansible-ssh-%h-%p-%r samba.eng.example.com ‘/bin/sh -c ‘"’“‘rm -f -r /root/.ansible/tmp/ansible-tmp-1569950817.08-278630914239835/ > /dev/null 2>&1 && sleep 0’”’"‘’
<samba.eng.example.com> (0, ‘’, ‘OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 26037\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n’)
fatal: [samba.eng.example.com]: FAILED! => {
“changed”: false,
“module_stderr”: “OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 58: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 26037\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\nShared connection to samba.eng.example.com closed.\r\n”,
“module_stdout”: “Traceback (most recent call last):\r\n File "/root/.ansible/tmp/ansible-tmp-1569950817.08-278630914239835/AnsiballZ_vdo.py", line 114, in \r\n _ansiballz_main()\r\n File "/root/.ansible/tmp/ansible-tmp-1569950817.08-278630914239835/AnsiballZ_vdo.py", line 106, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File "/root/.ansible/tmp/ansible-tmp-1569950817.08-278630914239835/AnsiballZ_vdo.py", line 49, in invoke_module\r\n imp.load_module(‘main’, mod, module, MOD_DESC)\r\n File "/usr/lib64/python3.6/imp.py", line 235, in load_module\r\n return load_source(name, filename, file)\r\n File "/usr/lib64/python3.6/imp.py", line 170, in load_source\r\n module = _exec(spec, sys.modules[name])\r\n File "", line 618, in _exec\r\n File "", line 678, in exec_module\r\n File "", line 219, in _call_with_frames_removed\r\n File "/tmp/ansible_vdo_payload_uwbnbfgg/main.py", line 871, in \r\n File "/tmp/ansible_vdo_payload_uwbnbfgg/main.py", line 867, in main\r\n File "/tmp/ansible_vdo_payload_uwbnbfgg/main.py", line 609, in run_module\r\nKeyError: ‘Read cache’\r\n”,
“msg”: “MODULE FAILURE\nSee stdout/stderr for the exact error”,
“rc”: 1
}

PLAY RECAP ********************************************************************************************************************************************************************************************************
samba.eng.example.com : ok=3 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

[william@ansible ~]$ rpm -qa | grep ansible
ansible-2.8.5-1.el7.noarch
[william@ansible ~]$

Regards,
William