Upgrade to katello 15 - pulp3 status failed (404)

pulp3 status is fail in the “Backend system status”,
The command “foreman-maintain advanced procedure run content-prepare” fail
Create a repo from UI fail because of the setting ‘Check services before actions’ i guess…

Expected outcome:
pulp3 status OK

Foreman and Proxy versions:
latest stable:

Distribution and version:
CentOS 7 uptodate

Other relevant data:
foreman-rake katello:check_ping
Tasks: TOP => katello:pulp3_migration => katello:check_ping
:pulp3=>{:status=>“FAIL”, :message=>“404 Not Found”}},

The URL seems to be malformated (apache log):
“GET /pulp/api/v3//status HTTP/1.1” 404 77 " in the httpd log foreman-ssl_access_ssl.log

I i try with a Curl, with only one ‘/’ in the URL, i have the good response from the pulp API…

The involved code seems to be in smart_proxy_extensions.rb but i can’t found why this happened :confused:

I have tried the migration before with a test server without issue, i don’t find any difference in the yaml files in /etc/foreman …

Anyone know how this URL is formed?
Thanks for your help!

additional details:
‘foreman-installer --scenario katello --upgrade’ > Success

Thanks for letting us know about this. I’m not sure about the URL construction. @sajha does this look familiar to you, or any ideas on next steps?

Hello @ttherouanne,

Thanks for bringing this to our notice. We have the fix for this as part of Bug #29449: Minor fixes for developing for pulp3 - Katello - Foreman that is part of 3.16.
I do think it makes sense to cherry-pick this into 3.15. I will un-triage the bug and discuss within the team and get their thoughts on this in 3.15.2.

1 Like

Until version 3.15.2, I disable the parameter ‘Check services before actions’.
Everything seems to work (except the Pulp3 check)
Thanks you