Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Error when trying to refresh features of the internal capsule
Version-Release number of selected component (if applicable):
foreman-3.3.0.15-1.el8sat.noarch
foreman-proxy-3.3.0-1.el8sat.noarch
satellite-6.12.0-3.el8sat.noarch
How reproducible:
100%
Steps to Reproduce:
1. go to https://satelite.example.com/smart_proxies
2. click "Refresh" from the "Actions" menu of the internal capsule
Actual results:
Error popup: Unable to communicate with the Capsule: undefined method `with_indifferent_access' for true:TrueClass, Please check the Capsule is configured and running on the host., Unable to communicate with the Capsule: undefined method `with_indifferent_access' for true:TrueClass, and Please check the Capsule is configured and running on the host.
production.log reads:
2022-09-29T08:50:57 [I|app|b6fd2a6a] Started PUT "/smart_proxies/1-sat-6-12-qa-rhel8-tanso-example-com/refresh" for 192.168.122.1 at 2022-09-29 08:50:57 +0000
2022-09-29T08:50:57 [I|app|b6fd2a6a] Processing by SmartProxiesController#refresh as HTML
2022-09-29T08:50:57 [I|app|b6fd2a6a] Parameters: {"authenticity_token"=>"DHzv6aA16DpCc3+uC6vziyN9yvZMulyEK7uut5ULUykDPT5YnH7gIutaT8NgzF97eIp9UeFD4RWeQ3UYUHQF+Q==", "id"=>"1-sat-6-12-qa-rhel8-tanso-example-com"}
2022-09-29T08:50:57 [E|app|b6fd2a6a] Failed to save: Unable to communicate with the Capsule: undefined method `with_indifferent_access' for true:TrueClass, Please check the Capsule is configured and running on the host., Unable to
communicate with the Capsule: undefined method `with_indifferent_access' for true:TrueClass, Please check the Capsule is configured and running on the host.
2022-09-29T08:50:57 [I|app|b6fd2a6a] Redirected to https://sat-6-12-qa-rhel8.tanso.example.com/smart_proxies
2022-09-29T08:50:57 [I|app|b6fd2a6a] Completed 302 Found in 61ms (ActiveRecord: 4.4ms | Allocations: 11363)
Expected results:
Success popup
Additional info:
I don't have an external to test
(In reply to Vladimír Sedmík from comment #2)
> I couldn't reproduce with snap 12 (internal and external) and snap 13
> (internal only). I can try with 13 external once I have one.
Yeah, I think something was wrong with my system. I also could not run Ansible jobs, it said the internal capsule would be down.
A reboot fixed both issues :shrug: