Workaround for virtualbox domain resuming
Change-Id: I0675f0ab7a82d4928aa44427250ddb1f0c7d85c2 Closes-Bug: #1376791
This commit is contained in:
parent
7346289f23
commit
37794d367d
|
@ -327,7 +327,9 @@ class DevopsDriver(object):
|
|||
:type node: Node
|
||||
:rtype : None
|
||||
"""
|
||||
self.conn.lookupByUUIDString(node.uuid).resume()
|
||||
domain = self.conn.lookupByUUIDString(node.uuid)
|
||||
if domain.state == libvirt.VIR_DOMAIN_PAUSED:
|
||||
domain.resume()
|
||||
|
||||
@retry()
|
||||
def node_shutdown(self, node):
|
||||
|
|
Loading…
Reference in New Issue