Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
satellite-installer --scenario satellite --upgrade command is failing with error :warn is not a defined Style (NameError)
Version-Release number of selected component (if applicable):
satellite-6.8.0-0.7.beta.el7sat.noarch
How reproducible:
100%
Steps to Reproduce:
1. On a installed satellite server (6.8), execute the below command:-
# satellite-installer --scenario satellite --upgrade --verbose
Actual results:
# satellite-installer --scenario satellite --upgrade --verbose
[ INFO 2020-09-01T14:40:47 verbose] Executing hooks in group pre_migrations
[ INFO 2020-09-01T14:40:47 verbose] All hooks in group pre_migrations finished
[ INFO 2020-09-01T14:40:47 verbose] Executing hooks in group boot
[ INFO 2020-09-01T14:40:47 verbose] All hooks in group boot finished
[ INFO 2020-09-01T14:40:47 verbose] Executing hooks in group init
[ INFO 2020-09-01T14:40:47 verbose] All hooks in group init finished
[ INFO 2020-09-01T14:40:47 verbose] Loading default values from puppet modules...
[ INFO 2020-09-01T14:40:47 verbose] ... finished
[ INFO 2020-09-01T14:40:47 verbose] Executing hooks in group pre_values
[ INFO 2020-09-01T14:40:47 verbose] All hooks in group pre_values finished
[ INFO 2020-09-01T14:40:47 verbose] Running installer with args [["--scenario", "satellite", "--upgrade", "--verbose"]]
[ INFO 2020-09-01T14:40:47 verbose] Executing hooks in group pre_validations
[ INFO 2020-09-01T14:40:47 verbose] Installer finished in 2.234815678 seconds
Traceback (most recent call last):
16: from /usr/sbin/satellite-installer:8:in `<main>'
15: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/kafo_configure.rb:162:in `run'
14: from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run'
13: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/kafo_configure.rb:118:in `run'
12: from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run'
11: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/kafo_configure.rb:139:in `execute'
10: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hooking.rb:49:in `execute'
9: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hooking.rb:49:in `each'
8: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hooking.rb:51:in `block in execute'
7: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hook_context.rb:16:in `execute'
6: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hook_context.rb:16:in `instance_exec'
5: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hooking.rb:34:in `block (4 levels) in load'
4: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-4.1.0/lib/kafo/hooking.rb:34:in `instance_eval'
3: from /usr/share/foreman-installer/katello/hooks/pre_validations/29-upgrade.rb:2:in `block (4 levels) in load'
2: from /usr/share/foreman-installer/hooks/boot/01-kafo-hook-extensions.rb:98:in `log_and_say'
1: from /opt/theforeman/tfm/root/usr/share/gems/gems/highline-1.7.8/lib/highline.rb:383:in `color'
/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)
Expected results:
Satellite-installer should execute successfully without any error.
Additional info: