Bug 1818905

Summary: wrong/multiple product certs in the nightly compose RHEL-8.2.0-20200330.n.0
Product: Red Hat Enterprise Linux 8 Reporter: Shwetha Kallesh <skallesh>
Component: redhat-releaseAssignee: Buvanesh Kumar <bsivasub>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: jsefler, jstodola, lisas, pzatko
Target Milestone: rc   
Target Release: 8.0   
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: 2021-03-23 11:39:04 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:

Description Shwetha Kallesh 2020-03-30 16:49:13 UTC
Description of problem:
wrong/multiple product certs in the nightly compose RHEL-8.2.0-20200330.n.0

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
 HOSTNAME=kvm-08-guest10.hv2.lab.eng.bos.redhat.com
                            JOBID=4165867
                         RECIPEID=8077027
                    RESULT_SERVER=
                           DISTRO=RHEL-8.2.0-20200330.n.0
                     ARCHITECTURE=x86_64
 
      Job Whiteboard: Reserve Workflow provision of distro RHEL-8.2.0-20200330.n.0 on any system for 356400 seconds
 
      Recipe Whiteboard:
**  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **
[root@kvm-08-guest10 ~]# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux for x86_64 High Touch Beta
Product ID:     230
Version:        8.2 HTB
Arch:           x86_64
Status:         Unknown
Status Details:
Starts:        
Ends:          
 
Product Name:   Red Hat Enterprise Linux for x86_64
Product ID:     479
Version:        8.2
Arch:           x86_64
Status:         Unknown
Status Details:
Starts:        
Ends:          
 
[root@kvm-08-guest10 ~]#
[root@kvm-08-guest10 ~]#
[root@kvm-08-guest10 ~]# cat /var/lib/rhsm/productid.js
{
  "479": [
    "beaker-AppStream",
    "beaker-BaseOS"
  ]
}
 
[root@kvm-08-guest10 ~]# ls /etc/pki/product-default/
230.pem
 
[root@kvm-08-guest10 ~]# ls /etc/pki/product/
479.pem
 
[root@kvm-08-guest10 ~]# rpm -q --whatprovides /etc/pki/product-default/230.pem
redhat-release-8.2-0.9.el8.x86_64

Actual results:
230.pem in /etc/pki/product-default dir

Expected results:
479.pem in /etc/pki/product-default dir


Additional info:

Comment 1 John Sefler 2020-04-01 16:33:13 UTC
This appears fixed in the RHEL-8.2.0-RC-1.0 / RHEL-8.2.0-20200331.0 compose...

**  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **

      Beaker Test information:
                         HOSTNAME=kvm-06-guest11.hv2.lab.eng.bos.redhat.com
                            JOBID=4170481
                         RECIPEID=8085693
                    RESULT_SERVER=
                           DISTRO=RHEL-8.2.0-20200331.0
                     ARCHITECTURE=x86_64

      Job Whiteboard:  RHEL-8.2.0-20200331.0 BaseOS x86_64 

      Recipe Whiteboard: 
**  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **
[root@kvm-06-guest11 ~]# subscription-manager list --installed
+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Red Hat Enterprise Linux for x86_64
Product ID:     479
Version:        8.2
Arch:           x86_64
Status:         Unknown
Status Details: 
Starts:         
Ends:           

[root@kvm-06-guest11 ~]# rpm -q --whatprovides /etc/pki/product-default/479.pem 
redhat-release-8.2-1.0.el8.x86_64