Bug 699476

Summary: Make init process for RHEVH quiet
Product: Red Hat Enterprise Linux 6 Reporter: Perry Myers <pmyers>
Component: ovirt-nodeAssignee: Alan Pevec <apevec>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.0CC: apevec, cshao, gouyang, leiwang, mburns, moli, ovirt-maint, ycui
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-2.0.2-0.12.gitc05f24f.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 19:07:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Perry Myers 2011-04-25 19:11:12 UTC
Description of problem:
Several services fail on startup of RHEVH which produces red FAILED messages that appear on the screen briefly.  This might be alarming to customers so we should remove these.

Comment 1 Perry Myers 2011-04-25 19:12:41 UTC
Services to check are:
* lvm stuff: ioctl reload failed, create reload failed
* cgconfig service
* ntpdate

Comment 2 Perry Myers 2011-04-25 19:14:04 UTC
Also, we should add the quiet boot option to silence kernel messages to clean up the boot.

Comment 5 Alan Pevec 2011-08-05 22:14:34 UTC
With default boot parameters "quiet rhgb" plymouth is masking initscript output, is there anything left for this bug?

Comment 6 Perry Myers 2011-08-06 14:27:41 UTC
If you hit the arrow keys on the keyboard to leave the rhgb and go back to the normal initscript view of the boot, are there error messages still displaying?  We have to assume some users will do this, and also won't initscript results show by default on serial console instead of rhgb?

This is a 'nice to have' though, certainly not critical so pending time take a look at it, or push off to next release if there is no time.

Comment 7 Alan Pevec 2011-08-08 08:51:42 UTC
bug 675868 is covering startup messages due to R/O rootfs
this one is making boot quiet by default on the default console and users on the serial console are hopefully not faint of heart.

> * ntpdate

bug 675870

> * cgconfig service

# service cgconfig start
Starting cgconfig service: Loading configuration file /etc/cgconfig.conf failed
Cgroup, operation not allowed
Failed to parse /etc/cgconfig.conf[FAILED]
But /etc/cgconfig.conf is original from RPM.
We could also disable cgconfig on RHEV-H for now, vdsmd has it listed in CONFLICTING_SERVICES due to bug 623712

Comment 8 Alan Pevec 2011-08-12 21:20:05 UTC
*** Bug 730316 has been marked as a duplicate of this bug. ***

Comment 9 Alan Pevec 2011-09-09 08:02:02 UTC
(In reply to comment #7)
> We could also disable cgconfig on RHEV-H for now, vdsmd has it listed in
> CONFLICTING_SERVICES due to bug 623712

Not in Beta3 based on 6.2 kernel which has 623712 fixed.

Comment 10 Alan Pevec 2011-09-09 11:26:01 UTC
Root cause:
/sbin/cgconfigparser -l /etc/cgconfig.conf
mkdir("/cgroup/cpuset", 0775)           = -1 EROFS (Read-only file system)

/cgroup needs to be added to rwtab

Comment 11 Alan Pevec 2011-09-09 11:34:08 UTC
--- a/recipe/common-post.ks
+++ b/recipe/common-post.ks
@@ -94,6 +94,7 @@ empty /mnt
 empty  /live
 empty  /boot
 empty  /boot-kdump
+empty  /cgroup
 EOF_rwtab_ovirt
 
 # fix iSCSI/LVM startup issue

Comment 19 Alan Pevec 2011-10-10 10:29:07 UTC
(In reply to comment #9)
> (In reply to comment #7)
> > We could also disable cgconfig on RHEV-H for now, vdsmd has it listed in
> > CONFLICTING_SERVICES due to bug 623712
> 
> Not in Beta3 based on 6.2 kernel which has 623712 fixed.

cgroups is still not used by vdsm in RHEV 3.0 Beta 3 due to bug 742414
cgconfig service will be disabled in RHEV-H to avoid side-effect bug 703095 comment 20

Comment 20 Alan Pevec 2011-10-18 19:57:09 UTC
Bug 742414 is targeting Snapshot 3 so we can re-enable cgconfig again

Comment 22 Mohua Li 2011-11-08 07:47:15 UTC
according to comment 16,19, now lvm/ntpdate/cgconfig(at least no startup error) problem fixed on rhev-hypervisor snapshot 5,  so verified,

Comment 23 errata-xmlrpc 2011-12-06 19:07:27 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.

http://rhn.redhat.com/errata/RHBA-2011-1783.html