Why do I see python exception error with fence_cisco_ucs agent in RHEL 6.3?
Issue
- The fencing on cluster running on Cisco UCS hardware seems to no longer work with
fence_cisco_ucs. - fence_cisco_ucs is failing with python call trace.
- The firmware of the
Cisco UCS Managerwas upgraded from v1.4 to v2.0(3a). - Following error is seen on the cluster nodes for the fence device:
Oct 21 02:37:05 htf-vpenguin03 fenced[72988]: fence dev 0.0 agent fence_cisco_ucs result: error from agent
Oct 21 02:37:05 htf-vpenguin03 fenced[72988]: fence failed
Oct 21 02:37:08 htf-vpenguin03 fenced[72988]: fencing node
Oct 21 02:37:12 htf-vpenguin03 abrt: detected unhandled Python exception in '/usr/sbin/fence_cisco_ucs'
- Running the command manually shows the following error:
[root@htf-vpenguin02:/root]# fence_cisco_ucs -o status -a -l Linux -p L1nux@dm1n -z -u 443 -n R1-Linux-KVM11 --suborg="/org-Linux" -v
Traceback (most recent call last):
File "/usr/sbin/fence_cisco_ucs", line 147, in <module>
main()
File "/usr/sbin/fence_cisco_ucs", line 120, in main
res = send_command(options, "<aaaLogin inName=\"" + options["-l"] + "\" inPassword=\"" + options["-p"] + "\" />")
File "/usr/sbin/fence_cisco_ucs", line 92, in send_command
c.perform()
pycurl.error: (28, 'Operation timed out after 3000 milliseconds with 0 bytes received')
Environment
- Red Hat Enterprise Linux Server 5 (with the High Availability and Resilient Storage Add Ons)
- Red Hat Enterprise Linux Server 6 (with the High Availability and Resilient Storage Add Ons)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
