Increase timeout to handle multiple heat stack deploys
When multiple heat stack deployments are submitted, there is mismanagement of IP assigned and heat stack fails with duplicate IP report. The time to sleep to avoid race condition in such cases seems too less, and it was found that increasing the same works better in such case. Change-Id: I5cd6ac008f9160e35a3e70c831f8f151d0825458 Closes-Bug: #1724302
This commit is contained in:
parent
0738af993d
commit
3f0a4a88c4
@ -528,7 +528,9 @@ class PowerVCNeutronAgent(object):
|
||||
# Nova booting a vm and neutron creating new port would race the port.
|
||||
# If the neutron creates the port before booting vm,
|
||||
# the booting process would be failed as ip/port locked.
|
||||
time.sleep(15)
|
||||
# Bug#1724302 - Increase sleep time to handle IP mismanagement issue
|
||||
# related to multiple heat stack deployments with powervc-driver
|
||||
time.sleep(60)
|
||||
try:
|
||||
new_port = self.pvc.create_port(port)
|
||||
except Exception, msg:
|
||||
|
Loading…
x
Reference in New Issue
Block a user