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.
Bug 1903584 - Satellite-installer interactive is broken with NameError
Summary: Satellite-installer interactive is broken with NameError
Keywords:
Status: CLOSED DUPLICATE of bug 1899407
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: 6.9.0
Assignee: satellite6-bugs
QA Contact: Devendra Singh
URL:
Whiteboard:
Depends On:
Blocks: 1903599
TreeView+ depends on / blocked
 
Reported: 2020-12-02 12:43 UTC by Jitendra Yejare
Modified: 2020-12-14 15:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-14 15:23:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jitendra Yejare 2020-12-02 12:43:46 UTC
Description of problem:

Running Satellite-installer in interactive mode and choosing the config breaks with NameError.

Version-Release number of selected component (if applicable):
Satellite 6.9.0 snap 3 (and Snap 2 as well)

How reproducible:
Always

Steps to Reproduce:
----------------------
1. satellite-installer -i
2. In `Ready to Start` prompt, say `y`  (That is yes)
3. In `Choose an option, from the menu ...`, choose any option number from Main Config Menu. (I choose `6. [✗] Configure foreman_cli_kubevirt`)
4. Visit the NameError traceback.

Actual results:
--------------------

```
Traceback (most recent call last):
	17: from /usr/sbin/satellite-installer:8:in `<main>'
	16: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.1/lib/kafo/kafo_configure.rb:50:in `run'
	15: from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run'
	14: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.1/lib/kafo/kafo_configure.rb:169:in `run'
	13: from /opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run'
	12: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.1/lib/kafo/kafo_configure.rb:191:in `execute'
	11: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.1/lib/kafo/wizard.rb:33:in `run'
	10: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.1/lib/kafo/wizard.rb:45:in `main_menu'
	 9: from /opt/theforeman/tfm/root/usr/share/gems/gems/highline-1.7.8/lib/highline.rb:366:in `choose'
	 8: from /opt/theforeman/tfm/root/usr/share/gems/gems/highline-1.7.8/lib/highline/menu.rb:312:in `select'
	 7: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.1/lib/kafo/wizard.rb:51:in `block (3 levels) in main_menu'
	 6: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.1/lib/kafo/wizard.rb:78:in `configure_module'
	 5: from /opt/theforeman/tfm/root/usr/share/gems/gems/highline-1.7.8/lib/highline.rb:333:in `choose'
	 4: from /opt/theforeman/tfm/root/usr/share/gems/gems/highline-1.7.8/lib/highline.rb:333:in `new'
	 3: from /opt/theforeman/tfm/root/usr/share/gems/gems/highline-1.7.8/lib/highline/menu.rb:51:in `initialize'
	 2: from /opt/theforeman/tfm/root/usr/share/gems/gems/kafo-6.1.1/lib/kafo/wizard.rb:82:in `block in configure_module'
	 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': :notice is not a defined Style (NameError)
```

Expected results:
-----------------------
The Config should be installed interactively.

Additional info:

Comment 2 Jitendra Yejare 2020-12-07 07:59:36 UTC
@Brad, No its not a regression from 6.8, with 6.8.2 snap 2.0 its working fine. But with satellite 6.9, I could see its very reproducible. 

There is also a similar error(NameError) raised for installer in 6.9

Comment 3 Jitendra Yejare 2020-12-08 12:39:57 UTC
Similar error is observed for `Satellite installer --list-scenarios` command.

Comment 4 Eric Helms 2020-12-14 15:23:31 UTC

*** This bug has been marked as a duplicate of bug 1899407 ***


Note You need to log in before you can comment on or make changes to this bug.