Bug #30402
closed
Passing --upgrade causes error
Added by David Goetschius over 4 years ago.
Updated over 4 years ago.
Category:
foreman-installer script
|
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'
- 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'
- 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.
- 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
- Bugzilla link set to 1857506
- 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
- Target version changed from 2.1.1 to 2.1.2
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-installer/pull/559 added
- Pull request https://github.com/theforeman/foreman-installer/pull/560 added
- Fixed in Releases 2.3.0 added
- Status changed from Ready For Testing to Closed
- Pull request https://github.com/theforeman/foreman-installer/pull/561 added
- Fixed in Releases 2.1.2, 2.2.0 added
- Fixed in Releases deleted (
2.3.0)
Also available in: Atom
PDF