Bug #31613
Sync status page cannot be displayed
Description
On a brand new install, when I attempt to view sync status at https://example.hostname.com/katello/sync_management, I get the error:
We're sorry, but something went wrong.
If you are the application owner check the logs for more information.
In production.log, I get the error:
2021-01-12T18:12:04 [E|kat|c92a4ace] POST: https://localhost/pulp/api/v2/repositories/search/: {"criteria":{"filters":{"id":{"$in":["8feb88b9-3c61-4256-bb2f-870fffc992cc","638eac59-a817-47db-8e2c-3f3af5b360d9","86eacda5-4e0a-4287-b79a-bc24c67b21a6","ad42fc45-e369-457a-88d2-0bf8879e7f30","c229c2eb-fd17-4946-9a31-bb29bc15b686","f4dae3e9-5c9d-47c1-9632-1f40ac747104","6684255b-903e-4e93-ad98-5a4ff0fa60c0","b4accfe4-fb3f-4235-a08f-2bd83d2daeb9","02fb0d92-3725-486d-aae3-417c641fde0c","6710e202-10d4-4e70-af04-a98840779587","a6fbca0e-8ea8-4347-9ca7-63887a3d0bdf","40f84b7c-1272-47f2-80fc-13e7230191ad","1-testing-Library-6684255b-903e-4e93-ad98-5a4ff0fa60c0","1-testing-Library-40f84b7c-1272-47f2-80fc-13e7230191ad","1-testing-Library-ad42fc45-e369-457a-88d2-0bf8879e7f30","1-testing-Library-c229c2eb-fd17-4946-9a31-bb29bc15b686","b977fb54-0b44-4887-9a47-2ceb0ee1b7a8","c813dbf8-a3ae-45fb-9857-7e202e6b8281","b874e055-9dca-474c-bd15-c6882645cb8c","466f86cd-016d-48f7-8e50-aa2ec29c5fd6","d81f04c9-4114-4236-b40d-c6b2e7fc18c4","c6e2fa68-6960-41c8-bbc7-916b50731991","d29793ba-7f78-49bc-92a5-7a9eae1c1076","94da4848-572c-4ecf-b43c-8a14d92b4dc5","aeb8aff4-4515-4063-accd-6f67dd4b384a"]}}}}: {"content_type"=>"application/json", "accept"=>"application/json"}
c92a4ace | SSL_connect returned=1 errno=0 state=error: certificate verify failed (unspecified certificate verification error):
2021-01-12T18:12:04 [W|app|c92a4ace] SSL_connect returned=1 errno=0 state=error: certificate verify failed (unspecified certificate verification error)
2021-01-12T18:12:04 [I|app|c92a4ace] Backtrace for 'SSL_connect returned=1 errno=0 state=error: certificate verify failed (unspecified certificate verification error)' error (RestClient::SSLCertificateNotVerified): SSL_connect returned=1 errno=0 state=error: certificate verify failed (unspecified certificate verification error)
If I then edit /etc/foreman/plugins/katello.yaml and add:
:pulp:
:url: https://example.hostname.com/pulp/api/v2/
The error then changes to:
2021-01-12T18:34:30 [I|kat|63b927a0] POST: https://example.hostname.com/pulp/api/v2/repositories/search/: {"criteria":{"filters":{"id":{"$in":["8feb88b9-3c61-4256-bb2f-870fffc992cc","638eac59-a817-47db-8e2c-3f3af5b360d9","86eacda5-4e0a-4287-b79a-bc24c67b21a6","ad42fc45-e369-457a-88d2-0bf8879e7f30","c229c2eb-fd17-4946-9a31-bb29bc15b686","f4dae3e9-5c9d-47c1-9632-1f40ac747104","6684255b-903e-4e93-ad98-5a4ff0fa60c0","b4accfe4-fb3f-4235-a08f-2bd83d2daeb9","02fb0d92-3725-486d-aae3-417c641fde0c","6710e202-10d4-4e70-af04-a98840779587","a6fbca0e-8ea8-4347-9ca7-63887a3d0bdf","40f84b7c-1272-47f2-80fc-13e7230191ad","1-testing-Library-6684255b-903e-4e93-ad98-5a4ff0fa60c0","1-testing-Library-40f84b7c-1272-47f2-80fc-13e7230191ad","1-testing-Library-ad42fc45-e369-457a-88d2-0bf8879e7f30","1-testing-Library-c229c2eb-fd17-4946-9a31-bb29bc15b686","b977fb54-0b44-4887-9a47-2ceb0ee1b7a8","c813dbf8-a3ae-45fb-9857-7e202e6b8281","b874e055-9dca-474c-bd15-c6882645cb8c","466f86cd-016d-48f7-8e50-aa2ec29c5fd6","d81f04c9-4114-4236-b40d-c6b2e7fc18c4","c6e2fa68-6960-41c8-bbc7-916b50731991","d29793ba-7f78-49bc-92a5-7a9eae1c1076","94da4848-572c-4ecf-b43c-8a14d92b4dc5","aeb8aff4-4515-4063-accd-6f67dd4b384a"]}}}}: {"content_type"=>"application/json", "accept"=>"application/json"}
63b927a0 | 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
The same is true if I update the URL to v3 and this appears to be because the v3 API does not have these options any longer: https://docs.pulpproject.org/pulpcore/restapi.html#tag/Repositories:-File
Versions:
katello-3.18.1-1.el8.noarch
foreman-2.3.1-1.el8.noarch
python3-pulpcore-3.7.3-1.el8.noarch
History
#1
Updated by Jonathon Turel over 1 year ago
- Triaged changed from No to Yes
- Target version set to Katello 3.18.2
- Status changed from New to Need more information
To clarify - was the 'pulp' configuration missing from the katello.yml before you edited it ?
It'd be interesting to see the output of production.log when you access that page - which you can attach here.
Thanks!
#2
Updated by James Jeffers over 1 year ago
Forum discussion at https://community.theforeman.org/t/sync-status-page-cannot-be-displayed/21953.
#3
Updated by Jonathon Turel over 1 year ago
- Target version deleted (
Katello 3.18.2) - Status changed from Need more information to Duplicate
Since there's an open discourse thread on the reported problem (and it seems to be related to EL8 which we don't officially support yet) I am going to close this out