Bug 1023320

Summary: [RFE][RHSM-GUI] - Once registered with RHN Classic, the "Register" button of rhsm-gui should be disabled
Product: Red Hat Enterprise Linux 6 Reporter: Satyabrata Maitra <smaitra>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED WONTFIX QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: medium    
Version: 6.5CC: bkearney, qe-i18n-bugs, smaitra
Target Milestone: rcKeywords: Desktop, FutureFeature
Target Release: ---Flags: smaitra: needinfo? (bkearney)
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-25 15:21:50 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:

Description Satyabrata Maitra 2013-10-25 08:04:13 UTC
Description of problem:
If the system already registered with RHN Classic, and user opening subscription-manager-gui, the "Register" button should be disabled until the system is getting uregistered from RHN Classic.

Version-Release number of selected component (if applicable):
subscription-manager-1.9.9-1.el6
subscription-manager-firstboot-1.9.9-1.el6
subscription-manager-gui-1.9.9-1.el6
subscription-manager-migration-1.9.9-1.el6
subscription-manager-migration-data-2.0.4-1.el6

How reproducible:
Always

Steps to Reproduce:
1. Register rhsm with RHN Classic as :
   In terminal(with superuser) create a file /etc/sysconfig/rhn/systemid
   Append line sudo touch /etc/sysconfig/rhn/systemid into that file. save and 
   quit.
2. Open rhsm gui either from menu or typing subscription-manager-gui in console 
   or run application dialog box.
3. Observe the rhsm-main page appearing the "Register" button enabled.

Actual results:
Although even if user click on "Register" button, it throws some message and restrict user to proceed further, still this restriction can be implemented simply disabling the "Register" button, handling the exception in easier way.

Expected results:
"Register" button should be disable once system is already registered with RHN Classic

Additional info:

Comment 2 Bryan Kearney 2013-10-25 15:21:50 UTC
There may be valid cases for dual registration. I would prefer to document and warn then to disable.

Comment 3 Satyabrata Maitra 2013-10-28 05:03:28 UTC
Hi Bryan

Once it is registered with RHN classic does the current system at all allows to register even with other login credential if not the same one, in rhsm gui for dual registration?

Regards
Satya