Bug 532138
Summary: | uninitialized variable "method" in fence_ipmilan can cause breakage when trying to fence a node without explicitly specifying a value | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Chris Marcantonio <cmarcant> | ||||
Component: | cman | Assignee: | Jan Friesse <jfriesse> | ||||
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 5.4 | CC: | ccaulfie, cluster-maint, djansa, edamato, jkortus, mbrodeur, rlerch, zhe.zhang.pub | ||||
Target Milestone: | rc | Keywords: | ZStream | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | cman-2.0.115-21.el5.src.rpm | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause:
=======
User wants use fence_ipmilan agent, without specifying -M parameter.
Consequence:
============
Because memory is not properly initialized, agent called without -M parameter can:
- Use onoff method as usual and expected. OR
- Fail with message "method, if included, muse be 'onoff', 'cycle'". OR
- use cycle method
Fix:
====
Correctly initialize -M parameters memory
Result:
=======
Without using -M, default action is now correctly always onoff.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-03-30 08:38:09 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 537152, 541103 | ||||||
Attachments: |
|
Description
Chris Marcantonio
2009-10-30 20:34:41 UTC
Created attachment 366859 [details]
Proposed patch...
Patch commited to Git RHEL55 branch as SHA1: f81a8d2891bcd679b31a15f4cf3976932c58df05 Release note added. If any revisions are required, please set the "requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: ======= User wants use fence_ipmilan agent, without specifying -M parameter. Consequence: ============ Because memory is not properly initialized, agent called without -M parameter can: - Use onoff method as usual and expected. OR - Fail with message "method, if included, muse be 'onoff', 'cycle'". OR - use cycle method Fix: ==== Correctly initialize -M parameters memory Result: ======= Without using -M, default action is now correctly always onoff. I would like to know when Red Hat will ship the fix package. *** Bug 537898 has been marked as a duplicate of this bug. *** patch verified to be present in cman-2.0.115-31.el5. Random invocations did not show any error while -M not being used. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0266.html |