Increse api_max_retries and api_retry_interval for ironic

There is no way to upgrade ironic before nova because of
grenade design. In multinode job we do not restart nova
as we test partial upgrade of ironic there.
On slow nodes upgrading ironic takes time and nova looses
ironic connectivity

This patch increases api_retry_interval and api_max_retries
to make sure we have a time to upgrade ironic before nova
compute stuck.

Change-Id: I3b1429d6561431a82edda04a0e574cac38771837
This commit is contained in:
Vasyl Saienko 2018-01-23 12:06:57 +02:00
parent 12a9f246ef
commit 851bc53dfa
1 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,9 @@ function configure_nova_hypervisor {
iniset $NOVA_CONF ironic project_domain_id default
iniset $NOVA_CONF ironic user_domain_id default
iniset $NOVA_CONF ironic project_name demo
iniset $NOVA_CONF ironic api_max_retries 300
iniset $NOVA_CONF ironic api_retry_interval 5
}
# install_nova_hypervisor() - Install external components