Skip to content
Permalink
Browse files

Merge pull request #277 from dwannamaker-onr/patch-1

Fixed issue with SUSPENDED VMs
  • Loading branch information...
oalbrigt committed Jun 26, 2019
2 parents 1ca6495 + 33a638f commit 22e716dd2feeafd6b698622404ba181ecc12d3c4
Showing with 1 addition and 1 deletion.
  1. +1 −1 agents/vmware_rest/fence_vmware_rest.py
@@ -8,7 +8,7 @@
from fencing import *
from fencing import fail, run_delay, EC_LOGIN_DENIED, EC_STATUS

state = {"POWERED_ON": "on", 'POWERED_OFF': "off"}
state = {"POWERED_ON": "on", 'POWERED_OFF': "off", 'SUSPENDED': "off"}

def get_power_status(conn, options):
res = send_command(conn, "vcenter/vm?filter.names={}".format(options["--plug"]))["value"]

0 comments on commit 22e716d

Please sign in to comment.
You can’t perform that action at this time.