Bug 753248

Summary: rsyslog configuration ($ActionQueueSaveOnShutdown) requires a parameter in rsyslog.d/aeolus.conf
Product: [Retired] CloudForms Cloud Engine Reporter: Brad P. Crochet <brad>
Component: aeolus-configureAssignee: Mo Morsi <mmorsi>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, dajohnso, deltacloud-maint, dgao, jeckersb, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-30 17:16:29 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 Brad P. Crochet 2011-11-11 17:50:08 UTC
Description of problem:
rsyslog template has a parameter missing for $ActionQueueSaveOnShutdown

Version-Release number of selected component (if applicable):
aeolus-configure-2.3.0-0.20111110143552git219f023.fc15.noarch

How reproducible:
Consistently

Steps to Reproduce:
1. Install aeolus-configure RPM
2. Run aeolus-configure (any configuration will use the rsyslog template)
3.
  
Actual results:
/etc/rsyslog.d/aeolus.conf contains the line:

$ActionQueueSaveOnShutdown

Expected results:
/etc/rsyslog.d/aeolus.conf should contain:
$ActionQueueSaveOnShutdown off

or 

$ActionQueueSaveOnShutdown on

depending on what is the desired default behaviour. The param is required.


Additional info:

Comment 1 John Eckersberg 2011-11-15 21:56:29 UTC
Looks like this is fixed in dc6726982792e7026773a8a2f33d75bf3e47da74:

diff --git a/recipes/aeolus/templates/rsyslog b/recipes/aeolus/templates/rsyslog
index 4493302..a408d3c 100644
--- a/recipes/aeolus/templates/rsyslog
+++ b/recipes/aeolus/templates/rsyslog
@@ -6,20 +6,24 @@ $WorkDirectory /rsyslog/work
 $ActionQueueType LinkedList
 $ActionQueueFileName srvrfwd
 $ActionResumeRetryCount -1
-$ActionQueueSaveOnShutdown
+$ActionQueueSaveOnShutdown on

Comment 2 Mo Morsi 2011-12-08 14:24:27 UTC
Yes verified that this has been resolved w/ that commit, moving to ON_QA

Comment 3 Aziza Karol 2012-01-03 05:49:36 UTC
rsyslog configuration ($ActionQueueSaveOnShutdown) has a parameter in rsyslog.d/aeolus.conf 

#cat /etc/rsyslog.d/aeolus.conf

# setup on disk queue
$ModLoad imuxsock
$WorkDirectory /rsyslog/work
$ActionQueueType LinkedList
$ActionQueueFileName srvrfwd
$ActionResumeRetryCount -1
$ActionQueueSaveOnShutdown on


verified on:
[root@dell-pe1950-01 ~]# rpm  -qa | grep aeolus
aeolus-conductor-daemons-0.8.0-0.20111222233342gitd98cb57.el6.noarch
rubygem-aeolus-image-0.3.0-0.20111222173411gitc13b654.el6.noarch
rubygem-aeolus-cli-0.3.0-0.20111222173356git3cd6277.el6.noarch
aeolus-all-0.8.0-0.20111222233342gitd98cb57.el6.noarch
aeolus-configure-2.5.0-0.20111222173430git17b704a.el6.noarch
aeolus-conductor-0.8.0-0.20111222233342gitd98cb57.el6.noarch
aeolus-conductor-doc-0.8.0-0.20111222233342gitd98cb57.el6.noarch