summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-06-28 22:33:01 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-06-28 22:35:39 -0500
commit403471e3dae07ac8a791006d1edcd4d885d17bf2 (patch)
tree4a1b9b363078c0693a11779bde0823fbb0a8ffb1 /ci
parent9f2d0ae85f6439841c18d694064a70a2340a4b80 (diff)
modified to fix the internal Admin URL issue in ODL.
Change-Id: I83955f135a6288d396e68be30909078c81cb7141 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/01-deploybundle.sh2
-rw-r--r--ci/odl/juju-deployer/ovs-odl-ha.yaml86
-rw-r--r--ci/onos/juju-deployer/ovs-onos-ha.yaml60
-rw-r--r--ci/opencontrail/juju-deployer/ovs-opencontrail-tip.yaml2
4 files changed, 78 insertions, 72 deletions
diff --git a/ci/01-deploybundle.sh b/ci/01-deploybundle.sh
index 41a443b5..7748b005 100755
--- a/ci/01-deploybundle.sh
+++ b/ci/01-deploybundle.sh
@@ -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
diff --git a/ci/odl/juju-deployer/ovs-odl-ha.yaml b/ci/odl/juju-deployer/ovs-odl-ha.yaml
index aa6ec911..80dc8553 100644
--- a/ci/odl/juju-deployer/ovs-odl-ha.yaml
+++ b/ci/odl/juju-deployer/ovs-odl-ha.yaml
@@ -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"
diff --git a/ci/onos/juju-deployer/ovs-onos-ha.yaml b/ci/onos/juju-deployer/ovs-onos-ha.yaml
index 06cb5019..aab64eaf 100644
--- a/ci/onos/juju-deployer/ovs-onos-ha.yaml
+++ b/ci/onos/juju-deployer/ovs-onos-ha.yaml
@@ -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"
diff --git a/ci/opencontrail/juju-deployer/ovs-opencontrail-tip.yaml b/ci/opencontrail/juju-deployer/ovs-opencontrail-tip.yaml
index 0a24d900..a19d84a3 100644
--- a/ci/opencontrail/juju-deployer/ovs-opencontrail-tip.yaml
+++ b/ci/opencontrail/juju-deployer/ovs-opencontrail-tip.yaml
@@ -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: