Bug 1659649
Summary: | [RFE] Shorten or handle "410 Gone" errors rather than printing a page-long trace for each | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Dylan Gross <dgross> |
Component: | Subscription Management | Assignee: | Lucy Fu <lufu> |
Status: | CLOSED ERRATA | QA Contact: | Danny Synk <dsynk> |
Severity: | low | Docs Contact: | |
Priority: | high | ||
Version: | 6.4.0 | CC: | bkearney, chrobert, dchaudha, dsynk, khowell, mmccune, momran, mshimura, pcreech, satellite6-bugs |
Target Milestone: | 6.11.0 | Keywords: | EasyFix, FutureFeature, Reopened, Triaged |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-katello-4.3.0.39-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-07-05 14:27:51 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dylan Gross
2018-12-14 21:41:48 UTC
If someone were to delete the Content Host from the Satellite itself, and the Content Host makes another yum call, it will generate a very eloquent message like this: -------------------------------- 2018-12-14T14:43:47 [I|app|] Started GET "/rhsm/consumers/1c38a940-d849-466e-91ee-169561409fc4/certificates/serials" for 192.168.1.7 at 2018-12-14 14:43:47 -0500 2018-12-14T14:43:47 [I|app|d3886] Processing by Katello::Api::Rhsm::CandlepinProxiesController#serials as JSON 2018-12-14T14:43:47 [I|app|d3886] Parameters: {"id"=>"1c38a940-d849-466e-91ee-169561409fc4"} 2018-12-14T14:43:47 [I|app|d3886] Current user: foreman_admin (administrator) 2018-12-14T14:43:47 [E|app|d3886] RestClient::Gone: Katello::Resources::Candlepin::Consumer: 410 Gone {"displayMessage":"Unit 1c38a940-d849-466e-91ee-169561409fc4 has been deleted","requestUuid":"a537b59e-7ee7-4251-947f-27c964b73909","deletedId":"1c38a940-d849-466e-91ee-169561409fc4"} (GET /candlepin/consumers/1c38a940-d849-466e-91ee-169561409fc4) Body: {"displayMessage":"Unit 1c38a940-d849-466e-91ee-169561409fc4 has been deleted","requestUuid":"a537b59e-7ee7-4251-947f-27c964b73909","deletedId":"1c38a940-d849-466e-91ee-169561409fc4"} ------------------------------ ... followed by 125 lines of backtrace ... ---------------------------- /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/abstract_response.rb:223:in `exception_with_response' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/abstract_response.rb:103:in `return!' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:809:in `process_result' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:725:in `block in transmit' /opt/rh/rh-ruby24/root/usr/share/ruby/net/http.rb:877:in `start' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:715:in `transmit' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:145:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:52:in `execute' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/resource.rb:51:in `get' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.42/app/lib/katello/http_resource.rb:84:in `get' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.42/app/lib/katello/resources/candlepin/consumer.rb:20:in `get' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.42/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb:312:in `block in find_host' /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:94:in `as' /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:100:in `as_anonymous_admin' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.42/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb:312:in `find_host' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:413:in `block in make_lambda' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:178:in `block (2 levels) in halting_and_conditional' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:179:in `block in halting_and_conditional' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:507:in `block in invoke_before' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:507:in `each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:507:in `invoke_before' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:106:in `block in run_callbacks' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.42/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb:35:in `repackage_message' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /usr/share/foreman/app/controllers/api/v2/base_controller.rb:162:in `disable_json_root' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /usr/share/foreman/app/controllers/concerns/application_shared.rb:15:in `set_timezone' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.7.0/lib/audited/sweeper.rb:14:in `around' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.7.0/lib/audited/sweeper.rb:14:in `around' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:135:in `run_callbacks' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb:19:in `process_action' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_controller/metal/rescue.rb:20:in `process_action' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/notifications.rb:166:in `block in instrument' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/notifications.rb:166:in `instrument' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_controller/metal/params_wrapper.rb:252:in `process_action' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.6/lib/active_record/railties/controller_runtime.rb:22:in `process_action' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.42/app/controllers/katello/concerns/api/api_controller.rb:39:in `process_action' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/abstract_controller/base.rb:124:in `process' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionview-5.1.6/lib/action_view/rendering.rb:30:in `process' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_controller/metal.rb:189:in `dispatch' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_controller/metal.rb:253:in `dispatch' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/routing/route_set.rb:49:in `dispatch' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/routing/route_set.rb:31:in `serve' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb:50:in `block in serve' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb:33:in `each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb:33:in `serve' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/routing/route_set.rb:844:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:522:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `public_send' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `method_missing' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/routing/mapper.rb:46:in `serve' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb:50:in `block in serve' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb:33:in `each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb:33:in `serve' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/routing/route_set.rb:844:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.7/lib/apipie/static_dispatcher.rb:65:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.7/lib/apipie/extractor/recorder.rb:136:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /usr/share/foreman/lib/middleware/telemetry.rb:9:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.7/lib/apipie/middleware/checksum_in_headers.rb:27:in `call' /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:8:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/etag.rb:25:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/conditional_get.rb:25:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/head.rb:12:in `call' /usr/share/foreman/lib/middleware/logging_context.rb:23:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:232:in `context' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:226:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/cookies.rb:613:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:97:in `run_callbacks' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/callbacks.rb:24:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/rack/logger.rb:36:in `call_app' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/rack/logger.rb:26:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/request_id.rb:25:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.42/lib/katello/prevent_json_parsing.rb:12:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.6/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/executor.rb:12:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call' /opt/theforeman/tfm/root/usr/share/gems/gems/secure_headers-5.0.5/lib/secure_headers/middleware.rb:13:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/engine.rb:522:in `call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `public_send' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.6/lib/rails/railtie.rb:185:in `method_missing' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:68:in `block in call' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `each' /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `call' /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' /opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context' 2018-12-14T14:43:47 [I|app|d3886] Rendering text template 2018-12-14T14:43:47 [I|app|d3886] Rendered text template (0.0ms) 2018-12-14T14:43:47 [I|app|d3886] Completed 410 Gone in 38ms (Views: 0.8ms | ActiveRecord: 10.1ms) -------------------------------------------------- ... for each API call. The single "yum" call I did for this example did two calls to the Satellite, resulting in all of the above, twice in two seconds. 2018-12-14T14:43:47 [I|app|] Started GET "/rhsm/consumers/1c38a940-d849-466e-91ee-169561409fc4/certificates/serials" for 192.168.144.193 at 2018-12-14 14:43:47 -0500 2018-12-14T14:43:49 [I|app|] Started GET "/rhsm/consumers/1c38a940-d849-466e-91ee-169561409fc4/certificates/serials" for 192.168.144.193 at 2018-12-14 14:43:49 -0500 (This comment really made me appreciate Bugzilla 5 and the non-fixed width comment size.) Reassigning component as log happens in Katello/Foreman. Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in one month's time. If you have any concerns about this, please contact your Red Hat Account team. Thank you. Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. If you have any concerns about this, please contact your Red Hat Account team. Thank you. Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact your Red Hat Account Team. Thank you. Created redmine issue https://projects.theforeman.org/issues/32726 from this bug Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32726 has been resolved. Failed QA on Satellite 6.11, snap 18 (katello-4.3.0-1.el8sat.noarch). Steps to Test: 1. Register a host to Satellite. 2. Delete the host using a bulk action on the Hosts > All Hosts page of the Satellite webUI. 3. Attempt to install a package on the host using yum while tailing /var/log/foreman/production.log on the Satellite. Expected Results: No large tracebacks follow the log entries reporting HTTP 410 Gone responses. Actual Results: Large tracebacks follow two of the log entries reporting HTTP 410 Gone responses. Notes: I spoke with @lufu about this. She noted that the fix suppressed the long traceback from candlepin_proxies_controller.rb reported above, but the tracebacks that I saw came from candlepin_dynflow_proxy_controller.rb. She provided me with code to suppress those tracebacks as well. I tested that code and it worked as expected, so I should be able to verify this BZ once the code is added to an upcoming snap. Moving to POST as the fix for the failed QA was merged upstream with https://github.com/Katello/katello/pull/10085. Verified on Satellite 6.11, snap 22, running on RHEL 8. Steps to Test: 1. Register a host to Satellite. 2. Delete the host using a bulk action on the Hosts > All Hosts page of the Satellite webUI 3. Attempt to install a package on the host using yum while tailing /var/log/foreman/production.log on the Satellite. Expected Results: No large tracebacks follow the log entries reporting HTTP 410 Gone responses. Actual Results: No large tracebacks follow the log entries reporting HTTP 410 Gone responses. Notes: Excerpt from /var/log/foreman/production.log during package installation: ``` 2022-05-26T17:02:34 [I|app|7bc6bc5a] Started GET "/rhsm/consumers/bf8d61fb-82c2-4609-9ff1-74b9a221dfde/certificates/serials" for [IP address] at 2022-05-26 17:02:34 -0400 2022-05-26T17:02:34 [I|app|7bc6bc5a] Processing by Katello::Api::Rhsm::CandlepinProxiesController#serials as JSON 2022-05-26T17:02:34 [I|app|7bc6bc5a] Parameters: {"id"=>"bf8d61fb-82c2-4609-9ff1-74b9a221dfde"} 2022-05-26T17:02:34 [E|app|7bc6bc5a] RestClient::Gone: Katello::Resources::Candlepin::Consumer: 410 Gone {"displayMessage":"Unit bf8d61fb-82c2-4609-9ff1-74b9a221dfde has been deleted","requestUuid":"65d4e2a3-9e53-4f94-b166-14a20ad64783","deletedId":"bf8d61fb-82c2-4609-9ff1-74b9a221dfde"} (GET /candlepin/consumers/bf8d61fb-82c2-4609-9ff1-74b9a221dfde) 7bc6bc5a | Body: {"displayMessage":"Unit bf8d61fb-82c2-4609-9ff1-74b9a221dfde has been deleted","requestUuid":"65d4e2a3-9e53-4f94-b166-14a20ad64783","deletedId":"bf8d61fb-82c2-4609-9ff1-74b9a221dfde"} 7bc6bc5a | 2022-05-26T17:02:34 [E|app|7bc6bc5a] /usr/share/gems/gems/katello-4.3.0.39/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb:306:in `block in find_host' 2022-05-26T17:02:34 [I|app|7bc6bc5a] Rendering text template 2022-05-26T17:02:34 [I|app|7bc6bc5a] Rendered text template (Duration: 0.0ms | Allocations: 1) 2022-05-26T17:02:34 [I|app|7bc6bc5a] Completed 410 Gone in 90ms (Views: 1.7ms | ActiveRecord: 3.5ms | Allocations: 4202) 2022-05-26T17:02:44 [I|app|be875285] Started GET "/notification_recipients" for [IP address] at 2022-05-26 17:02:44 -0400 2022-05-26T17:02:44 [I|app|be875285] Processing by NotificationRecipientsController#index as JSON 2022-05-26T17:02:44 [I|app|be875285] Completed 200 OK in 10ms (Views: 0.1ms | ActiveRecord: 1.4ms | Allocations: 2146) 2022-05-26T17:02:47 [I|app|ae2b4849] Started GET "/rhsm/status" for [IP address] at 2022-05-26 17:02:47 -0400 2022-05-26T17:02:47 [I|app|ae2b4849] Processing by Katello::Api::Rhsm::CandlepinProxiesController#server_status as JSON 2022-05-26T17:02:47 [I|app|ae2b4849] Completed 200 OK in 32ms (Views: 0.5ms | ActiveRecord: 1.9ms | Allocations: 2727) 2022-05-26T17:02:47 [I|app|e2136a5b] Started PUT "/rhsm/consumers/bf8d61fb-82c2-4609-9ff1-74b9a221dfde/profiles" for [IP address] at 2022-05-26 17:02:47 -0400 2022-05-26T17:02:47 [I|app|e2136a5b] Processing by Katello::Api::Rhsm::CandlepinDynflowProxyController#upload_profiles as JSON 2022-05-26T17:02:47 [I|app|e2136a5b] Parameters: {"id"=>"bf8d61fb-82c2-4609-9ff1-74b9a221dfde"} 2022-05-26T17:02:47 [E|app|e2136a5b] RestClient::Gone: Katello::Resources::Candlepin::Consumer: 410 Gone {"displayMessage":"Unit bf8d61fb-82c2-4609-9ff1-74b9a221dfde has been deleted","requestUuid":"db5a9dfe-8981-416f-853f-b1f0a0797438","deletedId":"bf8d61fb-82c2-4609-9ff1-74b9a221dfde"} (GET /candlepin/consumers/bf8d61fb-82c2-4609-9ff1-74b9a221dfde) e2136a5b | Body: {"displayMessage":"Unit bf8d61fb-82c2-4609-9ff1-74b9a221dfde has been deleted","requestUuid":"db5a9dfe-8981-416f-853f-b1f0a0797438","deletedId":"bf8d61fb-82c2-4609-9ff1-74b9a221dfde"} e2136a5b | 2022-05-26T17:02:47 [E|app|e2136a5b] /usr/share/gems/gems/katello-4.3.0.39/app/controllers/katello/api/rhsm/candlepin_dynflow_proxy_controller.rb:56:in `block in find_host' ``` Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5498 |