Increase the sleep to 30 sec for discover_hosts in Nova
* Earlier the sleep was 10 sec, till that time nova-compute does not startup and register itself in these 10 seconds which leads to race condition while tempest tests. Increasing sleep will fix the issue. Change-Id: I9ad252eee056762fbaacb68f673d07a24329947f
This commit is contained in:
parent
2c9facb01f
commit
4454fbf98f
@ -74,7 +74,7 @@ class openstack_integration::nova (
|
||||
# prior to the compute being registered
|
||||
exec { 'wait-for-compute-registration':
|
||||
path => ['/bin', '/usr/bin'],
|
||||
command => 'sleep 10',
|
||||
command => 'sleep 30',
|
||||
refreshonly => true,
|
||||
notify => Class['nova::cell_v2::discover_hosts'],
|
||||
subscribe => Anchor['nova::service::end'],
|
||||
|
Loading…
Reference in New Issue
Block a user