Bug 890691

Summary: /etc/cron.daily/ovirt-cron calls a shell script that does not exist ( /usr/share/ovirt/scripts/ovirtlogrot.sh ) which causes cron to generate errors
Product: [Fedora] Fedora Reporter: Egon Kastelijn <redhat2>
Component: ovirt-engineAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 17CC: juan.hernandez
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-09 08:53:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Egon Kastelijn 2012-12-28 19:54:53 UTC
Description of problem:
/etc/cron.daily/ovirt-cron calls a shell script that does not exist.
Quote:
==========
#!/bin/sh
#compress log4j log files, delete old ones
/usr/share/ovirt/scripts/ovirtlogrot.sh /var/log/ovirt-engine 480 > /dev/null
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
    /usr/bin/logger -t rhevm "ALERT exited abnormally with [$EXITVALUE]"
fi
exit $EXITVALUE
==========


Version-Release number of selected component (if applicable):
# rpm -qf /etc/cron.daily/ovirt-cron 
ovirt-engine-3.0.0.0001-13.fc17.noarch

How reproducible:
Always

Steps to Reproduce:
1. yum install ovirt-engine
  
Actual results:
Cron starts sending error messages via email

Expected results:
The script should contain:
/usr/share/ovirt-engine/scripts/ovirtlogrot.sh

Additional info:
-

Comment 1 Fedora Update System 2012-12-29 18:40:21 UTC
ovirt-engine-3.0.0.0001-15.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ovirt-engine-3.0.0.0001-15.fc17

Comment 2 Fedora Update System 2012-12-31 03:29:31 UTC
Package ovirt-engine-3.0.0.0001-15.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ovirt-engine-3.0.0.0001-15.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-21120/ovirt-engine-3.0.0.0001-15.fc17
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2013-01-09 08:53:02 UTC
ovirt-engine-3.0.0.0001-15.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.