You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, has anyone had issues running the "Testing a playbook with Molecule" in chapter 13 (dated 2020-08-05)?
I hit the error following issue....
TASK [Ensure Apache is running and starts at boot.] ****************************
fatal: [instance]: FAILED! => {"changed": false, "cmd": "/bin/systemctl", "msg": "Failed to connect to bus: No such file or directory", "rc": 1, "stderr": "Failed to connect to bus: No such file or directory\n", "stderr_lines": ["Failed to connect to bus: No such file or directory"], "stdout": "", "stdout_lines": []}
Im passing the distro and the override command as suggested ...
MOLECULE_DISTRO=centos8 MOLECULE_DOCKER_COMMAND=["/usr/sbin/init"] molecule converge
Ive tried a number of the specially prepared images and they all have the same issue.
Connecting to the container reports the same issue:
$ molecule login
INFO Running default > login
[root@instance /]# /usr/sbin/init
Failed to connect to bus: No such file or directory
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, has anyone had issues running the "Testing a playbook with Molecule" in chapter 13 (dated 2020-08-05)?
I hit the error following issue....
TASK [Ensure Apache is running and starts at boot.] ****************************
fatal: [instance]: FAILED! => {"changed": false, "cmd": "/bin/systemctl", "msg": "Failed to connect to bus: No such file or directory", "rc": 1, "stderr": "Failed to connect to bus: No such file or directory\n", "stderr_lines": ["Failed to connect to bus: No such file or directory"], "stdout": "", "stdout_lines": []}
Im passing the distro and the override command as suggested ...
MOLECULE_DISTRO=centos8 MOLECULE_DOCKER_COMMAND=["/usr/sbin/init"] molecule converge
Ive tried a number of the specially prepared images and they all have the same issue.
Connecting to the container reports the same issue:
$ molecule login
INFO Running default > login
[root@instance /]# /usr/sbin/init
Failed to connect to bus: No such file or directory
Many thanks, Paul
trace.txt
Archive.zip
Beta Was this translation helpful? Give feedback.
All reactions