Red Hat Bugzilla – Bug 1268028
checking "Manually attach subscriptions after registration" does not work in initial-setup
Last modified: 2015-11-19 06:51:11 EST
Description of problem:
If I check the "Manually attach subscriptions after registration" box during the registration process within initial-setup, the workflow behaves as though I did not check it. Auto-binding appears to proceed and can lead me to a Select Service Level panel that has no navigation buttons displayed and I get stuck.
Version-Release number of selected component (if applicable):
[root@jsefler-7 ~]# rpm -q subscription-manager-initial-setup-addon
Steps to Reproduce:
1. With two product certs installed that are not covered by a subscription with the same service level, start initial-setup and proceed to register to a valid account and choose "Manually attach subscriptions after registration" checkbox.
registration should complete without attempting to attach any subscriptions.
upstream pr at https://github.com/candlepin/subscription-manager/pull/1313
Notes on the wacky behavior:
After register, we were async starting 'finished' _and_ moving to the select sla screen (and it's long pre/startup). So gui would momentarily show the done screen, pause the progress bars, (and for initial-setup, hide the nav buttons) while the select sla screen was also showing a now paused progress bar and eventually whatever the results of select slas pre() was (potentially including error info). Basically, it finished, and then started select sla anyway.
Scenario 2 :
RHSM registration from initial-setup with "auto-attach" ( without checking "Manually attach subscriptions after registration ) is taking to "Confirm Subscriptions" page again and again
1.Launch initial setup
2.Register client to stage environment with OUT checking the option "Manually attach subscriptions after registration"
3.Message " Error subscribing unit" is displayed (PFA)
system should get successfully registered and subscribed to the available matching subscription.
Created attachment 1079211 [details]
Author: Adrian Likins <email@example.com>
Date: Thu Oct 1 11:55:05 2015 -0400
1268028: Fix skipped auto attach in registergui
When using initial-setup to register a system, if the
'Manually attach subscriptions after registration' option
was selected in the credentials page, the gui would
start the select sla screen before starting the 'done'
process. So the done screen could be shown, then a
now paused progress bar, then eventually the results of
the select sla screens startup.
Fix is just to either finish, or start select sla, not
Created attachment 1081906 [details]
Register with auto-attach
Marking verified as register with and without auto-attach on a system with installed products that are not covered by same service-level thro initial-setup is working fine.
[root@dhcp35-36 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.0.6-1
subscription management rules: 5.17
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.