Browse Source

Increase the timeout of nova db-sync to 10 minutes

Currently, the nova-manage db_sync process takes quite long, but
still in the 5-minute timeout when running packstack on SSDs. However,
the process can take a bit longer than that when using HDDs, creating
unnecessary failures. Let's extend the timeout to increase resiliency.

Change-Id: I9586773b7f46095fb1e68e02dd30d6c1b116d213
Javier Pena 5 months ago
parent
commit
3897dc0c50
1 changed files with 10 additions and 1 deletions
  1. 10
    1
      packstack/puppet/modules/packstack/manifests/nova/api.pp

+ 10
- 1
packstack/puppet/modules/packstack/manifests/nova/api.pp View File

@@ -28,12 +28,21 @@ class packstack::nova::api ()
28 28
       metadata_listen                      => $bind_host,
29 29
       enabled                              => true,
30 30
       neutron_metadata_proxy_shared_secret => hiera('CONFIG_NEUTRON_METADATA_PW_UNQUOTED', undef),
31
-      sync_db_api                          => true,
31
+      sync_db                              => false,
32
+      sync_db_api                          => false,
32 33
       osapi_compute_workers                => hiera('CONFIG_SERVICE_WORKERS'),
33 34
       metadata_workers                     => hiera('CONFIG_SERVICE_WORKERS'),
34 35
       allow_resize_to_same_host            => hiera('CONFIG_NOVA_ALLOW_RESIZE_TO_SAME'),
35 36
     }
36 37
 
38
+    class { '::nova::db::sync':
39
+      db_sync_timeout => 600,
40
+    }
41
+
42
+    class { '::nova::db::sync_api':
43
+      db_sync_timeout => 600,
44
+    }
45
+
37 46
     class { '::nova::pci':
38 47
       aliases                              => $pci_alias,
39 48
     }

Loading…
Cancel
Save