Bug #36431
closedCan't change host content source after deleting smart proxy
Description
Hello,
First bug report - please let me know if I have missed any details.
I have deleted our first foreman proxy with the katello plugin installed from the webUI and after that we cannot change host content source from the UI. We got the following error popup in the UI:
Something went wrong while loading the Smart Proxy. See the logs for more information
... and in the log I see:
2023-05-24T03:09:21 [I|app|3c0a18f5] Started GET "/katello/api/capsules/4" for 10.225.5.88 at 2023-05-24 03:09:21 +0000
2023-05-24T03:09:21 [I|app|3c0a18f5] Processing by Katello::Api::V2::CapsulesController#show as JSON
2023-05-24T03:09:21 [I|app|3c0a18f5] Parameters: {"api_version"=>"v2", "id"=>"4"}
2023-05-24T03:09:21 [I|app|3c0a18f5] ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound)
2023-05-24T03:09:21 [I|app|3c0a18f5] Rendered api/v2/errors/not_found.json.rabl within api/v2/layouts/error_layout (Duration: 3.0ms | Allocations: 2597)
2023-05-24T03:09:21 [I|app|3c0a18f5] Rendered layout api/v2/layouts/error_layout.json.erb (Duration: 4.3ms | Allocations: 5131)
2023-05-24T03:09:21 [I|app|3c0a18f5] Completed 404 Not Found in 58ms (Views: 4.9ms | ActiveRecord: 7.6ms | Allocations: 30636)
I'm not sure if this is a bug since I have not found any instructions to remove smart proxies but I had to do it because the proxy was abandoned with an expired SSL cert and I couldn't install new plugins via foreman-installer with that configured.
I'm running the following versions:- foreman-3.5.3-1.el8.noarch
- katello-4.7.5-1.el8.noarch
Any help would be appreciated.
Regards,
Lester