Bug #30402
Passing --upgrade causes error
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
History
#1
Updated by David Goetschius about 2 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'
#2
Updated by Jonathon Turel about 2 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
#3
Updated by David Goetschius about 2 years 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 about 2 years 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 about 2 years ago
- Bugzilla link set to 1857506
#6
Updated by Ewoud Kohl van Wijngaarden about 2 years 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 years ago
- Target version changed from 2.1.1 to 2.1.2
#8
Updated by The Foreman Bot almost 2 years 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 almost 2 years ago
- Pull request https://github.com/theforeman/foreman-installer/pull/560 added
#10
Updated by The Foreman Bot almost 2 years ago
- Fixed in Releases 2.3.0 added
#11
Updated by Eric Helms almost 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset installer|7aef789ec79c07998fd24f53dba21375747b96b7.
#12
Updated by The Foreman Bot almost 2 years ago
- Pull request https://github.com/theforeman/foreman-installer/pull/561 added
#13
Updated by Tomer Brisker almost 2 years ago
- Fixed in Releases 2.1.2, 2.2.0 added
- Fixed in Releases deleted (
2.3.0)
Fixes #30402: Set :warn to yellow