Actions
Bug #30832
closedKatello on EL8 uses Pulp2 for consumer related tasks (like profile uploads)
Difficulty:
Triaged:
Yes
Description
Not exactly sure this is Katello or Installer fault, filing for Katello for now.
I was toying around with Katello on EL8 (Pulp3 only) and was irritated by the fact that it tried to upload consumer profiles to Pulp2 (which obviously fails).
My /etc/foreman/plugins/katello.yaml
contains
:pulp: :url: https://pipeline-katello-server-nightly-centos8.kangae.example.com/pulp/api/v2/ :ca_cert_file: /etc/pki/katello/certs/katello-server-ca.crt
So it might very well be an installer issue.
And the logs are full of:
2020-09-14T07:46:00 [I|kat|] GET: https://pipeline-katello-server-nightly-centos8.kangae.example.com/pulp/api/v2/consumers/: {"content_type"=>"application/json", "accept"=>"application/json"} 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /pulp/api/v2/consumers/ was not found on this server.</p> </body></html> 2020-09-14T07:46:00 [W|app|] Failed upgrade task: katello:clean_backend_objects 2020-09-14T07:46:00 [I|app|] Backtrace for 'Failed upgrade task: katello:clean_backend_objects' error (RestClient::NotFound): 404 Not Found … 2020-09-14T07:46:00 [I|kat|] GET: https://pipeline-katello-server-nightly-centos8.kangae.example.com/pulp/api/v2/events/: {"content_type"=>"application/json", "accept"=>"application/json"} 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /pulp/api/v2/events/ was not found on this server.</p> </body></html> 2020-09-14T07:46:00 [I|kat|] POST: https://pipeline-katello-server-nightly-centos8.kangae.example.com/pulp/api/v2/content/units/rpm/search/: {"criteria":{"fields":[],"limit":2000,"skip":0,"filters":{"is_modular":{"$eq":true}}}}: {"content_type"=>"application/json", "accept"=>"application/json"} 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /pulp/api/v2/content/units/rpm/search/ was not found on this server.</p> </body></html> … 2020-09-14T08:06:35 [I|kat|] POST: https://pipeline-katello-server-nightly-centos8.kangae.example.com/pulp/api/v2/consumers/780c6647-2f44-448c-9db3-06f9136792d8/profiles//: {"content_type":"rpm","profile":[ … 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /pulp/api/v2/consumers/780c6647-2f44-448c-9db3-06f9136792d8/profiles/ was not found on this server.</p> </body></html> 2020-09-14T08:06:35 [W|app|] Host with ID 2 was not known to Pulp, continuing
Actions