Hi all, so this may be simple but I can’t seem to figure it out.
I built a new RHEL8 server from my RHEL7 system and ran my playbooks as normally would and now I’m getting these errors:
WARNING]: sftp transfer mechanism failed on [host1-lx]. Use ANSIBLE_DEBUG=1 to see detailed information
[WARNING]: scp transfer mechanism failed on [host1-lx]. Use ANSIBLE_DEBUG=1 to see detailed information
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: PermissionError: [Errno 1] Operation not permitted: b’/home/user/.ansible/tmp/ansible-local-73581mdop998/tmps7c2r6yx’
fatal: [host1-lx]: FAILED! => {“msg”: “Unexpected failure during module execution.”, “stdout”: “”}
ansible 2.9.13
config file = /etc/ansible/ansible.cfg
configured module search path = [‘/home/user1/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’]
ansible python module location = /usr/lib/python3.6/site-packages/ansible
executable location = /usr/bin/ansible
python version = 3.6.8 (default, Dec 5 2019, 15:45:45) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)]
Hii
Hi all, so this may be simple but I can't seem to figure it out.
I built a new RHEL8 server from my RHEL7 system and ran my playbooks as normally would and now I'm getting these errors:
Building to me means creating from scratch - I assume you meant you
upgraded a RHEL7 to RHEL8?
Also it is not clear whether this built (or upgraded) RHEL8 system is
the controller node or one of the managed nodes. Please specify.
WARNING]: sftp transfer mechanism failed on [host1-lx]. Use ANSIBLE_DEBUG=1 to see detailed information
[WARNING]: scp transfer mechanism failed on [host1-lx]. Use ANSIBLE_DEBUG=1 to see detailed information
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: PermissionError: [Errno 1] Operation not permitted: b'/home/user/.ansible/tmp/ansible-local-73581mdop998/tmps7c2r6yx'
fatal: [host1-lx]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}
This would indicate an authentication issue. I would look at
SSH/config changes between RHEL7 and 8.
I was unable to do a successful RHEL 7 → 8 upgrade. So I did a clean install on a separate system and moved all of my content over to that system. The RHEL8 system is the controller node. I am using the same ssh keys from the RHEL7 system.