Project

General

Profile

Actions

Bug #29460

closed

RH repos not shown in Content -> Red Hat Repositories -> Recommended Repositories

Added by Jan Hutař about 4 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

katello-3.16.0-0.2.master.el7.noarch

Steps to reproduce:
1. Upload subscription manifest so in Content -> Subscriptions I can see these subs:
Employee SKU Physical ES0113909 10913844 2016-03-24 05:00:00 +0100 2022-01-01 05:59:59 +0100 0 50000
Red Hat Satellite Infrastructure Subscription Physical MCT3718 11972528 2019-08-15 06:00:00 +0200 2020-08-15 05:59:59 +0200 0 100
2. Go to Content -> Red Hat Repositories and enable Recommended Repositories
3. Unfold "Red Hat Enterprise Linux 6 Server (RPMs)" or "Red Hat Enterprise Linux 7 Server (RPMs)" or "Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)"

It shows "No repositories available." for all of them. This is what foreman-tail shows when I unfold it:

[...]
> /var/log/messages <
Apr 2 10:17:49 katello dynflow-sidekiq@worker: 2020-04-02T14:17:49.092Z 5753 TID-2iks6t Dynflow::Executors::Sidekiq::WorkerJobs::PerformWork JID-5f8a18c54402691b46fc0b0a INFO: start

> /var/log/foreman/production.log <
2020-04-02T10:17:48 [I|app|c040690e] Started GET "/katello/api/v2/products/121/repository_sets/2456/available_repositories" for 10.40.194.4 at 2020-04-02 10:17:48 -0400
2020-04-02T10:17:48 [I|app|c040690e] Processing by Katello::Api::V2::RepositorySetsController#available_repositories as JSON
2020-04-02T10:17:48 [I|app|c040690e] Parameters: {"api_version"=>"v2", "product_id"=>"121", "id"=>"2456"}
2020-04-02T10:17:48 [I|bac|c040690e] Task {label: Actions::Katello::RepositorySet::ScanCdn, id: 23d794ec-07e5-4cda-a3cf-05843d0ffeb3, execution_plan_id: ac16ecc5-f098-44e2-8207-19ea910088ed} state changed: planning
2020-04-02T10:17:49 [I|bac|] Task {label: Actions::Katello::RepositorySet::ScanCdn, id: 23d794ec-07e5-4cda-a3cf-05843d0ffeb3, execution_plan_id: ac16ecc5-f098-44e2-8207-19ea910088ed} state changed: planned
2020-04-02T10:17:49 [I|bac|] Task {label: Actions::Katello::RepositorySet::ScanCdn, id: 23d794ec-07e5-4cda-a3cf-05843d0ffeb3, execution_plan_id: ac16ecc5-f098-44e2-8207-19ea910088ed} state changed: running > /var/log/messages <
Apr 2 10:17:51 katello dynflow-sidekiq@worker: 2020-04-02T14:17:51.448Z 5753 TID-2iks6t Dynflow::Executors::Sidekiq::WorkerJobs::PerformWork JID-5f8a18c54402691b46fc0b0a INFO: done: 2.357 sec
Apr 2 10:17:51 katello dynflow-sidekiq@orchestrator: 2020-04-02T14:17:51.449Z 5030 TID-276kfa Dynflow::Executors::Sidekiq::OrchestratorJobs::WorkerDone JID-051c3b5058e72f769499fa5a INFO: start
Apr 2 10:17:51 katello dynflow-sidekiq@orchestrator: 2020-04-02T14:17:51.450Z 5030 TID-276kfa Dynflow::Executors::Sidekiq::OrchestratorJobs::WorkerDone JID-051c3b5058e72f769499fa5a INFO: done: 0.001 sec > /var/log/httpd/foreman-ssl_access_ssl.log <
10.40.194.4 - - [02/Apr/2020:10:17:50 -0400] "GET /notification_recipients HTTP/1.1" 200 456 "https://10.16.159.59/redhat_repositories" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0"
10.40.194.4 - - [02/Apr/2020:10:17:48 -0400] "GET /katello/api/v2/products/121/repository_sets/2456/available_repositories HTTP/1.1" 200 100 "https://10.16.159.59/redhat_repositories" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" > /var/log/foreman/production.log <
2020-04-02T10:17:50 [I|app|af904e41] Started GET "/notification_recipients" for 10.40.194.4 at 2020-04-02 10:17:50 -0400
2020-04-02T10:17:50 [I|app|af904e41] Processing by NotificationRecipientsController#index as JSON
2020-04-02T10:17:50 [I|app|af904e41] Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 1.3ms)
2020-04-02T10:17:51 [I|bac|] Task {label: Actions::Katello::RepositorySet::ScanCdn, id: 23d794ec-07e5-4cda-a3cf-05843d0ffeb3, execution_plan_id: ac16ecc5-f098-44e2-8207-19ea910088ed} state changed: stopped result: success
2020-04-02T10:17:51 [I|bac|] Task {label: Actions::Katello::RepositorySet::ScanCdn, id: 23d794ec-07e5-4cda-a3cf-05843d0ffeb3, execution_plan_id: ac16ecc5-f098-44e2-8207-19ea910088ed} state changed: stopped result: success
2020-04-02T10:17:51 [I|app|] Rendering /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.pre.master/app/views/katello/api/v2/repository_sets/available_repositories.json.rabl within katello/api/v2/layouts/collection
2020-04-02T10:17:51 [I|app|] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.pre.master/app/views/katello/api/v2/repository_sets/available_repositories.json.rabl within katello/api/v2/layouts/collection (1.9ms)
2020-04-02T10:17:51 [I|app|] Completed 200 OK in 2607ms (Views: 4.3ms | ActiveRecord: 27.2ms) > /var/log/messages <
Apr 2 10:17:54 katello dynflow-sidekiq@worker: 2020-04-02T14:17:54.436Z 5753 TID-35xju5 INFO: Cleaning working queues
[...]
Actions #1

Updated by Jan Hutař about 4 years ago

  • Status changed from New to Rejected

OK, it worked for me now (different installation, most probably different manifest as well). I'm sorry for the mess!

Actions

Also available in: Atom PDF