Bug 1958145

Summary: [RHVH 4.4.5] Need to enable rhsmcertd service on the host by default
Product: Red Hat Enterprise Virtualization Manager Reporter: Ulhas Surse <usurse>
Component: redhat-release-virtualization-hostAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED ERRATA QA Contact: cshao <cshao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4.5CC: arachman, cshao, emarcus, gchakkar, lsvaty, lveyde, mavital, peyu, sbonazzo, shlei, weiwang, yaniwang
Target Milestone: ovirt-4.4.7Keywords: ZStream
Target Release: 4.4.7Flags: cshao: testing_plan_complete+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: redhat-virtualization-host-4.4.7-20210624.0.el8_4 Doc Type: Bug Fix
Doc Text:
Previously, rhsmcertd was not enabled by default on the Red Hat Virtualization Host. As a result, the systems did not regularly report to RHSM while the subscription-manager reported no obvious issues and repositories were properly enabled. In this release, rhsmcertd is enabled by default in RHVH, and as a result, RHSM now receives reports regularly.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-22 15:07:11 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:

Description Ulhas Surse 2021-05-07 10:04:54 UTC
Description of problem:
rhsmcertd service need to be enabled by default on the host like in RHEL servers. 

Version-Release number of selected component (if applicable):
RHVH 4.4.5

How reproducible:
Always

Steps to Reproduce:
1. Service is disabled:

# systemctl status rhsmcertd
● rhsmcertd.service - Enable periodic update of entitlement certificates.
   Loaded: loaded (/usr/lib/systemd/system/rhsmcertd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)



Actual results:
Service is disabled

Expected results:
Enable service. 

Additional info:

Comment 3 cshao 2021-05-08 01:52:52 UTC
Can reproduce this issue with the latest RHVH 4.4.6 as well.

# imgbase w
You are on rhvh-4.4.6.1-0.20210505.0+1
[root@dhcp-10-167 ~]# systemctl status rhsmcertd
● rhsmcertd.service - Enable periodic update of entitlement certificates.
   Loaded: loaded (/usr/lib/systemd/system/rhsmcertd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

Comment 8 cshao 2021-06-25 08:38:23 UTC
Test version:
rhvh-4.4.7.1-0.20210624.0+1

# systemctl status rhsmcertd
● rhsmcertd.service - Enable periodic update of entitlement certificates.
   Loaded: loaded (/usr/lib/systemd/system/rhsmcertd.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2021-06-25 03:16:30 UTC; 5h 20min ago
  Process: 2423 ExecStart=/usr/bin/rhsmcertd (code=exited, status=0/SUCCESS)
 Main PID: 2431 (rhsmcertd)
    Tasks: 1 (limit: 822052)
   Memory: 11.9M
   CGroup: /system.slice/rhsmcertd.service
           └─2431 /usr/bin/rhsmcertd

Test result:
rhsmcertd service is enabled by default. So the bug is fixed, change bug status to VERIFIED.

Comment 13 errata-xmlrpc 2021-07-22 15:07:11 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 (Important: Red Hat Virtualization Host security and bug fix update [ovirt-4.4.7]), 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/RHSA-2021:2736