Bug 497452 - rgmamager's initscript calls clulog generating errors; no logs
rgmamager's initscript calls clulog generating errors; no logs
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: rgmanager (Show other bugs)
10
All Linux
low Severity medium
: ---
: ---
Assigned To: Lon Hohberger
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-23 19:08 EDT by P Jones
Modified: 2009-04-24 02:33 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-04-24 02:33:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description P Jones 2009-04-23 19:08:32 EDT
Description of problem:
"/etc/init.d/rgmamager stop" or "service rgmanager stop" causes this error:
   clulog: invalid option -- 'p'
clulog does not log what it was called to log.

Version-Release number of selected component (if applicable):
rgmanager-2.99.12-2.fc10.i686

How reproducible:
Very

Steps to Reproduce:
1. stop rgmanager (cluster does not need to be started)
2.
3.
  
Actual results:
[root@toki daemons]# service rgmanager stop
clulog: invalid option -- 'p'
clulog -s severity "message text"
Cluster Service Manager is stopped.
[root@toki daemons]# 

Expected results:
[root@toki daemons]# service rgmanager stop
Cluster Service Manager is stopped.


... and 'Shutting down Cluster Service Manager...' in /var/log/cluster/rgmanager.log

Additional info:
[root@toki daemons]# /etc/init.d/rgmanager restart
clulog: invalid option -- 'p'
clulog -s severity "message text"
Shutting down Cluster Service Manager...
Waiting for services to stop: flag_shutdown called 

# bash -x /etc/init.d/rgmanager stop
...
+ log_and_print 5 'Shutting down Cluster Service Manager...'
+ '[' -z 5 -o -z 'Shutting down Cluster Service Manager...' ']'
+ clulog -p 26657 -n rgmanager -s 5 'Shutting down Cluster Service Manager...'
clulog: invalid option -- 'p'
clulog -s severity "message text"
+ echo Shutting down Cluster Service Manager...
Shutting down Cluster Service Manager...
+ return 0
+ stop_cluster
++ pidof clurgmgrd
+ kill -TERM 26409 26408
+ '[' 0 ']'
++ pidof clurgmgrd
Comment 1 Fabio Massimo Di Nitto 2009-04-24 02:33:14 EDT
This is alredy fixed in the new versions of the packages.

A backport for F10 is planned but can't happen right away.

Note You need to log in before you can comment on or make changes to this bug.