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.
Description of problem:
Observed that when manually tried to run auto-attach against the golden ticket enabled org , a error message “HTTP error code 400: Ignoring request to auto-attach. It is disabled for org "snowwhite". This error is misleading as the org snowwhite has auto-attached enabled
# curl -k -u admin:admin "https://localhost:8443/candlepin/owners/snowwhite" | python -mjson.tool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 530 0 530 0 0 2791 0 --:--:-- --:--:-- --:--:-- 2804
{
"autobindDisabled": false, --> autobind is not disabled
This bug is a request to modify the error message
Version-Release number of selected component (if applicable):
# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.7.0-1
subscription management rules: 5.36
subscription-manager: 1.24.4-1.el7
How reproducible:
Always
Steps to Reproduce:
1.Register against golden ticket enabled org (ex: snowwhite)
#subscription-manager register --activationkey=snowtestkey --org=snowwhite
The system has been registered with ID: 881ed4c8-ef1d-470c-93a9-b5c4204a5432
The registered system name is: hp-dl360pgen8-08.khw.lab.eng.bos.redhat.com
Installed Product Current Status:
Product Name: Awesome OS Server Bits
Status: Not Subscribed
2.Try auto-attach
# subscription-manager attach --auto
HTTP error code 400: Ignoring request to auto-attach. It is disabled for org "snowwhite"
Actual results:
Message "HTTP error code 400: Ignoring request to auto-attach. It is disabled for org "snowwhite"" and no log entry in rhsm.log
Expected results:
Message should be more accurate as the auto-attach disablement was caused by the golden ticket mode
for ex:
"Ignoring request to auto-attach. It is disabled for Organization with Content Access Mode set to Organization/Environment Access."
Additional info:
Closing the bug as a duplicate of Bug 1826300 . We are considering the bug 1826300 to be fixed and delivered in RHEL 7.9 Z Stream .
thanks,
Rehana
*** This bug has been marked as a duplicate of bug 1826300 ***