Project

General

Profile

Actions

Bug #36431

closed

Can't change host content source after deleting smart proxy

Added by Lester Cheung 11 months ago. Updated 8 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Hosts
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Lucy Fu 11 months ago

  • Category set to Hosts
  • Target version set to Katello 4.9.0
  • Triaged changed from No to Yes
Actions #2

Updated by Lucy Fu 11 months ago

  • Tracker changed from Support to Bug
Actions #3

Updated by Lucy Fu 11 months ago

  • Target version changed from Katello 4.9.0 to Katello 4.10.0
Actions #4

Updated by Samir Jha 10 months 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`

Actions #5

Updated by Lester Cheung 10 months 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.

Actions #6

Updated by Ian Ballou 8 months 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?

Actions #7

Updated by Chris Roberts 8 months 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

Actions #8

Updated by Chris Roberts 8 months ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF