Project

General

Profile

Bug #30402

Passing --upgrade causes error

Added by David Goetschius 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Category:
foreman-installer script
Target version:

Description

msg: non-zero return code
rc: 1
start: '2020-07-14 11:29:33.872937'
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'

Associated revisions

Revision 7aef789e (diff)
Added by Eric Helms about 1 month ago

Fixes #30402: Set :warn to yellow

History

#1 Updated by David Goetschius 2 months ago

  • Subject changed from Katello 3.15 to 3.16 upgrade to Katello 3.15 to 3.16RC4 upgrade

The command that is failing: # foreman-installer --scenario katello --upgrade

Return Code: 1

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'

#2 Updated by Jonathon Turel 2 months ago

Thanks for the report. Do you mind opening a thread on our support forum to get some more feedback on your issue? You can do that here https://community.theforeman.org/c/support/10

#3 Updated by David Goetschius 2 months ago

  • Assignee set to David Goetschius
  • Status changed from New to Resolved

Solution: Documentation was recently updated to just execute foreman-installer. Prior upgrade commands had parameters.

#4 Updated by Justin Sherrill 2 months ago

  • Status changed from Resolved to New
  • Category deleted (Upgrades)
  • Project changed from Katello to Installer

Yep, the solution is to NOT pass the '--upgrade' flag, it is no longer needed

#5 Updated by Justin Sherrill 2 months ago

  • Bugzilla link set to 1857506

#6 Updated by Ewoud Kohl van Wijngaarden 2 months ago

  • Triaged changed from No to Yes
  • Target version set to 2.1.1
  • Category set to foreman-installer script
  • Subject changed from Katello 3.15 to 3.16RC4 upgrade to Passing --upgrade causes error
  • Found in Releases 2.1.0 added

#7 Updated by Tomer Brisker about 2 months ago

  • Target version changed from 2.1.1 to 2.1.2

#8 Updated by The Foreman Bot about 1 month ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/559 added

#9 Updated by The Foreman Bot about 1 month ago

  • Pull request https://github.com/theforeman/foreman-installer/pull/560 added

#10 Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases 2.3.0 added

#11 Updated by Eric Helms about 1 month ago

  • Status changed from Ready For Testing to Closed

#12 Updated by The Foreman Bot about 1 month ago

  • Pull request https://github.com/theforeman/foreman-installer/pull/561 added

#13 Updated by Tomer Brisker about 1 month ago

  • Fixed in Releases 2.1.2, 2.2.0 added
  • Fixed in Releases deleted (2.3.0)

Also available in: Atom PDF