Increase delay between VM migrations to give the cluster more time to adjust
This commit is contained in:
parent
ae6c024bc9
commit
f6f53296c9
|
@ -156,8 +156,8 @@ class NodeInstance():
|
||||||
transaction.set_data('/domains/{}/lasthypervisor'.format(dom_uuid), current_hypervisor.encode('ascii'))
|
transaction.set_data('/domains/{}/lasthypervisor'.format(dom_uuid), current_hypervisor.encode('ascii'))
|
||||||
result = transaction.commit()
|
result = transaction.commit()
|
||||||
|
|
||||||
# Wait 1s between migrations
|
# Wait 2s between migrations
|
||||||
time.sleep(1)
|
time.sleep(2)
|
||||||
|
|
||||||
self.inflush = False
|
self.inflush = False
|
||||||
|
|
||||||
|
@ -177,8 +177,8 @@ class NodeInstance():
|
||||||
transaction.set_data('/domains/{}/lasthypervisor'.format(dom_uuid), ''.encode('ascii'))
|
transaction.set_data('/domains/{}/lasthypervisor'.format(dom_uuid), ''.encode('ascii'))
|
||||||
result = transaction.commit()
|
result = transaction.commit()
|
||||||
|
|
||||||
# Wait 1s between migrations
|
# Wait 2s between migrations
|
||||||
time.sleep(1)
|
time.sleep(2)
|
||||||
|
|
||||||
self.inflush = False
|
self.inflush = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue