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.
Bug 2066899 - After IP change on Tues Mar 22 Satellite manifest tasks fail with 'could not initialize proxy [org.candlepin.model.UpstreamConsumer#XXXXX] - no Session'
Summary: After IP change on Tues Mar 22 Satellite manifest tasks fail with 'could not ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Candlepin
Version: 6.10.4
Hardware: All
OS: All
urgent
urgent
Target Milestone: 6.11.0
Assignee: satellite6-bugs
QA Contact: Lai
URL:
Whiteboard:
Depends On: 2069129 2069132 2069136 2069139
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-22 17:56 UTC by Paul Dudley
Modified: 2022-08-04 20:58 UTC (History)
7 users (show)

Fixed In Version: candlepin-3.1.28-4, candlepin-4.0.17-1, candlepin-4.1.12-1, candlepin-4.2.1-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2069129 2069132 2069136 2069139 (view as bug list)
Environment:
Last Closed: 2022-07-05 14:34:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ENT-4853 0 None None None 2022-03-28 11:41:58 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:35:03 UTC

Description Paul Dudley 2022-03-22 17:56:34 UTC
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'"
...
~~~

Comment 3 Paul Dudley 2022-03-22 21:10:13 UTC
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.

Comment 4 Paul Dudley 2022-03-23 20:04:39 UTC
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.

Comment 6 Lai 2022-04-27 21:11:40 UTC
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

Comment 10 errata-xmlrpc 2022-07-05 14:34:49 UTC
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


Note You need to log in before you can comment on or make changes to this bug.