Bug 634567 - Rework fence_vmware fence agent to use SOAP API to connect to Virtual Center instead of VMware Perl API
Summary: Rework fence_vmware fence agent to use SOAP API to connect to Virtual Center ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cman
Version: 5.5
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Marek Grac
QA Contact: Cluster QE
URL:
Whiteboard:
: 590697 (view as bug list)
Depends On: 668522 681834
Blocks: 688385 688387 688389 688390 693433
TreeView+ depends on / blocked
 
Reported: 2010-09-16 11:55 UTC by Perry Myers
Modified: 2011-07-21 07:15 UTC (History)
7 users (show)

Fixed In Version: cman-2.0.115-84.el5
Doc Type: Bug Fix
Doc Text:
Clone Of: 624673
: 693433 (view as bug list)
Environment:
Last Closed: 2011-07-21 07:15:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 624673 0 high CLOSED Rework fence_vmware fence agent to use SOAP API to connect to Virtual Center instead of VMware Perl API 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2011:1001 0 normal SHIPPED_LIVE cman bug-fix and enhancement update 2011-07-20 15:44:50 UTC

Internal Links: 624673

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


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