Changes to the right files this time for OpenContrail deployment 79/22579/1
authorStuart Mackie <wsmackie@juniper.net>
Thu, 29 Sep 2016 23:05:56 +0000 (16:05 -0700)
committerStuart Mackie <wsmackie@juniper.net>
Thu, 29 Sep 2016 23:05:56 +0000 (16:05 -0700)
Change-Id: Id8a345f18bd63d8cfbb211af0d24ccc8e89d62be
Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
ci/config_tpl/bundle_tpl/oclphase1.yaml
ci/opencontrail/fetch-charms.sh

index afef96c..1acdd1c 100644 (file)
@@ -1,7 +1,7 @@
     zookeeper:
-      charm: local:precise/zookeeper
+      charm: local:{{ ubuntu.release }/zookeeper
       num_units: {{ unit_qty() }}
-      series: precise
+      series: {{ ubuntu.release }
       to:
 {% for unit_id in to_select() %}
         - "lxc:nodes={{ unit_id }}"
@@ -22,6 +22,7 @@
 {% if os.ha.mode == 'ha' %}
         vip: {{ opnfv.vip.contrailconfig }}
 {% endif %}
+      install-sources: ppa:opencontrail/trunk-20160812
       to:
 {% for unit_id in to_select() %}
         - "lxc:nodes={{ unit_id }}"
@@ -29,6 +30,7 @@
     contrail-control:
       charm: local:{{ ubuntu.release }}/contrail-control
       num_units: {{ unit_qty() }}
+      install-sources: ppa:opencontrail/trunk-20160812
       to:
 {% for unit_id in to_select() %}
         - "lxc:nodes={{ unit_id }}"
@@ -36,6 +38,7 @@
     contrail-analytics:
       charm: local:{{ ubuntu.release }}/contrail-analytics
       num_units: {{ unit_qty() }}
+      install-sources: ppa:opencontrail/trunk-20160812
       to:
 {% for unit_id in to_select() %}
         - "lxc:nodes={{ unit_id }}"
@@ -43,6 +46,7 @@
     contrail-webui:
       charm: local:{{ ubuntu.release }}/contrail-webui
       num_units: {{ unit_qty() }}
+      install-sources: ppa:opencontrail/trunk-20160812
       to:
 {% for unit_id in to_select() %}
         - "lxc:nodes={{ unit_id }}"
 {% for unit_id in to_select() %}
         - "lxc:nodes={{ unit_id }}"
 {% endfor %}
+    kafka:
+      charm: local:{{ ubuntu.release }}/kafka:
+      num_units: {{ unit_qty() }}
+      to:
+{% for unit_id in to_select() %}
+        - "lxc:nodes={{ unit_id }}"
+{% endfor %}
+
index 9ba9bc6..67fa53c 100755 (executable)
@@ -4,22 +4,23 @@ distro=$1
 mkdir precise
 mkdir -p $distro
 
-function build {
-    sudo apt-get install charm-tools -y
-    (cd $distro/charm-$1; charm build -s $distro  -obuild src)
-    mv $distro/charm-$1/build/$distro/$1 $distro
-}
+#function build {
+#    sudo apt-get install charm-tools -y
+#    (cd $distro/charm-$1; charm build -s $distro  -obuild src)
+#    mv $distro/charm-$1/build/$distro/$1 $distro
+#}
 
 # openstack
-bzr branch lp:~narindergupta/charms/trusty/promise/trunk $distro/promise
-bzr branch lp:~billy-olsen/charms/xenial/mongodb/trunk $distro/mongodb
-bzr branch lp:~narindergupta/opnfv/ntp $distro/ntp
-charm pull cs:~free.ekanayaka/xenial/haproxy xenial/haproxy
+#bzr branch lp:~narindergupta/charms/trusty/promise/trunk $distro/promise
+#bzr branch lp:~billy-olsen/charms/xenial/mongodb/trunk $distro/mongodb
+charm pull cs:$distro/mongodb $distro/mongodb
+#charm pull cs:~free.ekanayaka/xenial/haproxy xenial/haproxy
+charm pull cs:$distro/haproxy
 
-git clone https://github.com/gnuoy/charm-congress.git $distro/charm-congress
-build congress
-git clone -b stable/16.07 https://github.com/openstack/charm-aodh.git $distro/charm-aodh
-build aodh
+#git clone https://github.com/gnuoy/charm-congress.git $distro/charm-congress
+#build congress
+#git clone -b stable/16.07 https://github.com/openstack/charm-aodh.git $distro/charm-aodh
+#build aodh
 
 git clone -b stable/16.07 https://github.com/openstack/charm-hacluster.git $distro/hacluster
 git clone -b stable/16.07 https://github.com/openstack/charm-ceilometer.git $distro/ceilometer
@@ -33,7 +34,7 @@ git clone -b stable/16.07 https://github.com/openstack/charm-glance.git $distro/
 git clone -b stable/16.07 https://github.com/openstack/charm-keystone.git $distro/keystone
 git clone -b stable/16.07 https://github.com/openstack/charm-percona-cluster.git $distro/percona-cluster
 git clone -b stable/16.07 https://github.com/openstack/charm-neutron-gateway.git $distro/neutron-gateway
-git clone -b stable/16.07 https://github.com/openstack/charm-neutron-openvswitch.git $distro/neutron-openvswitch
+#git clone -b stable/16.07 https://github.com/openstack/charm-neutron-openvswitch.git $distro/neutron-openvswitch
 git clone -b stable/16.07 https://github.com/openstack/charm-nova-cloud-controller.git $distro/nova-cloud-controller
 git clone -b stable/16.07 https://github.com/openstack/charm-nova-compute.git $distro/nova-compute
 git clone -b stable/16.07 https://github.com/openstack/charm-openstack-dashboard.git $distro/openstack-dashboard
@@ -63,12 +64,17 @@ git clone -b stable/16.07 https://github.com/openstack/charm-neutron-api.git $di
 #charm pull cs:~openstack-charmers-next/lxd xenial/lxd
 
 # Controller specific charm
-bzr branch lp:~sdn-charmers/charms/trusty/keepalived/trunk $distro/keepalived
-bzr branch lp:~stub/charms/trusty/cassandra/noauthentication $distro/cassandra
-bzr branch lp:~sdn-charmers/charms/trusty/contrail-analytics/trunk $distro/contrail-analytics
-bzr branch lp:~sdn-charmers/charms/trusty/contrail-configuration/trunk $distro/contrail-configuration
-bzr branch lp:~sdn-charmers/charms/trusty/contrail-control/trunk $distro/contrail-control
-bzr branch lp:~sdn-charmers/charms/trusty/contrail-webui/trunk $distro/contrail-webui
-bzr branch lp:~charmers/charms/precise/zookeeper/trunk precise/zookeeper
-bzr branch lp:~opnfv-team/charms/trusty/neutron-api-contrail/trunk $distro/neutron-api-contrail
-bzr branch lp:~opnfv-team/charms/trusty/neutron-contrail/trunk $distro/neutron-contrail
+charm pull cs:$distro/apache-kafka
+bzr branch lp:~sdn-charmers/charms/$distro/keepalived/trunk $distro/keepalived
+#bzr branch lp:~stub/charms/trusty/cassandra/noauthentication $distro/cassandra
+bzr branch lp:~sdn-charmers/charms/$distro/cassandra/ufw $distro/cassandra
+bzr branch lp:~sdn-charmers/charms/$distro/contrail-analytics/trunk $distro/contrail-analytics
+bzr branch lp:~sdn-charmers/charms/$distro/contrail-configuration/trunk $distro/contrail-configuration
+bzr branch lp:~sdn-charmers/charms/$distro/contrail-control/trunk $distro/contrail-control
+bzr branch lp:~sdn-charmers/charms/$distro/contrail-webui/trunk $distro/contrail-webui
+#bzr branch lp:~charmers/charms/precise/zookeeper/trunk precise/zookeeper
+charm pull cs:$distro/apache-zookeeper $distro/zookeeper
+bzr branch lp:~opnfv-team/charms/$distro/neutron-api-contrail/trunk $distro/neutron-api-contrail
+bzr branch lp:~opnfv-team/charms/$distro/neutron-contrail/trunk $distro/neutron-contrail
+bzr branch lp:~sdn-charmers/charms/$distro/ceilometer/ceilometer-plugin $distro/ceilometer-plugin
+bzr branch lp:~sdn-charmers/charms/$distro/ceilometer-contrail/trunk ceilometer-contrail/trunk