Project

General

Profile

Actions

Bug #30402

closed

Passing --upgrade causes error

Added by David Goetschius over 3 years ago. Updated over 3 years 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'

Actions #1

Updated by David Goetschius over 3 years 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'

Actions #2

Updated by Jonathon Turel over 3 years 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

Actions #3

Updated by David Goetschius over 3 years ago

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

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

Actions #4

Updated by Justin Sherrill over 3 years ago

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

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

Actions #5

Updated by Justin Sherrill over 3 years ago

  • Bugzilla link set to 1857506
Actions #6

Updated by Ewoud Kohl van Wijngaarden over 3 years ago

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

Updated by Tomer Brisker over 3 years ago

  • Target version changed from 2.1.1 to 2.1.2
Actions #8

Updated by The Foreman Bot over 3 years ago

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

Updated by The Foreman Bot over 3 years ago

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

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases 2.3.0 added
Actions #11

Updated by Eric Helms over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #12

Updated by The Foreman Bot over 3 years ago

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

Updated by Tomer Brisker over 3 years ago

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

Also available in: Atom PDF