Bug 668522 - RFE: Rework fence_vmware fence agent to use SOAP API to connect to Virtual Center instead of VMware Perl API
Summary: RFE: Rework fence_vmware fence agent to use SOAP API to connect to Virtual Ce...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: fence-agents
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Marek Grac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 624673 634567 693433
TreeView+ depends on / blocked
 
Reported: 2011-01-10 17:32 UTC by Perry Myers
Modified: 2011-05-26 13:32 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 624673
Environment:
Last Closed: 2011-05-26 13:32:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Perry Myers 2011-01-10 17:32:51 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.

Comment 1 Fabio Massimo Di Nitto 2011-05-26 13:32:05 UTC
This has been in fedora for a while. Missed the BZ at release time.


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