Browse code

Merge "Make sure nova-compute is not configured with database access"

Zuul authored on 2018/10/19 01:58:31
Showing 1 changed files
... ...
@@ -922,6 +922,9 @@ function start_nova_compute {
922 922
         # RPC, we also disable track_instance_changes.
923 923
         iniset $NOVA_CPU_CONF filter_scheduler track_instance_changes False
924 924
         iniset_rpc_backend nova $NOVA_CPU_CONF DEFAULT "nova_cell${NOVA_CPU_CELL}"
925
+        # Make sure we nuke any database config
926
+        inidelete $NOVA_CPU_CONF database connection
927
+        inidelete $NOVA_CPU_CONF api_database connection
925 928
     fi
926 929
 
927 930
     # Console proxies were configured earlier in create_nova_conf. Now that the