Bug 634567

Summary: Rework fence_vmware fence agent to use SOAP API to connect to Virtual Center instead of VMware Perl API
Product: Red Hat Enterprise Linux 5 Reporter: Perry Myers <pmyers>
Component: cmanAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: high Docs Contact:
Priority: high    
Version: 5.5CC: cluster-maint, edamato, jentrena, rohara, ssaha, tao, tdunnon
Target Milestone: rcKeywords: ReleaseNotes
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cman-2.0.115-84.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 624673
: 693433 (view as bug list) Environment:
Last Closed: 2011-07-21 07:15:50 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: 668522, 681834    
Bug Blocks: 688385, 688387, 688389, 688390, 693433    

Description Perry Myers 2010-09-16 11:55:23 UTC
+++ This bug was initially created as a clone of Bug #624673 +++

Description of problem:
Existing fence_vmware uses 3rd party RPM dependency from VMware (VMware Perl API).  libvirt VMware/ESX driver implemented a SOAP method to connect to Virtual Center.

libvirt usage is fairly different than what we want for a general fence agent, so it's been recommended by libvirt team that we lift their SOAP code (just the parts of it that we need for the fence agent) and use it to rework the fence_vmware agent.

--- Additional comment from rohara on 2010-08-30 14:13:27 EDT ---

Doing this will allow us to remove fence_vmware_helper.pl and fence_vware can be exclusively Python code. This will likely create a dependency on a SOAP module to be pulled into Pyton, such as SOAPy.

The vmware web site has a "VMware Infrastructure SDK Programming Guide" that seems helpful, too. Basic power on/off operations are PowerOnVM_Task and PowerOffVM_Task. Also look at libvirt, which uses a C API but has some python code to generate the SOAP code. This is more than we need for fence_vmware, but might be a handy reference.

--- Additional comment from pmyers on 2010-09-16 07:53:33 EDT ---

*** Bug 486207 has been marked as a duplicate of this bug. ***

Comment 1 Perry Myers 2010-09-23 19:06:41 UTC
*** Bug 590697 has been marked as a duplicate of this bug. ***

Comment 3 RHEL Program Management 2011-01-11 20:24:06 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 4 RHEL Program Management 2011-01-11 22:20:50 UTC
This request was erroneously denied for the current release of
Red Hat Enterprise Linux.  The error has been fixed and this
request has been re-proposed for the current release.

Comment 12 errata-xmlrpc 2011-07-21 07:15:50 UTC
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-2011-1001.html