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.
Description of problem: ScanCDN task ('Actions::Katello::RepositorySet::ScanCdn') does not provide reliable output. Version-Release number of selected component (if applicable): katello-3.16.0-1.el7sat.noarch How reproducible: All the time Steps to Reproduce: Install Satellite 6.8 according to official documentation. Select the Red Hat Repositories page Select one or more products to have their repositories loaded This is sometimes reporting 'no repositories available', partial list of repos or full list of repos. Alternatively using redhat.satellite ansible collection to configure Satellite 6.8 is generating the ScanCDN which are not reliable and thus the ansbile tasks are failing. Actual results: Raw output: { "results": [] } Expected results: Raw output: { "results": [ { "substitutions": { "releasever": "7.0", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.0/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.0", "pulp_id": "d8db98e0-62b3-486a-acd9-aa60fcc61042", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7.1", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.1/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.1", "pulp_id": "4b812c0f-4198-435f-885d-041a5d5c3a9c", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7.2", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.2/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.2", "pulp_id": "b1f93056-3b2f-494c-878f-b0706e4c5488", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7.4", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.4/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.4", "pulp_id": "b738795f-9826-4161-99f6-3267e8708fb4", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7.5", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.5/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.5", "pulp_id": "541f9330-32d1-4a4d-9521-acebf1b73eb8", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7.6", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.6/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.6", "pulp_id": "b25d81b6-405a-4b37-8e5f-1808ea4fd93c", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7.7", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.7/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.7", "pulp_id": "3b419e18-55de-470a-9b94-fbfbdb64149e", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7.8", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.8/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.8", "pulp_id": "607f0559-47b5-40ff-b634-fe67b868369e", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7Server", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7Server/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server", "pulp_id": "983a3943-92b3-4697-9a4f-aaec557fc290", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": true, "promoted": false, "repository_id": 1 } ] } Additional info: Below are two raw outputs of Actions::Katello::RepositorySet::ScanCdn. The input is the same and output is sometimes missing completely, sometime is just partial, sometime I get the full expected ouput. Id:a4552b69-3c60-4d27-9591-425c81df2364 Label:Actions::Katello::RepositorySet::ScanCdn Duration:5 seconds Raw input: { "product_id": 138, "content_id": "2456", "remote_user": "admin", "remote_cp_user": "admin", "current_request_id": null, "current_timezone": "UTC", "current_user_id": 4, "current_organization_id": 1, "current_location_id": null } Raw output: { "results": [] } External Id:3fa93028-3a75-4e7e-8d80-0fc3b2832581 Id:d177a57d-472c-4a2f-886c-435ab85fa31b Label:Actions::Katello::RepositorySet::ScanCdn Duration:6 seconds Raw input: { "product_id": 138, "content_id": "2456", "remote_user": "admin", "remote_cp_user": "admin", "current_request_id": null, "current_timezone": "UTC", "current_user_id": 4, "current_organization_id": 1, "current_location_id": null } Raw output: { "results": [ { "substitutions": { "releasever": "7.0", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.0/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.0", "pulp_id": "d8db98e0-62b3-486a-acd9-aa60fcc61042", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7.1", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.1/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.1", "pulp_id": "4b812c0f-4198-435f-885d-041a5d5c3a9c", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7.2", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.2/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.2", "pulp_id": "b1f93056-3b2f-494c-878f-b0706e4c5488", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7.4", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.4/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.4", "pulp_id": "b738795f-9826-4161-99f6-3267e8708fb4", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7.5", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.5/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.5", "pulp_id": "541f9330-32d1-4a4d-9521-acebf1b73eb8", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7.6", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.6/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.6", "pulp_id": "b25d81b6-405a-4b37-8e5f-1808ea4fd93c", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7.7", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.7/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.7", "pulp_id": "3b419e18-55de-470a-9b94-fbfbdb64149e", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7.8", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7.8/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7.8", "pulp_id": "607f0559-47b5-40ff-b634-fe67b868369e", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": false, "promoted": false, "repository_id": null }, { "substitutions": { "releasever": "7Server", "basearch": "x86_64" }, "path": "/content/dist/rhel/server/7/7Server/x86_64/os", "repo_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server", "pulp_id": "983a3943-92b3-4697-9a4f-aaec557fc290", "name": "Red Hat Enterprise Linux 7 Server (RPMs)", "enabled": true, "promoted": false, "repository_id": 1 } ] } External Id:5080001e-b682-4cb6-a9cf-822db7641e25