Skip to content

Commit

Permalink
nova: Bump timeout-per-gb for BFV rebuild ops
Browse files Browse the repository at this point in the history
This increases the timeout we use to wait for cinder to perform a
volume reimage. Since devstack is often running on a single machine
with non-production IO performance, we should bump this limit to avoid
hitting it before the rebuild completes.

Change-Id: Ie2663b951acb0c1a65597a39e032948764e6ae6a
  • Loading branch information
kk7ds committed Jun 28, 2023
1 parent 27568ea commit 58c80b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/nova
Expand Up @@ -1036,6 +1036,10 @@ function start_nova_compute {
# by the compute process.
configure_console_compute

# Set rebuild timeout longer for BFV instances because we likely have
# slower disk than expected. Default is 20s/GB
iniset $NOVA_CPU_CONF DEFAULT reimage_timeout_per_gb 60

# Configure the OVSDB connection for os-vif
if [ -n "$OVSDB_SERVER_LOCAL_HOST" ]; then
iniset $NOVA_CPU_CONF os_vif_ovs ovsdb_connection "tcp:$OVSDB_SERVER_LOCAL_HOST:6640"
Expand Down

0 comments on commit 58c80b2

Please sign in to comment.