20610: Updates arvados' pillar to handle the dispatcher's IP separately.
authorLucas Di Pentima <lucas.dipentima@curii.com>
Thu, 29 Jun 2023 19:13:06 +0000 (16:13 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Thu, 29 Jun 2023 21:08:15 +0000 (18:08 -0300)
Also, re-arranges the _INT_IP envvars to be more explicit about IP sharing.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

tools/salt-install/config_examples/multi_host/aws/pillars/arvados.sls
tools/salt-install/local.params.example.multiple_hosts

index 98fcf5f6d93da173b97cbda753afce9b155689e5..b3b4d447aaa474bd05c566b44e4add2fd01b42f9 100644 (file)
@@ -160,7 +160,7 @@ arvados:
           'http://localhost:8003': {}
       DispatchCloud:
         InternalURLs:
-          'http://__CONTROLLER_INT_IP__:9006': {}
+          'http://__DISPATCHER_INT_IP__:9006': {}
       Keepbalance:
         InternalURLs:
           'http://__CONTROLLER_INT_IP__:9005': {}
index b26e67a1050a9f6cc490e3d5b1cf78cbc123fe37..50d3d0ca8283754068c7a5a49eada216988ddf21 100644 (file)
@@ -110,16 +110,16 @@ CLUSTER_INT_CIDR=10.1.0.0/16
 # Note the IPs in this example are shared between roles, as suggested in
 # https://doc.arvados.org/main/install/salt-multi-host.html
 CONTROLLER_INT_IP=10.1.1.11
-DISPATCHER_INT_IP=10.1.1.11
-WEBSOCKET_INT_IP=10.1.1.11
-KEEP_INT_IP=10.1.1.15
+DISPATCHER_INT_IP=${CONTROLLER_INT_IP}
+WEBSOCKET_INT_IP=${CONTROLLER_INT_IP}
+DATABASE_INT_IP=${CONTROLLER_INT_IP}
+WORKBENCH1_INT_IP=10.1.1.15
 # Both for collections and downloads
-KEEPWEB_INT_IP=10.1.1.15
+KEEPWEB_INT_IP=${WORKBENCH1_INT_IP}
+WORKBENCH2_INT_IP=${WORKBENCH1_INT_IP}
+WEBSHELL_INT_IP=${WORKBENCH1_INT_IP}
+KEEP_INT_IP=${WORKBENCH1_INT_IP}
 KEEPSTORE0_INT_IP=10.1.2.13
-WORKBENCH1_INT_IP=10.1.1.15
-WORKBENCH2_INT_IP=10.1.1.15
-WEBSHELL_INT_IP=10.1.1.15
-DATABASE_INT_IP=10.1.1.11
 SHELL_INT_IP=10.1.2.17
 
 # Load balancing settings