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 2055808 - Upgrading the Satellite 7.0 from Snap 8 to Snap 9 , sets the CDN configuration for all Organizations in airgapped mode
Summary: Upgrading the Satellite 7.0 from Snap 8 to Snap 9 , sets the CDN configuratio...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Inter Satellite Sync
Version: 6.11.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: 6.11.0
Assignee: Partha Aji
QA Contact: Radek Mynar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-17 16:45 UTC by Sayan Das
Modified: 2022-07-05 14:33 UTC (History)
2 users (show)

Fixed In Version: tfm-rubygem-katello-4.3.0.9-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:33:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
old.png which was take before upgrade (37.29 KB, image/png)
2022-02-17 16:48 UTC, Sayan Das
no flags Details
new.png which was the post-upgrade state (33.48 KB, image/png)
2022-02-17 16:49 UTC, Sayan Das
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34531 0 Normal New 4.3 -> nightly update has a bad migration and marks all organizations Airgapped 2022-02-28 19:00:00 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:33:48 UTC

Description Sayan Das 2022-02-17 16:45:43 UTC
Description of problem:

Upgrading the Satellite 7.0 from Snap 8 to Snap 9 , sets the CDN configuration for all Organizations in airgapped mode

Version-Release number of selected component (if applicable):

Satellite 7.0 [ snap 8 and snap 9+ ]


How reproducible:

Always with snap 8 to snap 9 upgrade

Steps to Reproduce:
1. Install snap 8 of Satellite 7.0 someway.
2. Import mainfest and Enable certain repos + sync
3. Take a look at "Content --> Subscriptions --> Manage Manifest --> CDN Configuration" page. 
4. Now, upgrade  the snap 8 instance to snap 9 using satellite-maintain or any other way.
5. Go to "Content --> Subscriptions --> Manage Manifest --> CDN Configuration" page.
6. Go to "Content --> Red Hat Repositories" page

Actual results:

Step 3, You will get to see just one option there having URL\Username\Password\Org Label\SSL CA COntent Creds [ Check attached screenshot old.png  ]

Step 5. You will get to see Three options but Air-Gapped is selected by default.  [ Check attached screenshot new.png  ]

Step 6: "CDN configuration is set to Air-gapped (disconnected). Repository enablement/disablement is not permitted on this page." 


Expected results:

Unless the disconnected_mode was enabled for the lower version of the satellite, Upgrading the Satellite to z stream of 7.0 should always point to "Red Hat CDN" configuration for the manifest. 


Additional info:

When this happens and we are not aware of the fact why, 

* We will not be able to enable any repos.

* A disconnected satellite who was perhaps consuming the content from a connected satellite using ISS, will no longer be able to enable any repos via ISS or sync the existing repos. 


The sole purpose of opening this BZ is that I suspect, those who are upgrading from Satellite 6.10 to 7.0, they could run into the same issue. I could not test this scenario due to https://bugzilla.redhat.com/show_bug.cgi?id=2053970 but I plan to test once the upgrade bug gets fixed.

Comment 1 Sayan Das 2022-02-17 16:48:20 UTC
Created attachment 1861729 [details]
old.png which was take before upgrade

Comment 2 Sayan Das 2022-02-17 16:49:00 UTC
Created attachment 1861730 [details]
new.png which was the post-upgrade state

Comment 7 Partha Aji 2022-02-28 18:59:59 UTC
Connecting redmine issue https://projects.theforeman.org/issues/34531 from this bug

Comment 8 Bryan Kearney 2022-02-28 20:05:43 UTC
Upstream bug assigned to paji

Comment 9 Bryan Kearney 2022-02-28 20:05:45 UTC
Upstream bug assigned to paji

Comment 13 Bryan Kearney 2022-03-01 20:05:32 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34531 has been resolved.

Comment 19 errata-xmlrpc 2022-07-05 14:33:38 UTC
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 (Moderate: Satellite 6.11 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-2022:5498


Note You need to log in before you can comment on or make changes to this bug.