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
| ... | ... |
@@ -58,6 +58,9 @@ function configure_nova_hypervisor {
|
| 58 | 58 |
iniset $NOVA_CONF ironic project_domain_id default |
| 59 | 59 |
iniset $NOVA_CONF ironic user_domain_id default |
| 60 | 60 |
iniset $NOVA_CONF ironic project_name demo |
| 61 |
+ |
|
| 62 |
+ iniset $NOVA_CONF ironic api_max_retries 300 |
|
| 63 |
+ iniset $NOVA_CONF ironic api_retry_interval 5 |
|
| 61 | 64 |
} |
| 62 | 65 |
|
| 63 | 66 |
# install_nova_hypervisor() - Install external components |