modified to fix the internal Admin URL issue in ODL. 83/16083/2
authorNarinder Gupta <narinder.gupta@canonical.com>
Wed, 29 Jun 2016 03:33:01 +0000 (22:33 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Wed, 29 Jun 2016 03:35:39 +0000 (22:35 -0500)
Change-Id: I83955f135a6288d396e68be30909078c81cb7141
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/01-deploybundle.sh
ci/odl/juju-deployer/ovs-odl-ha.yaml
ci/onos/juju-deployer/ovs-onos-ha.yaml
ci/opencontrail/juju-deployer/ovs-opencontrail-tip.yaml

index 41a443b..7748b00 100755 (executable)
@@ -34,7 +34,7 @@ check_status() {
     while [ $retval -eq 0 ]; do
        sleep 30
        juju status > status.txt
-       if [ "$(grep -c "executing" status.txt )" -ge 1 ]; then
+       if [ "$(grep -c "executing" status.txt )" -ge 2 ]; then
            echo " still executing the reltionship within charms ..."
            if [ $timeoutiter -ge 60 ]; then
                retval=1
index aa6ec91..80dc855 100644 (file)
@@ -16,6 +16,8 @@ trusty-mitaka:
     #ceph-osd-replication-count: 2
     admin-role: admin
     keystone-admin-role: admin
+    use-internal-endpoints: true
+    #os-public-hostname: pod.maas
 
 openstack-phase1:
   services:
@@ -24,46 +26,6 @@ openstack-phase1:
       num_units: 5
     ntp:
       charm: "local:trusty/ntp"
-    hacluster-keystone:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-    hacluster-cinder:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-    hacluster-heat:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-    hacluster-horizon:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-    hacluster-nova:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-    hacluster-neutron:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-    hacluster-glance:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-    hacluster-ceilometer:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-    hacluster-mysql:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-#    hacluster-ceph-radosgw:
-#      charm: "local:trusty/hacluster"
-#      options:
-#        corosync_transport: unicast
     mysql:
       charm: "local:trusty/percona-cluster"
       num_units: 3
@@ -175,6 +137,7 @@ openstack-phase1:
       charm: local:trusty/openstack-dashboard
       num_units: 3
       options:
+        endpoint-type: internalURL
         secret: admin
         vip: 10.4.1.11
         webroot: /
@@ -203,6 +166,7 @@ openstack-phase1:
       options:
         console-access-protocol: novnc
         network-manager: Neutron
+        #console-proxy-ip: pod.maas
         #service-guard: true
         vip: 10.4.1.16
         #os-public-hostname: api.public-fqdn
@@ -235,8 +199,6 @@ openstack-phase1:
       options:
         install-url: "https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.4.2-Beryllium-SR2/distribution-karaf-0.4.2-Beryllium-SR2.tar.gz"
         profile: "openvswitch-odl-beryllium"
-        http-proxy: "http://squid.internal:3128"
-        https-proxy: "http://squid.internal:3128"
       to:
         - "lxc:nodes=0"
     glance:
@@ -259,6 +221,46 @@ openstack-phase1:
         #source-branch: stable/mitaka
       to:
         - "lxc:nodes=0"
+    hacluster-keystone:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+    hacluster-cinder:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+    hacluster-heat:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+    hacluster-horizon:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+    hacluster-nova:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+    hacluster-neutron:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+    hacluster-glance:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+    hacluster-ceilometer:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+    hacluster-mysql:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+#    hacluster-ceph-radosgw:
+#      charm: "local:trusty/hacluster"
+#      options:
+#        corosync_transport: unicast
   relations:
     - - "ntp:juju-info"
       - "nodes:juju-info"
index 06cb501..aab64ea 100644 (file)
@@ -16,6 +16,8 @@ trusty-mitaka:
     #ceph-osd-replication-count: 2
     admin-role: admin
     keystone-admin-role: admin
+    use-internal-endpoints: true
+    #os-public-hostname: pod.maas
 
 openstack-phase1:
   services:
@@ -24,34 +26,6 @@ openstack-phase1:
       num_units: 5
     ntp:
       charm: "local:trusty/ntp"
-    hacluster-keystone:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-    hacluster-horizon:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-    hacluster-nova:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-    hacluster-neutron:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-    hacluster-glance:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-    hacluster-ceilometer:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
-    hacluster-mysql:
-      charm: "local:trusty/hacluster"
-      options:
-        corosync_transport: unicast
     mysql:
       charm: "local:trusty/percona-cluster"
       num_units: 3
@@ -152,6 +126,7 @@ openstack-phase1:
         secret: admin
         vip: 10.4.1.11
         webroot: /
+        endpoint-type: internalURL
       to:
         - "lxc:nodes=2"
         - "lxc:nodes=3"
@@ -178,6 +153,7 @@ openstack-phase1:
         console-access-protocol: novnc
         network-manager: Neutron
         #service-guard: true
+        #console-proxy-ip: pod.maas
         vip: 10.4.1.16
       to:
         - "lxc:nodes=3"
@@ -229,6 +205,34 @@ openstack-phase1:
         #source-branch: stable/mitaka
       to:
         - "lxc:nodes=0"
+    hacluster-keystone:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+    hacluster-horizon:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+    hacluster-nova:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+    hacluster-neutron:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+    hacluster-glance:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+    hacluster-ceilometer:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
+    hacluster-mysql:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_transport: unicast
   relations:
     - - "ntp:juju-info"
       - "nodes:juju-info"
index 0a24d90..a19d84a 100644 (file)
@@ -80,7 +80,7 @@ contrail:
       to:
         - "lxc:nodes=0"
     contrail-control:
-      charm: lcoal:trusty/contrail-control
+      charm: local:trusty/contrail-control
       to:
         - "lxc:nodes=1"
     contrail-analytics: