Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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.
Descriptionsthirugn@redhat.com
2018-08-17 16:21:55 UTC
Description of problem:
boostrap.py fails when registering nodes with org_environment contentAccessMode
Version-Release number of selected component (if applicable):
Satellite 6.3.2
How reproducible:
Always
Steps to Reproduce:
1. Enable org_environment contentAccessMode in Satellite
2. Create an activation key with no subscriptions (Auto attach set to true - optional)
3. Register a client to Satellite
Actual results:
bootstrap.py fails since subscription-manager register returns 1 if there are no subscriptions found.
# subscription-manager register --org="Austin" --activationkey="default" --force
Unregistering from: satellite.example.com:443/rhsm
The system with UUID 795d2cfa-1c14-4fd3-810f-111e43fec963 has been unregistered
All local data removed
The system has been registered with ID: 043dc810-339f-4655-8186-3f1e532567a5
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status: Not Subscribed
Unable to find available subscriptions for all your installed products.
# echo $?
1
Expected results:
In org_environment contentAccessMode it is okay to not have a subscription at the time of registration. There should be a way to bypass this error and finish bootstrap process.
Additional info:
workaround: Search for `subscription-manager register` in bootstrap.py and change it from `exec_failexit` to `exec_failok`
Comment 4Zach Huntington-Meath
2019-01-02 21:11:03 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/RHSA-2019:1222