After change noted at https://status.redhat.com/ for Mar 22 Satellite manifest refresh task fails with: ~~~ --- task: created: '2022-03-22T16:59:16+0000' updated: '2022-03-22T16:59:16+0000' id: 8a8d62617e73eca6017fb29188330793 name: Import Manifest group: origin: satellite.example.redhat.com executor: principal: foreman_admin state: CREATED previousState: CREATED startTime: endTime: attempts: 0 maxAttempts: 1 statusPath: "/jobs/8a8d62617e73eca6017fb29188330793" resultData: key: ImportJob poll_attempts: total: 3 failed: 3 Error: Katello::Errors::CandlepinError org.hibernate.LazyInitializationException: could not initialize proxy [org.candlepin.model.UpstreamConsumer#8a8d62617e62b62e017e62c006d00004] - no Session --- - "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.1.1.42/app/lib/actions/candlepin/abstract_async_task.rb:42:in `check_for_errors!'" - "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.1.1.42/app/lib/actions/candlepin/abstract_async_task.rb:36:in `poll_external_task'" - "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.9/lib/dynflow/action/polling.rb:100:in `poll_external_task_with_rescue'" - "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.9/lib/dynflow/action/polling.rb:22:in `run'" - "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.1.1.42/app/lib/actions/candlepin/abstract_async_task.rb:9:in `run'" - "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.9/lib/dynflow/action.rb:572:in `block (3 levels) in execute_run'" - "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.9/lib/dynflow/middleware/stack.rb:27:in `pass'" - "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.9/lib/dynflow/middleware.rb:19:in `pass'" - "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.1.1.42/app/lib/actions/middleware/keep_session_id.rb:11:in `block in run'" - "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.1.1.42/app/lib/actions/middleware/keep_session_id.rb:23:in `with_session_id'" ... ~~~
Issue has been resolved by reverting a change done in the portal at subscription.rhsm.redhat.com - more info at https://status.redhat.com/ - specifically https://status.redhat.com/incidents/17jjzhtpn942 Anyone still encountering this issue is encouraged to reach out to RH support here: https://access.redhat.com/support/contact/technicalSupport Marking bugzilla as closed.
Reopening BZ to ask that Satellite in the future be able to account for these issues, should they occur again. In such a case where subscription-manager can easily grab new certificates, Satellite should also be able to update it's manifest distributor certificates without intervention from the user.
steps to retest: 1. Import a manifest from stage 2. Delete manifest 3. Import manifest from prod environment Expected results: Import should be successful Actual: Import is successful I've also checked the candlepin log and see that there's no errors. Tested on 6.11_snap 18 with candlepin-4.1.12-1.el8sat.noarch on rhel8 and rhel7
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