new ansible server build

29 views
Skip to first unread message

Chris Bidwell - NOAA Federal

unread,
Sep 15, 2020, 10:27:34 PM9/15/20
to ansible...@googlegroups.com
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)]

Dick Visser

unread,
Sep 16, 2020, 5:11:25 AM9/16/20
to ansible...@googlegroups.com
Hii

On Wed, 16 Sep 2020 at 04:27, 'Chris Bidwell - NOAA Federal' via
Ansible Project <ansible...@googlegroups.com> wrote:
>
> 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.



--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

Chris Bidwell - NOAA Federal

unread,
Sep 16, 2020, 10:20:17 AM9/16/20
to ansible...@googlegroups.com
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.  

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwM7M3ypMpyYBp5gE%2BSC7J9pZ0%3D-hBFh1%3DkzgDkxFQtaug%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages