# Module filesystem broken on RHEL8?

**URL:** <https://forum.ansible.com/t/module-filesystem-broken-on-rhel8/31402>\
**Category:** Ansible Project\
**Tags:** rhel\
**Created:** [October 1, 2019, 5:44pm UTC](https://forum.ansible.com/t/module-filesystem-broken-on-rhel8/31402 "2019-10-01T17:44:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![William\_Muriithi](https://avatars.discourse-cdn.com/v4/letter/w/6de8d8/32.png) [@William\_Muriithi](https://forum.ansible.com/u/William_Muriithi)\
**Post date:** [October 1, 2019, 5:44pm UTC](https://forum.ansible.com/t/module-filesystem-broken-on-rhel8/31402/1 "2019-10-01T17:44:03Z")

</div>

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](http://samba.eng.example.com) closed.\r\n’)  
\<[samba.eng.example.com](http://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](http://samba.eng.example.com) closed.  
\<[samba.eng.example.com](http://samba.eng.example.com)\> ESTABLISH SSH CONNECTION FOR USER: root  
\<[samba.eng.example.com](http://samba.eng.example.com)\> SSH: ansible.cfg set ssh\_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)  
\<[samba.eng.example.com](http://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](http://samba.eng.example.com)\> SSH: ANSIBLE\_REMOTE\_USER/remote\_user/ansible\_user/user/-u set: (-o)(User=“root”)  
\<[samba.eng.example.com](http://samba.eng.example.com)\> SSH: ANSIBLE\_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)  
\<[samba.eng.example.com](http://samba.eng.example.com)\> SSH: PlayContext set ssh\_common\_args: ()  
\<[samba.eng.example.com](http://samba.eng.example.com)\> SSH: PlayContext set ssh\_extra\_args: ()  
\<[samba.eng.example.com](http://samba.eng.example.com)\> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/tmp/ansible-ssh-%h-%p-%r)  
\<[samba.eng.example.com](http://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](http://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](http://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](http://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](http://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](http://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
