Problem: Received an return code of 1 when upgrading Katello 3.15 to 3.16.
Expected: return code 1 and system operational
Version 3.16
Other relevant data:
stderr: |-
/opt/theforeman/tfm/root/usr/share/gems/gems/highline-1.7.8/lib/highline/style.rb:33:in Style': :warn is not a defined Style (NameError) from /opt/theforeman/tfm/root/usr/share/gems/gems/highline-1.7.8/lib/highline.rb:383:in color’
SOLUTION: Just execute # foreman-installer
The above error message came from the 3.15 and prior upgrades #foreman-installer --scenario katello --upgrade
I dropped both the --scenario katello and the --update. And it worked through the foreman-installer process without erroring out at what appear to be line 33 (see stderr). Not sure what parameter or maybe both cause the error.