Minor fixes in Octavia simple plugins
Change-Id: I7535f71d95abd30fae4279fefb3e7e9ccad2f154
This commit is contained in:
parent
24f3eec46d
commit
d4aea5f0ef
@ -115,7 +115,7 @@ class OctaviaCreateLoadbalancerListenersPoolsMembers(vm_utils.VMScenario,
|
|||||||
except exceptions.OctaviaClientException as e:
|
except exceptions.OctaviaClientException as e:
|
||||||
# retry for 409 return code
|
# retry for 409 return code
|
||||||
if e.code == 409:
|
if e.code == 409:
|
||||||
attempts += attempts
|
attempts += 1
|
||||||
time.sleep(120)
|
time.sleep(120)
|
||||||
self.octavia.wait_for_loadbalancer_prov_status(lb)
|
self.octavia.wait_for_loadbalancer_prov_status(lb)
|
||||||
continue
|
continue
|
||||||
|
@ -138,7 +138,7 @@ class OctaviaFullyPopulatedLoadbalancer(vm_utils.VMScenario, neutron_utils.Neutr
|
|||||||
LOG.info("cmd: {}, stdout:{}".format(cmd, stdout_test))
|
LOG.info("cmd: {}, stdout:{}".format(cmd, stdout_test))
|
||||||
if test_exitcode != 0 and stdout_test != 1:
|
if test_exitcode != 0 and stdout_test != 1:
|
||||||
LOG.error("ERROR with HTTP response {}".format(cmd))
|
LOG.error("ERROR with HTTP response {}".format(cmd))
|
||||||
attempts += attempts
|
attempts += 1
|
||||||
time.sleep(30)
|
time.sleep(30)
|
||||||
else:
|
else:
|
||||||
LOG.info("cmd: {} succesful".format(cmd))
|
LOG.info("cmd: {} succesful".format(cmd))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user