VMware Cloud Community
timothyg123
Contributor
Contributor

VMware SOAP API - which product feature?

I am trying to implement a RHEL 6.4 cluster (using RHEL Cluster Suite) on VMware ESXi 5.1 hosts. The VMware hosts do not have the correct feature licensed to allow the "fence_vmware_soap" agent to perform any fencing functions. I can get the RHEL nodes (via fence_vmware_soap agent) to fence if I use an evaluation license in VMware, but that enables ALL product features.

What VMware product feature do I need to license in order to allow the "fence_vmware_soap" agent to function properly?

traceback:

~]# fence_vmware_soap -z -l root -p <pass> -a 10.2.2.20 -o reboot -U 564d4a38-a5a2-7f17-eb27-799b081774b8

No handlers could be found for logger "suds.client"

Traceback (most recent call last):

  File "/usr/sbin/fence_vmware_soap", line 204, in <module>

  main()

  File "/usr/sbin/fence_vmware_soap", line 191, in main

  result = fence_action(conn, options, set_power_status, get_power_status, get_power_status)

  File "/usr/share/fence/fencing.py", line 836, in fence_action

  set_power_fn(tn, options)

  File "/usr/sbin/fence_vmware_soap", line 158, in set_power_status

  conn.service.PowerOffVM_Task(mo_machine)

  File "/usr/lib/python2.6/site-packages/suds/client.py", line 542, in __call__

  return client.invoke(args, kwargs)

  File "/usr/lib/python2.6/site-packages/suds/client.py", line 602, in invoke

  result = self.send(soapenv)

  File "/usr/lib/python2.6/site-packages/suds/client.py", line 657, in send

  result = self.failed(binding, e)

  File "/usr/lib/python2.6/site-packages/suds/client.py", line 712, in failed

  r, p = binding.get_fault(reply)

  File "/usr/lib/python2.6/site-packages/suds/bindings/binding.py", line 265, in get_fault

  raise WebFault(p, faultroot)

suds.WebFault: Server raised fault: 'Current license or ESXi version prohibits execution of the requested operation.'

0 Kudos
0 Replies