Bug 1280215 - RHN status always show success even if the registration was failed
Summary: RHN status always show success even if the registration was failed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-3.6.2
: ---
Assignee: Ryan Barry
QA Contact: cshao
URL:
Whiteboard:
: 1282698 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-11 08:48 UTC by cshao
Modified: 2016-03-09 14:43 UTC (History)
12 users (show)

Fixed In Version: ovirt-node-3.6.1-1.0.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-09 14:43:05 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rhn_issue.tar.gz (649.67 KB, application/x-gzip)
2015-11-11 08:48 UTC, cshao
no flags Details
failed (22.95 KB, image/png)
2015-11-11 08:53 UTC, cshao
no flags Details
always show success (42.54 KB, image/png)
2015-11-11 08:53 UTC, cshao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0378 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update for RHEV 3.6 2016-03-09 19:06:36 UTC
oVirt gerrit 48515 0 master MERGED Be smarter about failed RHNSM/Satellite registrations Never
oVirt gerrit 49262 0 ovirt-3.6 MERGED Be smarter about failed RHNSM/Satellite registrations Never
oVirt gerrit 50542 0 master MERGED subscription-manager can return 0 when not registered... 2015-12-22 12:03:31 UTC
oVirt gerrit 50917 0 ovirt-3.6 MERGED subscription-manager can return 0 when not registered... 2015-12-22 15:01:03 UTC

Description cshao 2015-11-11 08:48:10 UTC
Created attachment 1092613 [details]
rhn_issue.tar.gz

Description of problem:
RHN status always show success even if the registration was failed. And the same issue with Satellite/SAM.

Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.2-20151104.0
ovirt-node-3.6.0-0.20.20151103git3d3779a.el7ev.noarch
subscription-manager-1.15.9-15.el7.x86_64
python-rhsm-1.15.4-5.el7.x86_64
vdsm-4.17.10.1-0.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install RHEV-H 7.2
2. Go to "RHN Registration" page, register to RHN/Satellite/SAM with incorrect info.
3. Check RHN status in TUI.

Actual results:
RHN status always show success even if the registration was failed

Expected results:
RHN can show correct status.

Additional info:

Comment 1 cshao 2015-11-11 08:53:10 UTC
Created attachment 1092616 [details]
failed

Comment 2 cshao 2015-11-11 08:53:50 UTC
Created attachment 1092617 [details]
always show success

Comment 3 Ryan Barry 2015-11-17 14:20:47 UTC
*** Bug 1282698 has been marked as a duplicate of this bug. ***

Comment 5 cshao 2015-12-15 07:36:21 UTC
Test version:
rhev-hypervisor7-7.2-20151210.1
ovirt-node-3.6.0-0.24.20151209gitc0fa931.el7ev.noarch

Test steps:
1. Install RHEV-H 7.2 latest build
2. Go to "RHN Registration" page, register to RHN with incorrect info.
3. Check RHN status in TUI.

Actual results:
1. pop-up: registration failed 
2. But in TUI, Registration Status still show as "RHN"

The current status shouldn't show as RHN due to the failed registration.

So I have to assigned this bug.

Comment 6 cshao 2015-12-29 07:05:33 UTC
Test version:
RHEV-H 7.2-20151221.1.el7ev
ovirt-node-3.6.0-0.24.20151209gitc0fa931.el7ev.noarch

Got the same issue with #c5, so I have tp assigned this bug again.

Test steps:
1. Install RHEV-H 7.2 latest build
2. Go to "RHN Registration" page, register to RHN with incorrect info.
3. Check RHN status in TUI.

Actual results:
1. pop-up: registration failed 
2. But in TUI, Registration Status still show as "RHN"

The current status shouldn't show as RHN due to the failed registration.

Comment 11 errata-xmlrpc 2016-03-09 14:43:05 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://rhn.redhat.com/errata/RHBA-2016-0378.html


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