Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1505944

Summary: [RFE] [6.3] Capsule upgrade documentation needs updating for 6.2 to 6.3
Product: Red Hat Satellite Reporter: Eric Helms <ehelms>
Component: Docs Upgrading and Updating Red Hat SatelliteAssignee: Stephen Wadeley <swadeley>
Status: CLOSED NEXTRELEASE QA Contact: Russell Dickenson <rdickens>
Severity: high Docs Contact:
Priority: high    
Version: UnspecifiedCC: adahms, cwelton, ehelms, swadeley
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-02 11:40:43 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:
Bug Depends On:    
Bug Blocks: 1490045    

Description Eric Helms 2017-10-24 15:42:46 UTC
Capsule upgrade documentation needs updating for Satellite 6.2 to 6.3 upgrades only.

Generating Certs

Add --certs-update-all to the capsule-certs-generate command, for example:

capsule-certs-generate --certs-tar ~/tmp/mycerts.tar.gz --foreman-proxy-fqdn pipeline-capsule-6-2-rhel7.woodford.example.com --certs-update-all


Upgrading Capsule

When upgrading the capsule, with our updated certs bundle, we need to ensure these new certs are deployed and the nssdb is regenerated. Do this by ensuring '--certs-regenerate true' and --'certs-deploy true' and '--certs-update-all' are included in the upgrade command. For example:

satellite-installer --upgrade --foreman-proxy-content-certs-tar ~/mycerts.tar.gz --certs-update-all --certs-regenerate true --certs-deploy true

Comment 1 Stephen Wadeley 2017-10-24 15:59:19 UTC
Hello


Thank you raising this bug.

Comment 2 Andrew Dahms 2017-10-24 23:37:08 UTC
Updated release flags and priority.

Thanks for taking this on, Stephen.

Comment 3 Eric Helms 2017-10-25 03:06:34 UTC
Apologies for the churn, one of the commands I listed is slightly wrong. It should be:

satellite-installer --upgrade --certs-tar ~/mycerts.tar.gz --certs-update-all --regenerate true --deploy true

Comment 4 Stephen Wadeley 2017-10-25 15:25:57 UTC
Hello Eric

I think we are not supposed to use ~/ in paths. Or is the rule only not to use "" around those paths with ~/ ?

Thank you

Comment 6 Stephen Wadeley 2017-10-30 09:58:34 UTC
(In reply to Eric Helms from comment #3)
> Apologies for the churn, one of the commands I listed is slightly wrong. It
> should be:
> 
> satellite-installer --upgrade --certs-tar ~/mycerts.tar.gz
> --certs-update-all --regenerate true --deploy true

I presume you mean I should change to:

satellite-installer --scenario capsule --upgrade \
--capsule-certs-tar _mycapsule.example.com-certs.tar_ \
--certs-update-all --regenerate true --deploy true

or do you mean I should also change "capsule-certs-tar" option:

satellite-installer --scenario capsule --upgrade \
--certs-tar _mycapsule.example.com-certs.tar_ \
--certs-update-all --regenerate true --deploy true

{ignore those underscores, that is asciidoc markup for italics (replaceable values)}

Thank you

Comment 17 Andrew Dahms 2018-01-16 00:18:15 UTC
Updating the doc type.