Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1512948

Summary: Default value of $releasever is set to "7.5" instead of "7$Variant"
Product: Red Hat Enterprise Linux 7 Reporter: Rehana <redakkan>
Component: relengAssignee: Lubos Kocman <lkocman>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.5CC: dtodorov, jsefler, jstodola, lmiksik, pholica, tlestach
Target Milestone: rcKeywords: TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-release-7.5-0.14.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 10:19:01 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:
Bug Depends On:    
Bug Blocks: 1511273    

Description Rehana 2017-11-14 13:46:53 UTC
Description of problem:
Default value of $releasever is set to "7.5" instead of  "7$Variant", due to this yum repolist is failing with HTTPS Error 403 - Forbidden

Version-Release number of selected component (if applicable):
#  rpm -q redhat-release-server
redhat-release-server-7.5-0.12.el7.x86_64


How reproducible:
always

Steps to Reproduce:
1.Install RHEL75 Develphase exit build --> server variant
2.Register and subscribe system from stage
3.execute yum repolist

[root@dhcp35-157 ~]# subscription-manager register --auto-attach
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Username: user
Password: 
The system has been registered with ID: 5178ce49-d909-44fc-8015-0070453589d1
The registered system name is: dhcp35-157.lab.eng.blr.redhat.com
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status:       Subscribed

[root@dhcp35-157 ~]# yum repolist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
https://cdn.redhat.com/content/dist/rhel/server/7/7.5/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/solutions/69319

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

https://cdn.redhat.com/content/dist/rhel/server/7/7.5/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
repo id     repo name                                 status
rhel-7-server-rpms/7.5/x86_64 Red Hat Enterprise Linux 7 Server (RPMs)  0
repolist: 0
^^ NOTICE 7.5 HAS BEEN USED INSTEAD OF 7SERVER, HENCE NO CONTENT AVAILABLE


Actual results:
Observed $releaserver is using the "7.5" instead of "7Server"

Expected results:
$releaserver should be using "7$Variant"

Additional info:
on a RHEL74 machine 
-----------------------
# python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'
Loaded plugins: product-id
{'arch': 'ia32e',
 'basearch': 'x86_64',
 'releasever': '7Server',
 'uuid': 'c83b7a2b-3414-4179-b023-1401cde881a6'}
[root@dell-pem600-01 ~]# 


ON RHEL75 
==========

# python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'
Loaded plugins: langpacks, product-id, subscription-manager
{'arch': 'ia32e',
 'basearch': 'x86_64',
 'releasever': '7.5',
 'uuid': 'c355538f-c3e7-4f4b-ae35-a31b507882a5'}
[root@dhcp35-157 ~]#

Comment 2 Lubos Kocman 2017-11-14 13:51:03 UTC
This needs to get fixed.

Lubos

Comment 6 Pavel Studeník 2017-11-23 12:15:13 UTC
It looks that it is not fixed for Satellite 5 https://bugzilla.redhat.com/show_bug.cgi?id=1516832

Comment 10 errata-xmlrpc 2018-04-10 10:19:01 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/RHEA-2018:0700