Description of problem: Customer has new 6.11.2 satelliye that is seeing InventorySync::Async::InventoryScheduledSync fail on multiple occasions. The failures seem to be at random. Manual sync upload seems to work everytime. When the InventorySync::Async::InventoryScheduledSync fails, here is the error: Error: RestClient::Unauthorized 401 Unauthorized --- - "/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/abstract_response.rb:223:in `exception_with_response'" - "/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/abstract_response.rb:103:in `return!'" - "/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/request.rb:809:in `process_result'" - "/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/request.rb:725:in `block in transmit'" - "/usr/share/ruby/net/http.rb:933:in `start'" - "/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/request.rb:715:in `transmit'" - "/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/request.rb:145:in `execute'" - "/usr/share/gems/gems/rest-client-2.0.2/lib/restclient/request.rb:52:in `execute'" - "/usr/share/gems/gems/foreman_rh_cloud-5.0.41/app/services/foreman_rh_cloud/cloud_request.rb:11:in `execute_cloud_request'" ... ... ... Task export for the life of the server is attached. Sosreport in case.
Task export added. Hopefully you can correlate the timestamps of the failures with events on the back end.
*** Bug 2128115 has been marked as a duplicate of this bug. ***
*** Bug 2126319 has been marked as a duplicate of this bug. ***
Verified: Verified with: - Satellite 6.13.0 snap 5 - rubygem-foreman_rh_cloud-6.0.44-1.el8sat.noarch Test steps: - Register satellite content hosts with insights. - Check 'Wait and Inventory scheduled sync' on dynflow. Observations: - Random delay was added to the task.
*** Bug 2018879 has been marked as a duplicate of this bug. ***
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 (Important: Satellite 6.13 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-2023:2097
*** Bug 2104673 has been marked as a duplicate of this bug. ***