[Linux-cluster] [PATCH] fix rps-10 bug where an option was not specified

Lon Hohberger lhh at redhat.com
Wed Oct 3 20:55:30 UTC 2007


On Wed, 2007-10-03 at 16:48 -0400, Lon Hohberger wrote:
> On Wed, 2007-10-03 at 12:53 +0100, Ben Yarwood wrote:
> > I think the documentation for using the rps10 fence device is incorrect
> > (http://sources.redhat.com/cluster/doc/cluster_schema_rhel5.html), or else there is a bug in the fence agent in rhel5:
> > 
> > The doc does not mention that you must specify an "option" attribute or else the agent returns an error.  Eg.
> > 
> > <fencedevice agent="fence_rps10" name="rps10" device="/dev/ttyS0" port="0" option="reboot" />
> >   
> > will work but without the "option" attribute you get the error:
> > 
> > failed: operation must be 'on', 'off', or 'reboot'
> 
> Ouch.  Could you file a bz?  It should default to reboot if unspecified.

-- Lon

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rps10-option.patch
Type: text/x-patch
Size: 1241 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20071003/34654e27/attachment.bin>


More information about the Linux-cluster mailing list