RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1509921 - sapconf does not identify E4S SAP channel as a SAP channel
Summary: sapconf does not identify E4S SAP channel as a SAP channel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sapconf
Version: 7.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Than Ngo
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1522983
TreeView+ depends on / blocked
 
Reported: 2017-11-06 10:52 UTC by Ondrej Faměra
Modified: 2018-04-10 11:37 UTC (History)
1 user (show)

Fixed In Version: sapconf-0.98-15.el7
Doc Type: Bug Fix
Doc Text:
Cause: the current sapconf does not check the E4S SAP channel Consequence: it does not identify E4S SAP channel as a SAP channel Fix: the new sapconf now has a check for the E4S SAP channel Result: it identifies E4S SAP channel as a SAP channel correctly
Clone Of:
Environment:
Last Closed: 2018-04-10 11:37:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0721 0 None None None 2018-04-10 11:37:36 UTC

Description Ondrej Faměra 2017-11-06 10:52:20 UTC
=== Description of problem:
'sapconf' doesn't recognize the 'e4s' repositories and reports that SAP repositories are missing.

=== Version-Release number of selected component (if applicable):
sapconf.noarch-0.98-11.el7

=== How reproducible:
Always

=== Steps to Reproduce:
1. Minimal installation of RHEL 7.4
2. Subscribe to E4S (SAP Solutions) repositories only
# subscription-manager repos --disable='*' --enable="rhel-7-server-e4s-rpms" --enable="rhel-sap-for-rhel-7-server-e4s-rpms"
3. Install 'sapconf' package - yum install sapconf
4. Run the 'sapconf -n' command

=== Actual results:

######        sapconf-0.98-11  by Red Hat       ######
###### Checking System for SAP Installation    ######

RHEL system not subscribed to RHEL for SAP channel ... WARNING

=== Expected results:
######        sapconf-0.98-11  by Red Hat       ######
###### Checking System for SAP Installation    ######

RHEL system subscribed to RHEL for SAP channel ... OK
...

RHEL E4S repository is recognized correctly

=== Additional info:
This change should be backported to all supported EUS releases - 7.2, 7.3, 7.4
Simple way to add the 'e4s' repositories can be achieved by changing the line below in 'sapconf'

Line 706
- if yum repolist | egrep -q "rhel-$(uname -m)-server-sap|rhel-sap-for-rhel-$(awk '{print $7}' /etc/redhat-release | cut -c      -1)-server-rpms"; then
+ if yum repolist | egrep -q "rhel-$(uname -m)-server-sap|rhel-sap-for-rhel-$(awk '{print $7}' /etc/redhat-release | cut -c      -1)-server(-e4s)?-rpms"; then

I can see that there is similar bz1470563 for the EUS channel detection. If that one should be also included then the following line can be used to detect both EUS and E4S repositories.
+ if yum repolist | egrep -q "rhel-$(uname -m)-server-sap|rhel-sap-for-rhel-$(awk '{print $7}' /etc/redhat-release | cut -c      -1)-server(-e4s|-eus)?-rpms"; then

Comment 3 Than Ngo 2017-11-06 13:22:26 UTC
it's fixed in sapconf-0.98-15.el7

Comment 8 errata-xmlrpc 2018-04-10 11:37:16 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:0721


Note You need to log in before you can comment on or make changes to this bug.