fence_vmware_soap fails with Traceback - KeyError: 'config.uuid'

Solution Unverified - Updated -

Issue

When fencing a vmware host using fence_vmware_host you get a error message:

Traceback (most recent call last):
  File "/sbin/fence_vmware_soap", line 203, in ?
    main()
  File "/sbin/fence_vmware_soap", line 190, in main
    result = fence_action(conn, options, set_power_status, get_power_status, get_power_status)
  File "/usr/lib/fence/fencing.py", line 778, in fence_action
    outlets = get_outlet_list(tn, options)
  File "/sbin/fence_vmware_soap", line 102, in get_power_status
    (more_machines, more_uuid, more_mappingToUUID) = process_results(raw_machines, {}, {}, {})
  File "/sbin/fence_vmware_soap", line 48, in process_results
    machines[info["name"]] = (info["config.uuid"], info["summary.runtime.powerState"])
KeyError: 'config.uuid'

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

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