Bug fix: Correct the ips in the config 77/64477/3
authorManuel Buil <mbuil@suse.com>
Mon, 5 Nov 2018 09:35:09 +0000 (10:35 +0100)
committerManuel Buil <mbuil@suse.com>
Mon, 5 Nov 2018 13:26:02 +0000 (14:26 +0100)
When doing ha, controllers get the .11, .14 and .15 whereas computes
get the .12 and .13. The current config was wrong

deploy-scenario:os-nosdn-nofeature
installer-type:osa

Change-Id: Ie6b05990764c796577c6768028191a752be24d11
Signed-off-by: Manuel Buil <mbuil@suse.com>
scenarios/os-nosdn-nofeature/role/os-nosdn-nofeature/files/ha/openstack_user_config.yml
scenarios/os-odl-nofeature/role/os-odl-nofeature/files/ha/openstack_user_config.yml

index 1aaf84d..d412da9 100644 (file)
@@ -77,18 +77,18 @@ shared-infra_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # repository (apt cache, python packages, etc)
 repo-infra_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # load balancer
 # Ideally the load balancer should not use the Infrastructure hosts.
@@ -97,9 +97,9 @@ haproxy_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # rsyslog server
 # log_hosts:
@@ -115,18 +115,18 @@ identity_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # cinder api services
 storage-infra_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # glance
 # The settings here are repeated for each infra host.
@@ -139,27 +139,27 @@ image_hosts:
     container_vars:
       limit_container_types: glance
       glance_nfs_client:
-        - server: "172.29.244.14"
+        - server: "172.29.244.12"
           remote_path: "/images"
           local_path: "/var/lib/glance/images"
           type: "nfs"
           options: "_netdev,auto"
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
     container_vars:
       limit_container_types: glance
       glance_nfs_client:
-        - server: "172.29.244.14"
+        - server: "172.29.244.12"
           remote_path: "/images"
           local_path: "/var/lib/glance/images"
           type: "nfs"
           options: "_netdev,auto"
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
     container_vars:
       limit_container_types: glance
       glance_nfs_client:
-        - server: "172.29.244.14"
+        - server: "172.29.244.12"
           remote_path: "/images"
           local_path: "/var/lib/glance/images"
           type: "nfs"
@@ -170,43 +170,43 @@ compute-infra_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # heat
 orchestration_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # horizon
 dashboard_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # neutron server, agents (L3, etc)
 network_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # nova hypervisors
 compute_hosts:
   compute00:
-    ip: 172.29.236.14
+    ip: 172.29.236.12
   compute01:
-    ip: 172.29.236.15
+    ip: 172.29.236.13
 
 # cinder volume hosts (NFS-backed)
 # The settings here are repeated for each infra host.
@@ -225,10 +225,10 @@ storage_hosts:
           nfs_mount_options: "rsize=65535,wsize=65535,timeo=1200,actimeo=120"
           nfs_shares_config: /etc/cinder/nfs_shares
           shares:
-            - ip: "172.29.244.14"
+            - ip: "172.29.244.12"
               share: "/volumes"
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
     container_vars:
       cinder_backends:
         limit_container_types: cinder_volume
@@ -238,10 +238,10 @@ storage_hosts:
           nfs_mount_options: "rsize=65535,wsize=65535,timeo=1200,actimeo=120"
           nfs_shares_config: /etc/cinder/nfs_shares
           shares:
-            - ip: "172.29.244.14"
+            - ip: "172.29.244.12"
               share: "/volumes"
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
     container_vars:
       cinder_backends:
         limit_container_types: cinder_volume
@@ -251,5 +251,5 @@ storage_hosts:
           nfs_mount_options: "rsize=65535,wsize=65535,timeo=1200,actimeo=120"
           nfs_shares_config: /etc/cinder/nfs_shares
           shares:
-            - ip: "172.29.244.14"
+            - ip: "172.29.244.12"
               share: "/volumes"
index 6877ada..7741e7e 100644 (file)
@@ -78,18 +78,18 @@ shared-infra_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # repository (apt cache, python packages, etc)
 repo-infra_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # load balancer
 # Ideally the load balancer should not use the Infrastructure hosts.
@@ -98,9 +98,9 @@ haproxy_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # rsyslog server
 # log_hosts:
@@ -116,18 +116,18 @@ identity_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # cinder api services
 storage-infra_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # glance
 # The settings here are repeated for each infra host.
@@ -140,27 +140,27 @@ image_hosts:
     container_vars:
       limit_container_types: glance
       glance_nfs_client:
-        - server: "172.29.244.14"
+        - server: "172.29.244.12"
           remote_path: "/images"
           local_path: "/var/lib/glance/images"
           type: "nfs"
           options: "_netdev,auto"
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
     container_vars:
       limit_container_types: glance
       glance_nfs_client:
-        - server: "172.29.244.14"
+        - server: "172.29.244.12"
           remote_path: "/images"
           local_path: "/var/lib/glance/images"
           type: "nfs"
           options: "_netdev,auto"
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
     container_vars:
       limit_container_types: glance
       glance_nfs_client:
-        - server: "172.29.244.14"
+        - server: "172.29.244.12"
           remote_path: "/images"
           local_path: "/var/lib/glance/images"
           type: "nfs"
@@ -171,52 +171,52 @@ compute-infra_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # heat
 orchestration_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # horizon
 dashboard_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # neutron server, agents (L3, etc)
 network_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # ceilometer
 metering-infra_hosts:
   controller00:
     ip: 172.29.236.11
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
 
 # nova hypervisors
 compute_hosts:
   compute00:
-    ip: 172.29.236.14
+    ip: 172.29.236.12
   compute01:
-    ip: 172.29.236.15
+    ip: 172.29.236.13
 
 # cinder volume hosts (NFS-backed)
 # The settings here are repeated for each infra host.
@@ -235,10 +235,10 @@ storage_hosts:
           nfs_mount_options: "rsize=65535,wsize=65535,timeo=1200,actimeo=120"
           nfs_shares_config: /etc/cinder/nfs_shares
           shares:
-            - ip: "172.29.244.14"
+            - ip: "172.29.244.12"
               share: "/volumes"
   controller01:
-    ip: 172.29.236.12
+    ip: 172.29.236.14
     container_vars:
       cinder_backends:
         limit_container_types: cinder_volume
@@ -248,10 +248,10 @@ storage_hosts:
           nfs_mount_options: "rsize=65535,wsize=65535,timeo=1200,actimeo=120"
           nfs_shares_config: /etc/cinder/nfs_shares
           shares:
-            - ip: "172.29.244.14"
+            - ip: "172.29.244.12"
               share: "/volumes"
   controller02:
-    ip: 172.29.236.13
+    ip: 172.29.236.15
     container_vars:
       cinder_backends:
         limit_container_types: cinder_volume
@@ -261,5 +261,5 @@ storage_hosts:
           nfs_mount_options: "rsize=65535,wsize=65535,timeo=1200,actimeo=120"
           nfs_shares_config: /etc/cinder/nfs_shares
           shares:
-            - ip: "172.29.244.14"
+            - ip: "172.29.244.12"
               share: "/volumes"