Project

General

Profile

Actions

Bug #36482

closed

Unable to enable any repository in network sync

Added by Hao Yu over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:

Description

Clone from bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2213128

Description of problem:
Unable to enable any repository in network sync Satellite because "Scan cdn" task failed with "No repositories available".

Go to Web Ui -> Tasks page, I found that "Scan cdn" task keeps running forever.

In production log I can see the following infinity loops.
~~
CDN: Requesting path https://satellite.example.com:443/katello/api/v2/repository_sets?organization_id=1&search=path+%3D+%2Fcontent%2Fdist%2Frhel%2Fserver%2F7%2F%24releasever%2F%24basearch%2Fsupplementary%2Fos
CDN: Requesting path https://satellite.example.com:443/katello/api/v2/organizations/1/content_views?search=label%3DDefault_Organization_View
CDN: Requesting path https://satellite.example.com:443/katello/api/v2/organizations/1/environments?full_result=true
CDN: Requesting path https://satellite.example.com:443/katello/api/v2/repositories?full_result=true&organization_id=1&content_view_id=1&environment_id=1&search=content_label+%3D+rhel-7-server-supplementary-rpms
...
...
CDN: Requesting path https://satellite.example.com:443/katello/api/v2/repository_sets?organization_id=1&search=path+%3D+%2Fcontent%2Fdist%2Frhel%2Fserver%2F7%2F%24releasever%2F%24basearch%2Fsupplementary%2Fos
CDN: Requesting path https://satellite.example.com:443/katello/api/v2/organizations/1/content_views?search=label%3DDefault_Organization_View
CDN: Requesting path https://satellite.example.com:443/katello/api/v2/organizations/1/environments?full_result=true
CDN: Requesting path https://satellite.example.com:443/katello/api/v2/repositories?full_result=true&organization_id=1&content_view_id=1&environment_id=1&search=content_label+%3D+rhel-7-server-supplementary-rpms
~~

Version-Release number of selected component (if applicable):
Satellite 6.12.3+
Satellite 6.13 also affected

How reproducible:
Easy

Steps to Reproduce:
1. Setup a network sync Satellite to sync with another Satellite.
2. Try to enable repository

Actual results:
No repositories can be enabled

Expected results:
Can enable repositories

Actions

Also available in: Atom PDF