Bug 1851167

Summary: Autoattach -> "undefined" subscription added
Product: Red Hat Satellite Reporter: Lukáš Hellebrandt <lhellebr>
Component: Subscription ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Cole Higgins <chiggins>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: jturel
Target Milestone: 6.8.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 13:03:32 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:
Attachments:
Description Flags
foreman-tail.log none

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