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
Updated by Lucy Fu almost 2 years ago
- Category set to Hosts
- Target version set to Katello 4.9.0
- Triaged changed from No to Yes
Updated by Lucy Fu almost 2 years ago
- Target version changed from Katello 4.9.0 to Katello 4.10.0
Updated by Samir Jha almost 2 years ago
- Status changed from New to Need more information
Hi Lester,
Are you using the new host UI for updating content source. Does this also happen via hammer host update? `hammer host update --content-source-id=$Smart_proxy_id --id=$host_id`
Updated by Lester Cheung almost 2 years ago
Samir Jha wrote:
Hi Lester,
Are you using the new host UI for updating content source. Does this also happen via hammer host update? `hammer host update --content-source-id=$Smart_proxy_id --id=$host_id`
Hi Samir,
Yes I was using the new host UI. I have not tried using the hammer cli and unfotunately I am unable to do so now since the machine has been rebuilt.
I'll see if I can reproduce this in my test setup on the weekend and get back to you.
Thanks.
Updated by Ian Ballou over 1 year ago
- Target version changed from Katello 4.10.0 to Katello 4.11.0
- Triaged changed from Yes to No
Hi Lester, any luck reproducing the issue?
Updated by Chris Roberts over 1 year ago
- Status changed from Need more information to Rejected
- Target version deleted (
Katello 4.11.0)
Hi Lester,
We are closing this out here, if you need further help open a thread at the Foreman Community Discorse at https://community.theforeman.org