Bug 1415681

Summary: [Patch] disable subscription-manager also after client config rpm is installed
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: Satoru SATOH <ssato>
Component: ToolsAssignee: Martin Minar <mminar>
Status: CLOSED ERRATA QA Contact: Vratislav Hutsky <vhutsky>
Severity: high Docs Contact:
Priority: high    
Version: 3.0.0CC: bkearney, lwilliam, mminar, mverma
Target Milestone: 3.0.4   
Target Release: 3.0.x   
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: 2018-07-10 16:00:36 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
An experimental patch to disable subscription-manager after rhui client config rpm is installed none

Description Satoru SATOH 2017-01-23 12:23:31 UTC
Created attachment 1243575 [details]
An experimental patch to disable subscription-manager after rhui client config rpm is installed

Description of problem:
Currently, RHN classic yum plugin is disabled after installation of
RHUI client config rpm but subscription-manager is not although it
also needs to be disabled. So every time users run yum, an warning
is out to encourage users to register the client host with subscription-manager.
 
Version-Release number of selected component (if applicable): RHUI 3.0 Beta.2

How reproducible: Always

Steps to Reproduce:
1. Install RHUI client config to any clients subscription-manager is installed and untouched (that is, its yum plugin is enabled).
2. Run yum

Actual results:
Because subscription-manager yum plugin is enabled by default and
RHUI clients never register to RHSM server (portal/satellite),
an warning "This system is not registered to Red Hat Subscription
Management ..." was out during yum operation such as 'yum repolist',
'yum install ...'.


Expected results: No subscription-manager related warnings during running yum.


Additional info: I made an experimental patch for the client config rpm template.

Comment 11 errata-xmlrpc 2018-07-10 16:00:36 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-2018:2153