Bug 1329513 - Error happened when auto attach by subscription-manager-gui
Summary: Error happened when auto attach by subscription-manager-gui
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high vote
Target Milestone: Unspecified
Assignee: John Mitsch
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-22 06:59 UTC by qianzhan
Modified: 2019-09-26 13:59 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:27:15 UTC
Target Upstream Version:


Attachments (Terms of Use)
error_with_subscribing_in_GUI.png (117.68 KB, image/png)
2016-04-22 07:00 UTC, qianzhan
no flags Details
rhsm.log (197.29 KB, text/plain)
2016-04-22 07:03 UTC, qianzhan
no flags Details
subscribing_failed_in_firstboot.png (125.59 KB, image/png)
2016-04-22 07:51 UTC, qianzhan
no flags Details
successful_auto_attach_in_GUI (286.33 KB, image/png)
2016-06-27 03:21 UTC, qianzhan
no flags Details
successful_auto_attach_in_CLI (406.39 KB, image/png)
2016-06-27 03:21 UTC, qianzhan
no flags Details
successful_auto_attach_in_firstboot (93.16 KB, image/png)
2016-06-27 03:22 UTC, qianzhan
no flags Details

Description qianzhan 2016-04-22 06:59:58 UTC
Description of problem:
Error happened when auto attach by subscription-manager-gui

Version-Release number of selected component (if applicable):
Satellite-6.2.0-RHEL-6-20160420.1
subscription-manager: 1.16.8-8.el6
python-rhsm: 1.16.6-1.el6

How reproducible:
2/3

Steps to Reproduce:
1. Open subscription-manager-gui, and register system to Satellite6.2.
2. Click Auto-attach button:
Failed to auto-attach and an error msg prompted. Please see attachment 'error_with_subscribing_in_GUI.png'

Actual results:
As step 2.

Expected results:
auto-attach should succeed.

Additional info:

Comment 1 qianzhan 2016-04-22 07:00:22 UTC
Created attachment 1149652 [details]
error_with_subscribing_in_GUI.png

Comment 2 qianzhan 2016-04-22 07:03:23 UTC
Created attachment 1149654 [details]
rhsm.log

Comment 3 qianzhan 2016-04-22 07:46:51 UTC
Also failed by CLI:
[root@dhcp-128-71 ~]# subscription-manager attach --servicelevel=standard

undefined method `[]=' for nil:NilClass

Comment 4 qianzhan 2016-04-22 07:51:08 UTC
Also failed in firstboot. Please see attachment "subscribing_failed_in_firstboot.png"

Comment 5 qianzhan 2016-04-22 07:51:27 UTC
Created attachment 1149663 [details]
subscribing_failed_in_firstboot.png

Comment 6 Barnaby Court 2016-04-25 17:51:59 UTC
This appears to be an issue in the katello proxy as evidenced by the 'nil' in the error message.

Comment 7 Brad Buckingham 2016-06-07 17:54:34 UTC
Hi Tom, as this already been fixed or perhaps a duplicate?

Comment 9 John Mitsch 2016-06-24 18:12:40 UTC
Myself and another dev are having trouble reproducing this bug. It most likely has been fixed with recent changes. I am moving to ON_QA in case QA wants to verify.

Comment 10 qianzhan 2016-06-27 03:20:25 UTC
Verified.

Version-Release number of selected component (if applicable):
Satellite-6.2.0-20160620.0
subscription-manager: 1.16.8-8.el6
python-rhsm: 1.16.6-1.el6

Register the client to satellite6.2 and auto-attach in GUI, CLI and firstboot. All auto-attachings are successful. Please see attachment 'successful_auto_attach_in_GUI', 'successful_auto_attach_in_CLI' and 'successful_auto_attach_in_firstboot'.

Moving this bug from ON_QA to VERIFIED.

Comment 11 qianzhan 2016-06-27 03:21:22 UTC
Created attachment 1172757 [details]
successful_auto_attach_in_GUI

Comment 12 qianzhan 2016-06-27 03:21:50 UTC
Created attachment 1172758 [details]
successful_auto_attach_in_CLI

Comment 13 qianzhan 2016-06-27 03:22:18 UTC
Created attachment 1172759 [details]
successful_auto_attach_in_firstboot

Comment 14 Bryan Kearney 2016-07-27 11:27:15 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-2016:1501


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