fix rps-10 bug where an option was not specified
PATCH 1/1 fix rps-10 bug where an option was not specified
In reply to a message not in the archiveQuoted 6 lines · Lon Hohberger
Quoted 5 lines · Ben Yarwood
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.
Quoted 7 lines
Quoted 5 lines
<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/cluster-devel/attachments/20071003/34654e27/attachment.bin>