Bug 1073566

Summary: Critical, Low disk space. Host <host> has less than 500 MB of free space left on: /var/log.
Product: Red Hat Enterprise Linux 6 Reporter: Chris Pelland <cpelland>
Component: ovirt-nodeAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.5CC: abisogia, acathrow, bsarathy, byount, cpelland, danken, dougsland, dswegen, emesika, fdeutsch, gouyang, iheim, jbiddle, jboggs, nsoffer, ovirt-maint, pm-eus, rbarry, rmcswain, ycui, yeylon
Target Milestone: rcKeywords: Regression, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-node-3.0.1-18.el6_5.7 Doc Type: Bug Fix
Doc Text:
Previously, the Manager would sometimes report a critical disk space error: "Critical, Low disk space. Host <host> has less than 500 MB of free space left on: /var/log" even when this was not the case. Now, the Manager reports disk space errors accurately.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-01 15:38:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1063395    
Bug Blocks:    

Description Chris Pelland 2014-03-06 17:28:43 UTC
This bug has been copied from bug #1063395 and has been proposed
to be backported to 6.5 z-stream (EUS).

Comment 5 Guohua Ouyang 2014-03-19 06:17:27 UTC
the patch is included in rhevh-6.5-20140317.0.el6ev.

# cat /etc/redhat-release 
Red Hat Enterprise Virtualization Hypervisor release 6.5 (20140317.0.el6ev)


# rpm -q ovirt-node
ovirt-node-3.0.1-18.el6_5.8.noarch


# cat /etc/logrotate.d/syslog 
/var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
{
    sharedscripts
    rotate 5
    size 15M
    compress
    postrotate
	/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
    endscript
}


I have setup the host in RHEVM 3.3 with two VMs running, will let it run 2-3 days to see whether can get the error.
If no error report, I will move the bug to verified state since the patch is in.

Comment 6 Guohua Ouyang 2014-03-21 01:53:04 UTC
(In reply to Ouyang guohua from comment #5)
> the patch is included in rhevh-6.5-20140317.0.el6ev.
> 
> # cat /etc/redhat-release 
> Red Hat Enterprise Virtualization Hypervisor release 6.5 (20140317.0.el6ev)
> 
> 
> # rpm -q ovirt-node
> ovirt-node-3.0.1-18.el6_5.8.noarch
> 
> 
> # cat /etc/logrotate.d/syslog 
> /var/log/cron
> /var/log/maillog
> /var/log/messages
> /var/log/secure
> /var/log/spooler
> {
>     sharedscripts
>     rotate 5
>     size 15M
>     compress
>     postrotate
> 	/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
>     endscript
> }
> 
> 
> I have setup the host in RHEVM 3.3 with two VMs running, will let it run 2-3
> days to see whether can get the error.
> If no error report, I will move the bug to verified state since the patch is
> in.

no "low disk space" report after the Environment running three days, move the bug to verified.

Comment 8 errata-xmlrpc 2014-04-01 15:38:13 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-2014-0347.html