Increase time before running service_restarted check to avoid /proc/<pid> errors

This commit is contained in:
Liam Young 2015-02-16 16:05:10 +00:00
parent e3712301af
commit 4a1e65a8ba

View File

@ -193,7 +193,7 @@ class NeutronOVSBasicDeployment(OpenStackAmuletDeployment):
self.d.configure('neutron-openvswitch', {'use-syslog': 'True'}) self.d.configure('neutron-openvswitch', {'use-syslog': 'True'})
if not u.service_restarted(self.compute_sentry, if not u.service_restarted(self.compute_sentry,
'neutron-openvswitch-agent', conf, 'neutron-openvswitch-agent', conf,
pgrep_full=True, sleep_time=20): pgrep_full=True, sleep_time=60):
self.d.configure('neutron-openvswitch', {'use-syslog': 'False'}) self.d.configure('neutron-openvswitch', {'use-syslog': 'False'})
msg = ('service neutron-openvswitch-agent did not restart after ' msg = ('service neutron-openvswitch-agent did not restart after '
'config change') 'config change')