Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Patching failed on the development environment

avatar
New Contributor

Hi Team,

we have done the patching on the development it has failed document is attached and the UAC team suggested to remove symlink /usr/bin/python, on rhel8 it should not be set. can you please suggest what we can do.

Below are the errors in logfile :-

fatal: [clrv0000239897.ic.ing.net]: FAILED! => {"changed": false, "cmd": "dnf install -y python2-dnf", "msg": "Could not import the dnf python module using /usr/bin/python (2.7.18 (default, Feb 10 2022, 14:26:12) [GCC 8.5.0 20210514 (Red Hat 8.5.0-10)]). Please install python2-dnf package or ensure you have specified the correct ansible_python_interpreter.", "rc": 1, "results": [], "stderr": "Error: Unable to find a match: python2-dnf\\n", "stderr_lines": ["Error: Unable to find a match: python2-dnf"], "stdout": "Last metadata expiration check: 0:00:26 ago on Tue 02 Aug 2022 07:05:15 PM CEST.\\nNo match for argument: python2-dnf\\n", "stdout_lines": ["Last metadata expiration check: 0:00:26 ago on Tue 02 Aug 2022 07:05:15 PM CEST.", "No match for argument: python2-dnf"]}

fatal: [clrv0000239899.ic.ing.net]: FAILED! => {"changed": false, "checksum": "5d6ab1f1712f89237f5db442ef820f8a0a451861", "msg": "Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!"}

fatal: [clrv0000239900.ic.ing.net]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

2 REPLIES 2

avatar
Contributor

Can you please provide more information?

I.E.:
Whether you are getting those errors while patching rhel8 operating system.
If yes.What exactly you need to check from Cloudera Manager end.

avatar
New Contributor

Hi,

we got those errors while doing the stack patching, likely but guessing here that link is placed due to the cloudera stack?