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 1851167 - Autoattach -> "undefined" subscription added
Summary: Autoattach -> "undefined" subscription added
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.8.0
Assignee: satellite6-bugs
QA Contact: Cole Higgins
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-25 16:55 UTC by Lukáš Hellebrandt
Modified: 2020-10-27 13:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 13:03:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
foreman-tail.log (138.13 KB, text/plain)
2020-06-25 16:55 UTC, Lukáš Hellebrandt
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:03:53 UTC

Description Lukáš Hellebrandt 2020-06-25 16:55:39 UTC
Created attachment 1698815 [details]
foreman-tail.log

Description of problem:
When I register a system through subscription-manager and run autoattach, the host gets attached subscription "undefined" with "undefined out of undefined" attached subscriptions.

Version-Release number of selected component (if applicable):
Sat 6.8 snap 6.0.

How reproducible:
Always on my setup. I can provide my manifest if needed.

Steps to Reproduce:
1. # subscription-manager register
2. # subscription-manager auto-attach
3. WebUI -> Hosts -> All Hosts -> <host> -> Content -> Subscriptions

Actual results:
Subscription "undefined"

Expected results:
Correct subscriptions attached

Additional info:
No repository sets are made available through this subscription

Comment 1 Lukáš Hellebrandt 2020-06-25 17:19:58 UTC
May be caused by bug 1851180

Comment 2 Jonathon Turel 2020-07-13 12:47:27 UTC
Hey Lukáš,

Can you see if this has been resolved in the latest snap? I think it is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1851180 as you mentioned

Comment 3 Lukáš Hellebrandt 2020-07-13 13:56:18 UTC
I can confirm this bug has been fixed in snap 8.0. Flip it to ON_QA and I'll verify it straight away.

Comment 4 Lukáš Hellebrandt 2020-07-13 15:05:40 UTC
Verified with Sat 6.8 snap 8.0 using reproducer from OP.

Comment 7 errata-xmlrpc 2020-10-27 13:03:32 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 (Important: Satellite 6.8 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-2020:4366


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