'str' object has no attribute 'decode' while registering RHEL 8.5 to Red Hat Satellite 6
Issue
-
While registering
Red Hat Enterprise Linux 8.5
, receiving below error:Foreman Bootstrap Script This script is designed to register new systems or to migrate an existing system to a Foreman server with Katello Traceback (most recent call last): File "/tmp/bootstrap.py", line 1334, in <module> check_rpm_installed() File "/tmp/bootstrap.py", line 1018, in check_rpm_installed package_name = package['name'].decode('ascii') AttributeError: 'str' object has no attribute 'decode'
Environment
- Red Hat Satellite 6
- Red Hat Enterprise Linux 8.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.