Bug 1454352

Summary: errata applicability are not regenerated on re-registered client (with the same repos)
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: Errata ManagementAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: bbuckingham, bkearney, brubisch, jcallaha, jsherril, mmccune, zhunting
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: katello-3.4.2 tfm-rubygem-katello-3.0.0.138 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1463818 (view as bug list) Environment:
Last Closed: 2017-08-10 17:02:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1445403, 1463809    

Description Justin Sherrill 2017-05-22 14:21:23 UTC
1.  Create a product
2.  Create a repo with some errata that can be applicable
3.  Register a system and assign the product with errata, run sub-man refresh, yum repolist
4.  Notice errata are applicable
5.  re-register the client using 'subscription-manger register --force'
6.  Assign it to the same product
7.  run sub-man refresh adn yum repolist
8.  errata do not show up

Comment 1 Justin Sherrill 2017-05-22 14:21:27 UTC
Created from redmine issue http://projects.theforeman.org/issues/19605

Comment 2 Justin Sherrill 2017-05-22 14:21:32 UTC
Upstream bug assigned to jsherril

Comment 3 Justin Sherrill 2017-05-22 14:25:03 UTC
This is needed for 6.2.11 as it is exposed by https://bugzilla.redhat.com/show_bug.cgi?id=1445403

Comment 4 Satellite Program 2017-05-22 20:13:40 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/19605 has been resolved.

Comment 8 jcallaha 2017-07-20 18:24:29 UTC
Verified in Satellite 6.2.11 Snap 1

I followed the steps outlined in the initial report. After the intial registration and errata applicability, the content host had a total of 387 errata install-able. After the force re-registration and subsequent errata process, the host still had all 387 available.

Comment 10 errata-xmlrpc 2017-08-10 17:02:29 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, 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/RHBA-2017:2466