devstack: Bump alive_timeout
Bump alive timeout to 60s to deal with slow qemu instances. Also, give astara more time to recover from a degraded cluster. This can be slow to recover when a slow qemu node is waiting on a long-running config update. Change-Id: I491b96c43d898f7a961725e4f5720af7b9547038
This commit is contained in:
parent
f4cfb48080
commit
93261b2a1a
|
@ -43,8 +43,6 @@ class AstaraRouterTestBase(base.AstaraFunctionalBase):
|
|||
router = self.neutronclient.show_router(self.router['id'])
|
||||
self.router = router['router']
|
||||
|
||||
HA_ROUTER = False
|
||||
|
||||
@property
|
||||
def router_ha(self):
|
||||
router = self.admin_clients.neutronclient.show_router(
|
||||
|
@ -69,7 +67,7 @@ class TestAstaraHARouter(AstaraRouterTestBase):
|
|||
time.sleep(CONF.health_check_period)
|
||||
|
||||
service_instances = self.get_router_appliance_server(
|
||||
self.router['id'], ha_router=self.HA_ROUTER)
|
||||
self.router['id'], retries=600, ha_router=self.HA_ROUTER)
|
||||
self.assertEqual(len(service_instances), 2)
|
||||
self.assertEqual(service_instances[0], backup)
|
||||
|
||||
|
|
|
@ -51,6 +51,7 @@ function configure_astara() {
|
|||
# NOTE(adam_g) When running in the gate on slow VMs, gunicorn workers in the appliance
|
||||
# sometimes hang during config update and eventually timeout after 60s. Update
|
||||
# config_timeout in the RUG to reflect that timeout.
|
||||
iniset $ASTARA_CONF DEFAULT alive_timeout 60
|
||||
iniset $ASTARA_CONF DEFAULT config_timeout 600
|
||||
|
||||
iniset $ASTARA_CONF DEFAULT enabled_drivers $ASTARA_ENABLED_DRIVERS
|
||||
|
|
Loading…
Reference in New Issue