Bug 1320487

Summary: Registering a RHEL72 Host with "Employee SKU" subscription: Red Hat Enterprise Linux 7 Public Beta: - Not supported by a valid subscription.
Product: Red Hat Satellite Reporter: jtudelag
Component: Subscription ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.1.7CC: zsvetlik
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-10 06:44:57 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:

Description jtudelag 2016-03-23 10:43:54 UTC
Description of problem:

*All the servers mentioned here ar virtual machines running on our OS1 platform.
*Tehere is no beta packages installed: sudo rpm -qa | grep -i beta

I have a RHEL7.2 hosts system that I want to register against a Sat 6.1.7, with an "Employee SKU" subscription.

I have an ActivationKey where I only expose "Red Hat Enterprise Linux 7 Server (RPMs)" and "Red Hat Satellite Tools 6.1 (for RHEL 7 Server) (RPMs)" repositories.

After that, the subscription status is the invalid:

 sudo subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Invalid

Red Hat Enterprise Linux 7 Public Beta:
- Not supported by a valid subscription.

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

Satellite Server: Satellite 6.1.7 on RHEL 7.2
Host Server: RHEL 7.2

How reproducible:

Register  RHEL7.2 Host server against Satellite 6.1.7 with "Employee SKU" subscription.

Steps to Reproduce:
1.sudo subscription-manager clean
2.sudo subscription-manager register --org "MyOrg" --activationkey "AK1" --force 
3.sudo subscription-manager status

Actual results:

sudo subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Invalid

Red Hat Enterprise Linux 7 Public Beta:
- Not supported by a valid subscription.


Expected results:

sudo subscription-manager status
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
Overall Status: Current


Additional info:

Doing the same operation/steps on a RHEL 7.0 Host systems, works perfectly well.

Comment 1 Zuzana Svetlikova 2016-05-10 05:29:01 UTC
This seems to fix the problem (from https://bugzilla.redhat.com/show_bug.cgi?id=1298655):

As this is a RHEL 7.2 vm, we can copy the /correct/ certificate from /etc/pki/product-default/69.pem to /etc/pki/product. This would remediate the issue above at runtime.

Alternatively, to fix the base image (until such time a corrected image is posted on the portal), one can use guestfish (provided by the libguests-tools package)

Comment 2 jtudelag 2016-05-10 06:43:50 UTC
Thanks Zuzana,

I will do that.
I will close the bug then.

Regards,

Jorge.

Comment 3 jtudelag 2016-05-10 06:44:57 UTC
Not a bug iteself, just that the OS1 RHEL 7.2 image is not properly created.