Description of problem:
The APC fencing agent in RHCS 3 does not work with a certain version of the APC
7921 Masterswitch, when the "device" account is used. It works with the "apc"
Version-Release number of selected component (if applicable):
APC 7921 version 2.6.5
Steps to Reproduce:
1. Configure APC fencing for on of the cluster members, using the "device" account.
2. Run clufence -r <member>
3. clufence reports that fencing has failed.
Fencing only works with the "apc" account.
Fencing should work with the "device" account.
This is caused by a slight change in APC's telnet interface. With the version we
have, the user type is identified as "User : Device Manager", while apcmaster.c
looks for "User : Outlet User". The string for the "apc" account has remained
Adding support for this version of the APC 7921 should be easy, as UserType in
src/stonithlib/apcmaster.c already allows to specify multiple alternative strings.
Adding support for additional user levels is a can of worms. It is tough enough
keeping this agent running through firmware revisions with the apc account. The
apc account must remain a requirement for now.
As a work around, perhaps you could use the apc snmp agent?