Bug 1857506
Summary: | Capsule Upgrade Fail: satellite-installer --scenario capsule --upgrade throws NameError | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Devendra Singh <desingh> |
Component: | Upgrades | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Devendra Singh <desingh> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.8.0 | CC: | mawerner, pcreech, sadas, vijsingh, zhunting |
Target Milestone: | 6.8.0 | Keywords: | AutomationBlocker, BetaBlocker, Triaged, UpgradeBlocker |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | foreman-installer-2.1.2 | Doc Type: | Known Issue |
Doc Text: |
Capsule Upgrade Fail: satellite-installer --scenario capsule --upgrade throws NameError
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 13:04:18 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Devendra Singh
2020-07-16 03:26:53 UTC
The --upgrade flag is no longer required for upgrades and has be deprecated. The error is coming from the code that warns users of this. We'll fix this but I advise that any upgrade commands for 6.8 drop "--upgrade" from any Satellite or Capsule upgrade commands. Connecting redmine issue https://projects.theforeman.org/issues/30402 from this bug (In reply to Eric Helms from comment #1) > The --upgrade flag is no longer required for upgrades and has be deprecated. > The error is coming from the code that warns users of this. We'll fix this > but I advise that any upgrade commands for 6.8 drop "--upgrade" from any > Satellite or Capsule upgrade commands. I tried capsule upgrade without upgrade option and it completed successfully. #satellite-installer --scenario capsule --certs-tar-file /home/XYZ-certs.tar --certs-update-all Marking certificate /root/ssl-build/XYZ/XYZ-qpid-router-client for update Marking certificate /root/ssl-build/XYZ/XYZ-qpid-broker for update Marking certificate /root/ssl-build/XYZ/XYZ-qpid-client-cert for update Marking certificate /root/ssl-build/XYZ/XYZ-qpid-router-server for update Marking certificate /root/ssl-build/XYZ/XYZ-apache for update Marking certificate /root/ssl-build/XYZ/XYZ-foreman-client for update Marking certificate /root/ssl-build/XYZ/XYZ-foreman-proxy-client for update Marking certificate /root/ssl-build/XYZ/XYZ-puppet-client for update Marking certificate /root/ssl-build/XYZ/XYZ-foreman-proxy for update Preparing installation Done Success! * Capsule is running at https://XYZ:9090 Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/30402 has been resolved. *** Bug 1874465 has been marked as a duplicate of this bug. *** Verified on 6.8 Snap14. # satellite-installer --scenario capsule --certs-tar-file /home/xyz.com-certs.tar --certs-update-all Marking certificate /root/ssl-build/xyz.com/xyz.com-qpid-router-client for update Marking certificate /root/ssl-build/xyz.com/xyz.com-qpid-broker for update Marking certificate /root/ssl-build/xyz.com/xyz.com-qpid-client-cert for update Marking certificate /root/ssl-build/xyz.com/xyz.com-qpid-router-server for update Marking certificate /root/ssl-build/xyz.com/xyz.com-apache for update Marking certificate /root/ssl-build/xyz.com/xyz.com-foreman-client for update Marking certificate /root/ssl-build/xyz.com/xyz.com-foreman-proxy-client for update Marking certificate /root/ssl-build/xyz.com/xyz.com-puppet-client for update Marking certificate /root/ssl-build/xyz.com/xyz.com-foreman-proxy for update Preparing installation Done Success! * Capsule is running at https://xyz.com:9090 The full log is at /var/log/foreman-installer/capsule.log Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.8 release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:4366 |