Bug 1290297 - An error in ovirt-node.log related to RHN register
Summary: An error in ovirt-node.log related to RHN register
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Fabian Deutsch
QA Contact: wanghui
URL:
Whiteboard:
Depends On:
Blocks: 1322782
TreeView+ depends on / blocked
 
Reported: 2015-12-10 06:26 UTC by wanghui
Modified: 2022-04-16 09:03 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1322782 (view as bug list)
Environment:
Last Closed: 2016-06-09 12:16:47 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-45717 0 None None None 2022-04-16 09:03:05 UTC
oVirt gerrit 53032 0 master MERGED sat: Fix logging message 2016-02-04 16:31:18 UTC
oVirt gerrit 55488 0 ovirt-3.6 MERGED sat: Fix logging message 2016-03-30 17:49:14 UTC
oVirt gerrit 55812 0 master MERGED Don't reference SAM in logs when registering 2016-04-07 13:14:01 UTC
oVirt gerrit 55815 0 ovirt-3.6 MERGED Don't reference SAM in logs when registering 2016-04-07 13:14:39 UTC

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.


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