Bug #30402
closedPassing --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'
Updated by David Goetschius over 4 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'
Updated by Jonathon Turel over 4 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
Updated by David Goetschius over 4 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.
Updated by Justin Sherrill over 4 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
Updated by Ewoud Kohl van Wijngaarden over 4 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
Updated by Tomer Brisker over 4 years ago
- Target version changed from 2.1.1 to 2.1.2
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-installer/pull/559 added
Updated by The Foreman Bot over 4 years ago
- Pull request https://github.com/theforeman/foreman-installer/pull/560 added
Updated by Eric Helms over 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset installer|7aef789ec79c07998fd24f53dba21375747b96b7.
Updated by The Foreman Bot over 4 years ago
- Pull request https://github.com/theforeman/foreman-installer/pull/561 added
Updated by Tomer Brisker over 4 years ago
- Fixed in Releases 2.1.2, 2.2.0 added
- Fixed in Releases deleted (
2.3.0)