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 1528699 - "subscription-manager attach --auto" hangs due to 'rhel-7-server-rt-beta-rpms' enabled.
Summary: "subscription-manager attach --auto" hangs due to 'rhel-7-server-rt-beta-rpms...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.4
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: rc
: ---
Assignee: Kevin Howell
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-22 20:05 UTC by Lev Ufimtsev
Modified: 2018-02-05 21:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-30 14:44:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1507030 0 medium CLOSED Subscription-manager returns "System certificates corrupted. Please reregister." when listing available subscriptions 2023-09-15 00:04:48 UTC

Internal Links: 1507030

Description Lev Ufimtsev 2017-12-22 20:05:38 UTC
Description of problem:
- RHEL hangs on 'subscription-manager attach --auto'
- If I dissable 'beta' repo, then it works:
subscription-manager repos --disable rhel-7-server-rt-beta-rpms

Why is the 'beta' repository enabled on a fresh RHEL 7.4 iso?



Version-Release number of selected component (if applicable):
RHEL 7.4
   RHEL-7.4-20170711.0-Server-x86_64-dvd1.iso
   431a58c8c0351803a608ffa56948c5a7861876f78ccbe784724dd8c987ff7000
   (I downloaded this from:
   http://download-node-02.eng.bos.redhat.com/released/RHEL-7/7.4/Server/x86_64/iso/
   But the website seems to have the ISO with the same hash).

How reproducible:
Always, 

Steps to Reproduce:
1. I'm a Red Hat Software engineer, been setting up a RHEL 7.4 VM for testing.
2. I have all employee subscriptions on my account
3. Download RHEL 7.4, 
4. Install with minimal configuration. Boot vm. Configure network.
5. Register:
   subscription-manager register
   ..
6. Attempt to attach:
   subscription-manager attach --auto

Actual results:
- Hangs indefinitely. 

Expected results:
- Should not hang.


Additional info:
- After a fair bit of diagnosing, I found that in:
tail -f /var/log/rhsm/rhsm.log
the word 'beta' was thrown around. I then found that the 'rhel-7-server-rt-beta-rpms' repository was enabled.

After disabling it:
subscription-manager repos --disable rhel-7-server-rt-beta-rpms 
Things work again.

But why is this repository enabled on a clean installation of RHEL?
If I install with GUI, then the system hangs on the first screen when I try to register RHEL.

I'm not sure if this is because I have an employee subscription or just me, but my collegue reported the same issue with his account also.

Comment 2 Kevin Howell 2018-01-08 15:34:33 UTC
Let's investigate why the hang is occurring and whether the repo involved is present on general RHEL7 skus.

Comment 7 Kevin Howell 2018-01-30 14:44:48 UTC
Should be working properly now. Please reopen if necessary.


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