Bug 1259768 - The RHSM addon should report background processing is ongoing and prevent early exit from Initial Setup until done
Summary: The RHSM addon should report background processing is ongoing and prevent ear...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Kevin Howell
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-03 13:55 UTC by Martin Kolman
Modified: 2017-08-01 19:18 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 19:18:42 UTC
Target Upstream Version:


Attachments (Terms of Use)
Message "System is registering to owner environment" is seen on spoke , while registration process is still in progress (143.95 KB, image/png)
2017-04-17 09:46 UTC, Shwetha Kallesh
no flags Details


Links
System ID Priority Status Summary Last Updated
Github candlepin subscription-manager pull 1495 None None None 2016-09-20 15:48:42 UTC
Red Hat Product Errata RHBA-2017:2083 normal SHIPPED_LIVE python-rhsm and subscription-manager bug fix and enhancement update 2017-08-01 18:14:19 UTC

Description Martin Kolman 2015-09-03 13:55:32 UTC
Description of problem:
The Subscription Manager addon for Initial Setup does not indicate that the addon is doing important work in the background (registration & attach) that should not be interrupted and allows the user to exit the Initial Setup hub vie the "FINISH CONFIGURATION" button even when the background processing is still ongoing. 

Version-Release number of selected component (if applicable):
subscription-manager-initial-setup-addon.x86_64 0:1.15.9-7.el7

How reproducible:
always

Steps to Reproduce:
1. enter the RHSM addon in IS
2. enter credentials and click the "Register button"
3. a rpogress bar shows up on the screen
4. click the "Done" button in the upper left to return to the hub
(the same steps are valid even for attach phase)

Actual results:
The subscription manager status message on the hub still reads "System is not registered RHSM", the spoke is marked as completed (no yellow warning sign is displayed) and the "FINISH CONFIGURATION" button can be clicked.

Expected results:
The subscription manager status message indicates background processing is going on (something like "Registering system to RHSM" or "Attaching subscription"), spoke is not marked as completed (yellow warning sign is displayed) and the "FINISH CONFIGURATION" button can't be clicked (as long as at least one spoke is not complete, the "FINISH CONFIGURATION" button can't be clicked.

Additional info:
Spoke status message can be set using the "status" spoke property and the "completed" property is used to mark spoke completeness.

Comment 2 Adrian Likins 2015-09-08 17:32:35 UTC
Hmm, current code will show 'completed' once registration finishes. But
the spoke is also not mandatory, so not sure of the implications.

Comment 3 John Sefler 2015-09-24 20:56:08 UTC
deferring for consideration in rhel-7.3.0 due to schedule and severity

Comment 6 Shwetha Kallesh 2017-04-17 09:46:03 UTC
Created attachment 1272018 [details]
Message "System is registering to owner environment" is seen on spoke , while registration process is still in progress

[root@dhcp35-160 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.21-1
subscription management rules: 5.15.1
subscription-manager: 1.19.7-1.el7
python-rhsm: 1.19.4-1.el7

Comment 7 errata-xmlrpc 2017-08-01 19:18:42 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-2017:2083


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