Tempest: increase ironic sync timeout

Increase ironic_sync_timeout to 80 sec. Ironic default status check period
is 60 sec. But calling Ironic API to get node status takes some time, and
races appear, as result tempest job periodically fails. 80 sec would
be more than enough to make one more check.

Change-Id: I5fe0198b2ce2f1f0078c1d14aa1c367a71178097
This commit is contained in:
Anton Arefiev 2016-08-03 11:50:49 +03:00
parent 823f6d26a2
commit 4f1ac5f22a
1 changed files with 4 additions and 1 deletions

View File

@ -45,8 +45,11 @@ BaremetalIntrospectionGroup = [
default=300,
help="Time out for wait until nova becomes aware of "
"bare metal instances"),
# NOTE(aarefiev): status_check_period default is 60s, but checking
# node state takes some time(API call), so races appear here,
# 80s would be enough to make one more check.
cfg.IntOpt('ironic_sync_timeout',
default=60,
default=80,
help="Time it might take for Ironic--Inspector "
"sync to happen"),
]