Fix Neutron recreate db timeout

This fixes default puppet 300s tiemout for neutron-recreate-db
command. Under virtualised HA test conditions it usually takes
almost 300s, and sometimes times-out.

Change-Id: Ic48d63b9053ff704e54253c14b563a66ec5628ff
This commit is contained in:
Samir Ibradžić 2016-03-01 19:37:13 +09:00
parent 549f09615e
commit f619a12fcb
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ exec { 'grant_neutron_db':
exec { 'neutron_db_sync':
command => 'neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini upgrade head',
path => '/usr/bin',
timeout => 500,
}
Exec['drop_neutron_db'] -> Exec['create_neutron_db'] -> Exec['grant_neutron_db'] -> Exec['neutron_db_sync']