Red Hat Bugzilla – Bug 864028
fence_na does not support action=metadata via stdin
Last modified: 2013-03-11 11:32:07 EDT
Created attachment 629272 [details]
Basic support for XML metadata output, so corosync can identify and use this fence device.
Patch looks pretty sane to me.
Unfortunately the applied patch suffers from several mistakes.
Not knowing about this upstream fix (haven't followed master branch as
there were quite massive changes but rather RHEL6), I proposed my own
version on the list  that also (as I can now see) also not ideal
(e.g., I missed "port"), so cannot recomment following it.
However, now better educated, I can recommend considering following
mistakes for correction:
1/ fence_na has no default action
2/ fence_na has "quiet" parameter
3/ fence_na has no "help" paramater
4/ fence_na provides also these actions:
5/ "getopt" metadata annotation does not make sense
( was proposed together with following patch to drop static
non-generated part of cluster schema, which is now, also thanks to
fence_na metadata support, reasonable change to do)
partially fixed metadata output.
fence_na is no longer part of fence-agents in fedora/rawhide