Bug 718207 - fence_ilo fails silently when pyOpenSSL is not installed
Summary: fence_ilo fails silently when pyOpenSSL is not installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: fence-agents
Version: 6.2
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Fabio Massimo Di Nitto
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On: 698002
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-01 12:01 UTC by Marek Grac
Modified: 2011-12-06 12:22 UTC (History)
7 users (show)

Fixed In Version: fence-agents-3.1.5-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 698002
Environment:
Last Closed: 2011-12-06 12:22:58 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1599 0 normal SHIPPED_LIVE fence-agents bug fix and enhancement update 2011-12-06 00:51:16 UTC

Description Marek Grac 2011-07-01 12:01:05 UTC
+++ This bug was initially created as a clone of Bug #698002 +++

Description of problem:

The cman RPM does not depend on pyOpenSSL, and fence_ilo simply fails with "Unable to connect/login to fencing device", regardless if '-v' or '-D /tmp/foo' are passed. This makes it very difficult to sort out what is wrong.

It is true that the fence_ilo man page indicates that this is a required package, but it is easily missed when people skip the DESCRIPTION section and go right to reading the switches.

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

cman-2.0.115-68.el5.x86_64
fence_ilo: FENCE_RELEASE_NAME="2.0.115";

How reproducible:

100%

Steps to Reproduce:
1. Uninstall pyOpenSSL
2. Run 'fence_ilo -a <ip> -l <user> -p <pass> -o reboot
3.
  
Actual results:

Fails with a generic error message

Expected results:

Report that a dependent package is missing.

Additional info:

--- Additional comment from zidek on 2011-05-24 06:52:05 EDT ---

cman should be dependent on pyOpenSSL. Today I run into huge problems after cluster split brain condition with this error.

Comment 1 Madison Kelly 2011-07-01 16:08:05 UTC
You created an identical Bug #718208 against RHEL 5.6. Did you test against both distribution versions?

Comment 6 Radek Steiger 2011-10-18 10:52:51 UTC
Marking as VERIFIED for fence-agents-3.1.5-10.el6

Since the only change is the rpm package dependency list, tested simply by calling:

[root@z1 tmp]# rpm -e pyOpenSSL
error: Failed dependencies:
	pyOpenSSL is needed by (installed) rhnlib-2.5.22-12.el6.noarch
	pyOpenSSL is needed by (installed) fence-agents-3.1.5-10.el6.i686
	pyOpenSSL is needed by (installed) python-paste-1.7.4-1.el6.noarch
	pyOpenSSL is needed by (installed) python-paste-script-1.7.3-4.el6.noarch


The rpm error clearly shows that pyOpenSSL cannot be removed without removing fence-agents as well, therefore solves the original issue.

Comment 7 errata-xmlrpc 2011-12-06 12:22:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1599.html


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