fence_vmware_soap on RHEL fails with the error "Current license or ESXi version prohibits execution of the requested operation"

Solution Verified - Updated -

Issue

  • When trying to use the fence_vmware_soap agent, the following traceback is produced:
# fence_vmware_soap -z -l root -p <pass> -a <ip address> -o reboot -U <uuid>
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.'

Environment

  • Red Hat Enterprise Linux Server 5, 6 and 7 (with the High Availability and Resilient Storage Add Ons)
  • The fencing agentfence_vmware_soap for VMware Virtual Machines

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.