Bootstrap script fails with invalid syntax while registering a RHEL 8 Sever with Red Hat Satellite 6
Issue
-
bootstrap.py
script is failing onRed Hat Enterprise Linux 8
with below error while registering system toRed Hat Satellite 6
Server.# ./bootstrap.py -l admin -p 'xxxx' -s satellite.example.com -L 'Location' -o 'Organization' -a ActivationKey -g HostGroup File "/root/bootstrap.py", line 50 print "[%sERROR%s], [%s], EXITING: [%s] failed to execute properly." % (error_colors['FAIL'], error_colors['ENDC'], datetime.now().strftime('%Y-%m-%d %H:%M:%S'), msg) ^ SyntaxError: invalid syntax
Environment
- Red Hat Satellite 6.5 or higher
- Red Hat Enterprise Linux 8
- bootstrap.py
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.