Project

General

Profile

Actions

Bug #34733

closed

Repository set not showing repos after importing library and creating an ak in a disconnected satellite

Added by Lucy Fu about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2064434

Description of problem:
Repo set does not show any available repos when a user creates an ak after importing a cv into a disconnected satellite. Even when a user clicks "show all", there's no list of repos to enable or disable on the UI.

Version-Release number of selected component (if applicable):
7.0 snap 14 rhel8

How reproducible:
100%

Steps to Reproduce:
1. Spin up 2 satellites. One for export and another for disconnected satellite to import.

On Export Satellite:
2. Upload manifest
3. Change settings to use "immediate" for rhel repos download
4. Enabled a few RHEL repos (I used ansible, tools, and collection)
5. Sync the repos
6. Create a cv, add repos, and publish
7. Run export command: hammer content-export complete library --organization="Default Organization"

On Import Satellite:
8. Upload same manifest as step 2
9. Change settings to use "immediate" for rhel download policy
10. Enable air-gapped by going to subscriptions -> manage manifest -> CDN configuration tab -> air-gapped -> clicking Update
11. scp exported file from step 7 to /var/lib/pulp/import
12. chown -R pulp:pulp on the exported folder
13. Run the import command: hammer content-import library --organization="Default_Organization" --path=’/var/lib/pulp/imports/dump_dir
14. Create an ak and add all the subscriptions using the cv that was imported
15. Go to "repository tab" and click "show all" checkbox

Actual results:
List/table is empty

Expected results:
There should be a list of repos to enabled/disable

Work around is you can enabled the repos after registering a client to the satellite and running "subscription-manager repos --enable <repo-id>". Though it does work and pull in content, the UI will STILL NOT SHOW the enabled repos in repository set for ak or for the chost.

Additional info:
I have not retested this in 6.10.z

Actions #1

Updated by Partha Aji about 2 years ago

  • Subject changed from Repository set not showing repos after importing library and creating an ak in a disconnected satellite to Repository set not showing repos after importing library and creating an ak in a disconnected satellite
  • Target version set to Katello 4.5.0
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot about 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lucy Fu
  • Pull request https://github.com/Katello/katello/pull/10052 added
Actions #3

Updated by The Foreman Bot about 2 years ago

  • Fixed in Releases Katello 4.5.0 added
Actions #4

Updated by Lucy Fu about 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by The Foreman Bot almost 2 years ago

  • Pull request https://github.com/Katello/katello/pull/10073 added
Actions

Also available in: Atom PDF