Browse Source

Merge "Increase the timeout of nova db-sync to 10 minutes"

Zuul 5 months ago
parent
commit
dd0d57a52c
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