Bug 102447 - AP9212 firmware breaks apcmaster STONITH driver
AP9212 firmware breaks apcmaster STONITH driver
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: clumanager (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Lon Hohberger
Depends On:
Blocks: 87937
  Show dependency treegraph
Reported: 2003-08-15 04:40 EDT by Steffen Mann
Modified: 2007-11-30 17:06 EST (History)
2 users (show)

See Also:
Fixed In Version: 1.0.25-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-12-10 16:15:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Steffen Mann 2003-08-15 04:40:32 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.11 (X11; Linux i686; U;) Gecko/20030708

Description of problem:
Clumanager software does log into APC Power Switch Model AP9212 via Telnet and
does send wrong info, instead of sending a 1 and a 1 to manage the Power Switch
it does send ESC and ESC.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.run clustermanager
2.Enjoy entrys in /var/log/messages

Actual Results:  Doesnt manage the Switch

Expected Results:  Manage the Switch

Additional info:
Comment 1 Lon Hohberger 2003-08-15 08:28:53 EDT
(on vacation today, but)

The 'escapes' are sent to ensure that the switch is at the top menu.  It
actually sends five escape characters prior to attempting to manage the switch.  

I ran a 'clustonith -S'  and 'clustonith -l' on the test boxes and it logged in,
got a status report, etc (thus showing it got past the initial sending of escape
characters).  Can you attach the log messages?

The APC MasterSwitches, if I recall correctly, can support only one login at a
time, if that helps any.
Comment 2 Lon Hohberger 2003-08-18 17:55:34 EDT
Silly me.  APC MasterSwitch STONITH Module in Red Hat Cluster Manager 1.0.19 and
prior does not support use of the power switch by a non-administrative user.

I have an erratum which needs to be pushed out which addresses this and all the
other bugs open against 1.0.19.  There's a fix for this in the devel pool, but
it has not been tested internally (hardware -- lack thereof, actually).  The
patch was submitted by Marco Lusini, and the code looks clean and appears to fix
the problem.

*** This bug has been marked as a duplicate of 78667 ***
Comment 4 Lon Hohberger 2003-08-22 14:58:53 EDT
This was a bit more difficult than I originally guessed.

In the next erratum, a new STONITH driver will be provided which fixes this
problem as well as power-cycles all ports with the given name on the APC

This driver has been tested on:
- APC MasterSwitch AP9212 revision 2.2.0
- APC MasterSwitch plus AP9225 revision 2.0.0

The apcplus driver works in both "Outlet User" and "Administrator" mode, and
should work when separate APC MasterSwitches are in use by the cluster software.

Still need to do a little more testing before releasing, but real progress ;)
Comment 5 Lon Hohberger 2003-08-25 11:09:14 EDT
Fix committed to pool; issue tracker updated.

New STONITH module: "apcplus".

Comment 6 Suzanne Hillman 2003-10-06 17:03:54 EDT
Already has errata-candidate, adding to U3 blocker bug list.

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