Bug 1369745 - Failed to register system to Stage Candlepin server by Stage Customer Portal WebUI
Summary: Failed to register system to Stage Candlepin server by Stage Customer Portal ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.9.23
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: candlepin-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-24 09:52 UTC by yuefliu
Modified: 2016-12-29 03:34 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-30 14:19:34 UTC


Attachments (Terms of Use)
Register a system by Stage Customer Portal WebUI (27.90 KB, image/png)
2016-08-24 09:52 UTC, yuefliu
no flags Details
Check register and subscribe status by WebUI (44.24 KB, image/png)
2016-08-24 09:54 UTC, yuefliu
no flags Details

Description yuefliu 2016-08-24 09:52:20 UTC
Created attachment 1193561 [details]
Register a system by Stage Customer Portal WebUI

Description of problem:
If I register a system by stage customer portal, the system can be registered and attach a subscription normally, but if I check the register info by subscription-manager CLI, it will show the system is not registered.


Version-Release number of selected component (if applicable):
subscription-manager-1.17.10-1.el7.x86_64
Stage Customer Portal: https://access.stage.redhat.com/management/consumers/

How reproducible:
100%

Steps to Reproduce:
1.Log into Stage Customer Portal, open Systems->All Units->Register a unit, fill in all the options based on host system  and register.
please refer to the attached file[1]

2. Check the system is registered or not by WebUI, if registered, try to add a subscription for it
please refer to the attached file[2]

3. Check the registered system by subscription-manager
# subscription-manager refresh
This system is not yet registered. Try 'subscription-manager register --help' for more information.

# subscription-manager identity
This system is not yet registered. Try 'subscription-manager register --help' for more information.



Actual results:
Subscription-manager shows the system is not registered even it's registered successfully by WebUI. 

Expected results:
The system can be registered by WebUI and Subscription-manager CLI



Additional info:

Comment 1 yuefliu 2016-08-24 09:54:59 UTC
Created attachment 1193563 [details]
Check register and subscribe status by WebUI

Comment 3 Chris Snyder 2016-09-30 14:19:34 UTC
This is working as designed. The consumer identity has to be downloaded from the portal and installed on the system after the registration on the portal.

Please see section "3.10.2. Workflow" of the following document for more information.

It looks as though you are missing step 3 of the workflow below.

https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html-single/Subscription_Concepts_and_Workflows/index.html

If this does not help please update your reproduction steps and reopen the bug.

Comment 4 yuefliu 2016-12-29 03:34:16 UTC
Have tried following the workflow on rhel7.3 and rhel6.9, both succeed, so the bug is not a bug.


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