Bug 241217
| Summary: | fence_apc 1.32.45 doesn't work | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Cluster Suite | Reporter: | Jonny <jschulz> |
| Component: | fence | Assignee: | Marek Grac <mgrac> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Cluster QE <mspqa-list> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4 | CC: | cluster-maint, mgrac, newbery |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-03-04 09:43:52 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jonny
2007-05-24 13:34:58 UTC
I see the same error with fence-1.32.45-1.0.1 on an i686 system. This is definitely a regression from 1.32.25-1 which I was using before the upgrade to 4U5. APC details: Model: AP7920 Manufacture Date: 07/02/2006 Hardware Revision: B2 Network Management Card AOS: 2.7.0 Rack PDU APP: 2.7.3 Here's the relevant piece of code:
elif i.find(DEVICE_MANAGER) != (-1):
if switchnum != "":
res = switchnum + "\r"
else:
res = "3\r"
return (NOT_COMPLETE, res)
which operaties on the following menu:
------- Device Manager --------------------------------------------------------
1- Phase Monitor
2- Outlet Control
3- Power Supply Status
Looks like the code is assuming "Outlet Control" will be option 3, which it
isn't in this case. The old version uses a regular expression to identifiy the
correct option which succeeds.
This is a duplicate of 246216 *** This bug has been marked as a duplicate of 246216 *** There will be new fence agent for APC in RHCS 4.8 (same as in 5.3) which includes ssh support, non-root accounts support and also fix for this problem. |