Bug 1290297

Summary: An error in ovirt-node.log related to RHN register
Product: Red Hat Enterprise Virtualization Manager Reporter: wanghui <huiwa>
Component: ovirt-nodeAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED WONTFIX QA Contact: wanghui <huiwa>
Severity: medium Docs Contact:
Priority: low    
Version: 3.6.0CC: cshao, dfediuck, gklein, huiwa, huzhao, leiwang, lsurette, mgoldboi, yaniwang, ycui, ykaul
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1322782 (view as bug list) Environment:
Last Closed: 2016-06-09 12:16:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1322782    

Description wanghui 2015-12-10 06:26:50 UTC
Description of problem:
After register to RHN succeed, there is an error in ovirt-node.log files related to RHN register status as follows.

2015-12-07 05:31:51,667       INFO /usr/sbin/subscription-manager register --force --type hypervisor --password XXXXXXXX --username qa
2015-12-07 05:32:09,620    WARNING File "/var/lib/rhsm/cache/installed_products.json" had already been persisted
2015-12-07 05:32:09,623    WARNING File "/etc/pki/consumer/key.pem" had already been persisted
2015-12-07 05:32:09,624    WARNING File "/etc/pki/consumer/cert.pem" had already been persisted
2015-12-07 05:32:09,624       INFO System %s successfully registered to SAM

There should be "INFO Sytem test.redhat.com successfully registered to RHSM".

Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.2-20151201.2.el7ev
ovirt-node-3.6.0-0.23.20151201git5eed7af.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. TUI install rhev-hypervisor7-7.2-20151201.2.el7ev
2. Register rhevh to RHN with profile name "test.redhat.com"
3. Check the ovirt-node.log file.

Actual results:
1. It reports as follows.
2015-12-07 05:32:09,624       INFO System %s successfully registered to SAM

Expected results:
1. It should be as follows.

2015-12-07 05:32:09,624       INFO System test.redhat.com successfully registered to RHSM

Additional info:

Comment 1 Fabian Deutsch 2016-01-28 10:54:03 UTC
Is this fixed in RHEV-H 3.6? IIRC it should be.

Comment 3 wanghui 2016-02-03 06:29:53 UTC
Test version:
rhev-hypervisor7-7.2-20160126.0
ovirt-node-3.6.1-5.0.el7ev.noarch

Test steps:
1. TUI install rhev-hypervisor7-7.2-20160126.0
2. Register rhevh to RHN with profile name "test-20160216"
3. Check the ovirt-node.log file.

Test result:
1. It reports as follows.
2016-02-03 06:24:32,579       INFO System %s successfully registered to SAM

So this is still not fixed in ovirt-node-3.6.1-5.0.el7ev.noarch.

Comment 4 Fabian Deutsch 2016-02-03 11:15:13 UTC
There was yet another place where the format string was not filled correctly. This should be fixed now.

Comment 5 Mike McCune 2016-03-28 22:35:49 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 7 Fabian Deutsch 2016-06-09 12:16:47 UTC
This issue will not be fixed with an eventually attached in RHEV 4.0. Instead this bug is getting fixed by the new functionality in Cockpit.