tried to modify into single bundle. That is correct step to move 53/16553/6
authorNarinder Gupta <narinder.gupta@canonical.com>
Thu, 7 Jul 2016 12:55:37 +0000 (07:55 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Thu, 7 Jul 2016 16:26:48 +0000 (11:26 -0500)
towards JUJU 2.0

Change-Id: I58e24aac2b5c23982a888bdc69830f95a9f79122
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/01-deploybundle.sh
ci/bundle_tpl/bundle.yaml
ci/bundle_tpl/neutron-api.yaml
ci/bundle_tpl/neutron-ovs.yaml
ci/bundle_tpl/nova-cloud-controller.yaml
ci/deploy.py
ci/nosdn/fetch-charms.sh
ci/odl/fetch-charms.sh
ci/onos/fetch-charms.sh
ci/opencontrail/fetch-charms.sh
labconfig/orange/pod1/labconfig.yaml

index 7c90fdb..52486be 100755 (executable)
@@ -154,10 +154,9 @@ fi
 python genBundle.py  -l deployconfig.yaml  -s $var > bundles.yaml
 
 echo "... Deployment Started ...."
-    juju-deployer -vW -d -t 3600 -c bundles.yaml $6-"$2"-nodes
-    check_status
+    juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $6-"$2"
+    #juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $6-"$2"-nodes
+    #check_status
 
     juju ssh nodes/0 "echo 512 | sudo tee /proc/sys/fs/inotify/max_user_instances"
     juju ssh nodes/1 "echo 512 | sudo tee /proc/sys/fs/inotify/max_user_instances"
-
-    juju-deployer -vW -d -t 7200 -r 5 -c bundles.yaml $6-"$2"
index 62047fb..713a693 100644 (file)
@@ -1,12 +1,9 @@
 # vim: set ts=2 et:
-{{ ubuntu.release }}-{{ os.release }}-nodes:
+{{ ubuntu.release }}-{{ os.release }}:
   inherits: openstack-phase1
   overrides:
 {% include 'phase2-overrides.yaml' %}
 
-{{ ubuntu.release }}-{{ os.release }}:
-  inherits: openstack-phase2
-
 openstack-phase1:
   services:
     nodes:
@@ -48,16 +45,12 @@ openstack-phase1:
 {% if os.ha.mode == 'ha' %}
 {% include 'haclusters.yaml' %}
 {% endif %}
+{% include 'subordinate.yaml' %}
 
   relations:
     - [ 'ntp:juju-info', 'nodes:juju-info' ]
 {% if os.ha.mode == 'ha' %}
 {% include 'harelations.yaml' %}
 {% endif %}
-
-openstack-phase2:
-  inherits: openstack-phase1
-  relations:
 {% include 'relations.yaml' %}
-  services:
-{% include 'subordinate.yaml' %}
+
index 86c6fed..88990cb 100644 (file)
@@ -4,7 +4,8 @@
       options:
         neutron-security-groups: true
 {% if os.network.controller == 'nosdn' %}
-        overlay-network-type: vxlan
+        flat-network-providers: "*"
+        #overlay-network-type: gre vxlan
 {% elif os.network.controller == 'odl' %}
         manage-neutron-plugin-legacy-mode: False
 {% elif os.network.controller == 'onos' %}
index 20bf1d9..446c6f2 100644 (file)
@@ -1,7 +1,7 @@
     neutron-openvswitch:
       charm: local:{{ ubuntu.release }}/neutron-openvswitch
-      options:
 {% if os.network.dpdk %}
+      options:
         enable-dpdk: true
         #dpdk-driver: uio_pci_generic
         #data-port: ""
index 4742114..20e9bf4 100644 (file)
@@ -4,6 +4,7 @@
       options:
         console-access-protocol: novnc
         neutron-external-network: ext-net
+        service-guard: true
 {% if opnfv.domain is defined %}
         console-proxy-ip: {{ opnfv.domain }}
 {% endif %}
index a7ee952..35d3c31 100644 (file)
@@ -44,7 +44,7 @@ opnfvcfg['demo-maas']={'juju-bootstrap':{'memory': 4096,'name': "bootstrap",\
                                                           }\
                                              },\
                               'settings':{'maas_name':'','upstream_dns':'',\
-                                          'main_archive':"http://us.archive.ubuntu.com/ubuntu"\
+                                          'main_archive':"http://archive.ubuntu.com/ubuntu"\
                                          },\
                               'virsh':{'rsa_priv_key':'/home/ubuntu/.ssh/id_rsa',
                                        'rsa_pub_key':'/home/ubuntu/.ssh/id_rsa.pub',
index 498ad8c..130fdf0 100755 (executable)
@@ -30,7 +30,8 @@ git clone https://github.com/openstack/charm-neutron-openvswitch.git $distro/neu
 git clone https://github.com/openstack/charm-nova-cloud-controller.git $distro/nova-cloud-controller
 git clone https://github.com/openstack/charm-nova-compute.git $distro/nova-compute
 git clone https://github.com/openstack/charm-openstack-dashboard.git $distro/openstack-dashboard
-git clone https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server
+charm pull cs:~james-page/xenial/rabbitmq-server-bug1590085 $distro/rabbitmq-server
+#git clone https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server
 git clone https://github.com/openstack/charm-heat.git $distro/heat
 git clone https://github.com/openstack/charm-lxd.git xenial/lxd
 git clone https://github.com/gnuoy/charm-congress.git $distro/charm-congress
index 2a42b6a..4593600 100755 (executable)
@@ -30,7 +30,8 @@ git clone https://github.com/openstack/charm-neutron-openvswitch.git $distro/neu
 git clone https://github.com/openstack/charm-nova-cloud-controller.git $distro/nova-cloud-controller
 git clone https://github.com/openstack/charm-nova-compute.git $distro/nova-compute
 git clone https://github.com/openstack/charm-openstack-dashboard.git $distro/openstack-dashboard
-git clone https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server
+charm pull cs:~james-page/xenial/rabbitmq-server-bug1590085 $distro/rabbitmq-server
+#git clone https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server
 git clone https://github.com/openstack/charm-heat.git $distro/heat
 git clone https://github.com/gnuoy/charm-congress.git $distro/charm-congress
 git clone https://github.com/openstack/charm-lxd.git xenial/lxd
index ea48c90..d68a583 100755 (executable)
@@ -29,7 +29,8 @@ git clone https://github.com/openstack/charm-neutron-openvswitch.git $distro/neu
 git clone https://github.com/openstack/charm-nova-cloud-controller.git $distro/nova-cloud-controller
 git clone https://github.com/openstack/charm-nova-compute.git $distro/nova-compute
 git clone https://github.com/openstack/charm-openstack-dashboard.git $distro/openstack-dashboard
-git clone https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server
+charm pull cs:~james-page/xenial/rabbitmq-server-bug1590085 $distro/rabbitmq-server
+#git clone https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server
 git clone https://github.com/openstack/charm-heat.git $distro/heat
 git clone https://github.com/gnuoy/charm-congress.git $distro/charm-congress
 build
index 8b6c5ba..d0a4e7a 100755 (executable)
@@ -32,7 +32,8 @@ git clone https://github.com/openstack/charm-neutron-openvswitch.git $distro/neu
 git clone https://github.com/openstack/charm-nova-cloud-controller.git $distro/nova-cloud-controller
 git clone https://github.com/openstack/charm-nova-compute.git $distro/nova-compute
 git clone https://github.com/openstack/charm-openstack-dashboard.git $distro/openstack-dashboard
-git clone https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server
+charm pull cs:~james-page/xenial/rabbitmq-server-bug1590085 $distro/rabbitmq-server
+#git clone https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server
 git clone https://github.com/openstack/charm-heat.git $distro/heat
 git clone https://github.com/gnuoy/charm-congress.git $distro/charm-congress
 build
index 247a1b4..f522eb9 100644 (file)
@@ -107,7 +107,7 @@ opnfv:
   feature: odl_l2
   storage:
   - type: ceph
-    disk: /dev/sdb /dev/sdc
+    disk: /dev/sdb
   spaces:
   - type: admin
     bridge: brAdm