Bug 1356611

Summary: imgbase-motd service should not be inactive as default in RHVH
Product: [oVirt] ovirt-node Reporter: cshao <cshao>
Component: Installation & UpdateAssignee: Ryan Barry <rbarry>
Status: CLOSED CURRENTRELEASE QA Contact: cshao <cshao>
Severity: medium Docs Contact:
Priority: high    
Version: 4.0CC: andanappa.mallikarjunappa.kori, bugs, dguo, fdeutsch, huzhao, leiwang, rbarry, weiwang, yaniwang, ycui
Target Milestone: ovirt-4.0.1Flags: rule-engine: ovirt-4.0.z+
rule-engine: planning_ack+
fdeutsch: devel_ack+
cshao: testing_ack+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHVH-7.2-20160718.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-04 13:31:04 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: 1326232    
Attachments:
Description Flags
all_log_info none

Description cshao 2016-07-14 13:07:48 UTC
Created attachment 1179840 [details]
all_log_info

Description of problem:
According the path of bug 1326232 and #c7. imgbase-motd service should not be inactive as default in RHVH.

# systemctl status imgbase-motd
● imgbase-motd.service - Build motd based on imgbase analysis
   Loaded: loaded (/usr/lib/systemd/system/imgbase-motd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)


Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.0-20160713.0
imgbased-0.7.2-0.1.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install RHVH via iso(with default ks)
2. Reboot and login RHVH.
3. Check imgbase-motd service status.

Actual results:
1. The imgbase-motd.service is inactive as default.

Expected results:
1. The imgbase-motd.service is active as default.

Additional info:

Comment 1 Fabian Deutsch 2016-07-18 16:37:14 UTC
This should be fixed in both upstream and downstream.

Comment 2 cshao 2016-07-26 09:38:30 UTC
Test version:
redhat-virtualization-host-4.0-20160714.3
imgbased-0.7.2-0.1.el7ev.noarch


# systemctl status imgbase-motd
● imgbase-motd.service - Build motd based on imgbase analysis
   Loaded: loaded (/usr/lib/systemd/system/imgbase-motd.service; enabled; vendor preset: disabled)
   Active: active (exited) since Tue 2016-07-26 09:31:53 CST; 8h ago
  Process: 1475 ExecStart=/usr/sbin/imgbase motd --update (code=exited, status=0/SUCCESS)
 Main PID: 1475 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/imgbase-motd.service

Jul 26 09:31:47 bootp-73-75-36.lab.eng.pek2.redhat.com systemd[1]: Starting Build motd based on imgbase analysis...
Jul 26 09:31:53 bootp-73-75-36.lab.eng.pek2.redhat.com imgbase[1475]: imgbase status: OK
Jul 26 09:31:53 bootp-73-75-36.lab.eng.pek2.redhat.com systemd[1]: Started Build motd based on imgbase analysis.


The imgbase-motd.service is active as default. So the bug is fixed, change bug status to VERIFIED.