Created
August 3, 2019 17:16
-
-
Save sarnold/dc0148c4707ba98a550661b9e601da4e to your computer and use it in GitHub Desktop.
ansible mount fail on 32bit target
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mount task appears to succeed, following synchronize task fails on one of two machines because ROOTA is not mounted. | |
Escalation succeeded | |
Escalation succeeded | |
<NNN.NNN.NN.130> (0, b'\r\n{"changed": true, "name": "/mnt/gentoo", "opts": "defaults", "dump": "0", "passno": "0", "fstab": "/etc/fstab", "src": "LABEL=ROOTA", "fstype": "ext4", "invocation": {"module_args": {"path": "/mnt/gentoo", "src": "LABEL=ROOTA", "fstype": "ext4", "opts": "defaults", "state": "mounted", "boot": true, "backup": false, "dump": null, "fstab": null, "passno": null}}}\r\n', b'Shared connection to NNN.NNN.NN.130 closed.\r\n') | |
<NNN.NNN.NN.130> ESTABLISH SSH CONNECTION FOR USER: gentoo | |
<NNN.NNN.NN.130> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 'IdentityFile="/home/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=gentoo -o ConnectTimeout=10 -o ControlPath=/tmp/ansible-%h-%p-%r NNN.NNN.NN.130 '/bin/sh -c '"'"'rm -f -r /home/gentoo/.ansible/tmp/ansible-tmp-1564774882.4612923-279772369436355/ > /dev/null 2>&1 && sleep 0'"'"'' | |
<NNN.NNN.NN.130> (0, b'', b'') | |
changed: [NNN.NNN.NN.130] => { | |
"changed": true, | |
"dump": "0", | |
"fstab": "/etc/fstab", | |
"fstype": "ext4", | |
"invocation": { | |
"module_args": { | |
"backup": false, | |
"boot": true, | |
"dump": null, | |
"fstab": null, | |
"fstype": "ext4", | |
"opts": "defaults", | |
"passno": null, | |
"path": "/mnt/gentoo", | |
"src": "LABEL=ROOTA", | |
"state": "mounted" | |
} | |
}, | |
"name": "/mnt/gentoo", | |
"opts": "defaults", | |
"passno": "0", | |
"src": "LABEL=ROOTA" | |
} | |
<NNN.NNN.NN.132> (0, b'\r\n{"changed": true, "name": "/mnt/gentoo", "opts": "defaults", "dump": "0", "passno": "0", "fstab": "/etc/fstab", "src": "LABEL=ROOTA", "fstype": "ext4", "invocation": {"module_args": {"path": "/mnt/gentoo", "src": "LABEL=ROOTA", "fstype": "ext4", "opts": "defaults", "state": "mounted", "boot": true, "backup": false, "dump": null, "fstab": null, "passno": null}}}\r\n', b'Shared connection to NNN.NNN.NN.132 closed.\r\n') | |
<NNN.NNN.NN.132> ESTABLISH SSH CONNECTION FOR USER: gentoo | |
<NNN.NNN.NN.132> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o 'IdentityFile="/home/user/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=gentoo -o ConnectTimeout=10 -o ControlPath=/tmp/ansible-%h-%p-%r NNN.NNN.NN.132 '/bin/sh -c '"'"'rm -f -r /home/gentoo/.ansible/tmp/ansible-tmp-1564774882.5121796-177458528007488/ > /dev/null 2>&1 && sleep 0'"'"'' | |
<NNN.NNN.NN.132> (0, b'', b'') | |
changed: [NNN.NNN.NN.132] => { | |
"changed": true, | |
"dump": "0", | |
"fstab": "/etc/fstab", | |
"fstype": "ext4", | |
"invocation": { | |
"module_args": { | |
"backup": false, | |
"boot": true, | |
"dump": null, | |
"fstab": null, | |
"fstype": "ext4", | |
"opts": "defaults", | |
"passno": null, | |
"path": "/mnt/gentoo", | |
"src": "LABEL=ROOTA", | |
"state": "mounted" | |
} | |
}, | |
"name": "/mnt/gentoo", | |
"opts": "defaults", | |
"passno": "0", | |
"src": "LABEL=ROOTA" | |
} | |
fatal: [NNN.NNN.NN.132 -> NNN.NNN.NN.132]: FAILED! => { | |
"changed": false, | |
"cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --no-motd --exclude=.git --out-format=<<CHANGED>>%i %n%L /tmp/orchardos-tools /mnt/gentoo/home/gentoo", | |
"invocation": { | |
"module_args": { | |
"_local_rsync_path": "rsync", | |
"_substitute_controller": false, | |
"archive": true, | |
"checksum": false, | |
"compress": true, | |
"copy_links": false, | |
"delete": false, | |
"dest": "/mnt/gentoo/home/gentoo", | |
"dest_port": null, | |
"dirs": false, | |
"existing_only": false, | |
"group": null, | |
"link_dest": null, | |
"links": null, | |
"mode": "push", | |
"owner": null, | |
"partial": false, | |
"perms": null, | |
"private_key": null, | |
"recursive": null, | |
"rsync_opts": [ | |
"--no-motd", | |
"--exclude=.git" | |
], | |
"rsync_path": null, | |
"rsync_timeout": 0, | |
"set_remote_user": true, | |
"src": "/tmp/orchardos-tools", | |
"ssh_args": null, | |
"times": null, | |
"verify_host": false | |
} | |
}, | |
"msg": "rsync: mkdir \"/mnt/gentoo/home/gentoo\" failed: No such file or directory (2)\nrsync error: error in file IO (code 11) at main.c(664) [Receiver=3.1.3]\n", | |
"rc": 11 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment