From: Narinder Gupta Date: Wed, 4 Nov 2015 01:13:19 +0000 (-0600) Subject: modified as per new bundle of contrail. X-Git-Tag: brahmaputra.1.0~148 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F21%2F3021%2F1;p=joid.git modified as per new bundle of contrail. Change-Id: I195afcfd7ec81fc4e71027ff8011b447f9d08964 --- diff --git a/ci/odl/01-deploybundle.sh b/ci/odl/01-deploybundle.sh index 87352666..82d22883 100755 --- a/ci/odl/01-deploybundle.sh +++ b/ci/odl/01-deploybundle.sh @@ -24,7 +24,7 @@ case "$3" in 'intelpod6' ) sed -i -- 's/10.4.1.1/10.4.1.2/g' ./bundles.yaml ;; - 'intelpod6' ) + 'intelpod5' ) sed -i -- 's/10.4.1.1/10.4.1.2/g' ./bundles.yaml ;; esac diff --git a/ci/opencontrail/01-deploybundle.sh b/ci/opencontrail/01-deploybundle.sh index d008b984..21235cb3 100755 --- a/ci/opencontrail/01-deploybundle.sh +++ b/ci/opencontrail/01-deploybundle.sh @@ -9,7 +9,6 @@ case "$1" in ;; 'ha' ) cp opencontrail/juju-deployer/contrail-ha.yaml ./bundles.yaml - juju-deployer -d -r 13 -c bundles.yaml openstack-phase1 ;; 'tip' ) cp opencontrail/juju-deployer/contrail-tip.yaml ./bundles.yaml @@ -23,11 +22,29 @@ case "$3" in 'orangepod2' ) sed -i -- 's/10.4.1.1/192.168.2.2/g' ./bundles.yaml ;; + 'intelpod5' ) + sed -i -- 's/10.4.1.1/10.4.1.2/g' ./bundles.yaml + ;; + 'intelpod6' ) + sed -i -- 's/10.4.1.1/10.4.1.2/g' ./bundles.yaml + ;; esac echo "... Deployment Started ...." - -juju-deployer -d -r 13 -c bundles.yaml trusty-"$2"-contrail +case "$1" in + 'nonha' ) + juju-deployer -vW -d -c bundles.yaml trusty-"$2"-contrail + ;; + 'ha' ) + juju-deployer -vW -d -c bundles.yaml openstack-phase1 + ;; + 'tip' ) + juju-deployer -vW -d -c bundles.yaml trusty-"$2"-contrail + ;; + * ) + juju-deployer -vW -d -c bundles.yaml trusty-"$2"-contrail + ;; +esac echo "... Deployment finished ...." diff --git a/ci/opencontrail/README b/ci/opencontrail/README index bf127542..4334818d 100644 --- a/ci/opencontrail/README +++ b/ci/opencontrail/README @@ -28,17 +28,15 @@ Deploy with cloud-sh-contrail cloud-sh-contrail is a collection of development shell scripts to deploy and setup OpenStack with OpenContrail using Juju's local provider. This will -create 4 KVMs as follows: +create 3 KVMs as follows: *KVM #1 - Keystone, Glance, Neutron Server, Nova Cloud Controller, Horizon, MySQL, RabbitMQ, Contrail Configuration, Contrail Control, - Contrail Analytics, Zookeeper + Contrail Analytics, Contrail Web UI, Zookeeper -*KVM #2 - Neutron agents +*KVM #2 - Nova Compute with Contrail vRouter -*KVM #3 - Nova Compute with Contrail vRouter - -*KVM #4 - Cassandra +*KVM #3 - Cassandra You'll require approx. 25Gb RAM with 60Gb+ disk space. Deployment can take anywhere between 20 mins to 1 hour. @@ -68,6 +66,10 @@ This will deploy OpenStack and import Trusty's daily image into Glance. Horizon will be located on the machine 'juju status openstack-dashboard' - http:///horizon. + +Contrail Web UI will be located on the machine 'juju status contrail-webui' - +http://:8080. + Admin credentials will be written to cloud/admin-openrc. Upon deployment, the host's route and iptables config will be updated to send diff --git a/ci/opencontrail/cloud-sh-contrail/config-precise.sh b/ci/opencontrail/cloud-sh-contrail/config-precise.sh index 7ef7f322..b22f0a6d 100644 --- a/ci/opencontrail/cloud-sh-contrail/config-precise.sh +++ b/ci/opencontrail/cloud-sh-contrail/config-precise.sh @@ -32,9 +32,6 @@ CHARM_NEUTRON_API_CONTRAIL=local:precise/neutron-api-contrail CHARM_NEUTRON_CONTRAIL=local:precise/neutron-contrail -CHARM_NEUTRON_GATEWAY=local:precise/quantum-gateway -CHARM_NEUTRON_GATEWAY_DEPLOY_OPTS="--config config-precise.yaml" - CHARM_NOVA_CLOUD_CONTROLLER=local:precise/nova-cloud-controller CHARM_NOVA_CLOUD_CONTROLLER_DEPLOY_OPTS="--config config-precise.yaml" diff --git a/ci/opencontrail/cloud-sh-contrail/config-precise.yaml b/ci/opencontrail/cloud-sh-contrail/config-precise.yaml index 72c08b67..ebdd0337 100644 --- a/ci/opencontrail/cloud-sh-contrail/config-precise.yaml +++ b/ci/opencontrail/cloud-sh-contrail/config-precise.yaml @@ -1,5 +1,5 @@ cassandra: - allow-single-node: true + authenticator: AllowAllAuthenticator contrail-analytics: openstack-origin: cloud:precise-icehouse @@ -25,9 +25,6 @@ neutron-api: manage-neutron-plugin-legacy-mode: false openstack-origin: cloud:precise-icehouse -neutron-gateway: - openstack-origin: cloud:precise-icehouse - nova-cloud-controller: network-manager: Neutron openstack-origin: cloud:precise-icehouse diff --git a/ci/opencontrail/cloud-sh-contrail/config-trusty-juno.sh b/ci/opencontrail/cloud-sh-contrail/config-trusty-juno.sh index 6719e874..aeebf861 100644 --- a/ci/opencontrail/cloud-sh-contrail/config-trusty-juno.sh +++ b/ci/opencontrail/cloud-sh-contrail/config-trusty-juno.sh @@ -2,7 +2,7 @@ export JUJU_REPOSITORY=../charms DEFAULT_SERIES=trusty -CHARM_CASSANDRA=local:precise/cassandra +CHARM_CASSANDRA=local:trusty/cassandra CHARM_CASSANDRA_DEPLOY_OPTS="--config config-trusty-juno.yaml" CHARM_CONTRAIL_ANALYTICS=local:trusty/contrail-analytics @@ -32,9 +32,6 @@ CHARM_NEUTRON_API_CONTRAIL=local:trusty/neutron-api-contrail CHARM_NEUTRON_CONTRAIL=local:trusty/neutron-contrail -CHARM_NEUTRON_GATEWAY=local:trusty/quantum-gateway -CHARM_NEUTRON_GATEWAY_DEPLOY_OPTS="--config config-trusty-juno.yaml" - CHARM_NOVA_CLOUD_CONTROLLER=local:trusty/nova-cloud-controller CHARM_NOVA_CLOUD_CONTROLLER_DEPLOY_OPTS="--config config-trusty-juno.yaml" diff --git a/ci/opencontrail/cloud-sh-contrail/config-trusty-juno.yaml b/ci/opencontrail/cloud-sh-contrail/config-trusty-juno.yaml index 3767364d..7db15be9 100644 --- a/ci/opencontrail/cloud-sh-contrail/config-trusty-juno.yaml +++ b/ci/opencontrail/cloud-sh-contrail/config-trusty-juno.yaml @@ -1,5 +1,5 @@ cassandra: - allow-single-node: true + authenticator: AllowAllAuthenticator contrail-analytics: openstack-origin: cloud:trusty-juno @@ -25,9 +25,6 @@ neutron-api: manage-neutron-plugin-legacy-mode: false openstack-origin: cloud:trusty-juno -neutron-gateway: - openstack-origin: cloud:trusty-juno - nova-cloud-controller: network-manager: Neutron openstack-origin: cloud:trusty-juno diff --git a/ci/opencontrail/cloud-sh-contrail/config-trusty.sh b/ci/opencontrail/cloud-sh-contrail/config-trusty.sh index 16743b0e..9d38461c 100644 --- a/ci/opencontrail/cloud-sh-contrail/config-trusty.sh +++ b/ci/opencontrail/cloud-sh-contrail/config-trusty.sh @@ -2,7 +2,7 @@ export JUJU_REPOSITORY=../charms DEFAULT_SERIES=trusty -CHARM_CASSANDRA=local:precise/cassandra +CHARM_CASSANDRA=local:trusty/cassandra CHARM_CASSANDRA_DEPLOY_OPTS="--config config-trusty.yaml" CHARM_CONTRAIL_ANALYTICS=local:trusty/contrail-analytics @@ -28,8 +28,6 @@ CHARM_NEUTRON_API_CONTRAIL=local:trusty/neutron-api-contrail CHARM_NEUTRON_CONTRAIL=local:trusty/neutron-contrail -CHARM_NEUTRON_GATEWAY=local:trusty/quantum-gateway - CHARM_NOVA_CLOUD_CONTROLLER=local:trusty/nova-cloud-controller CHARM_NOVA_CLOUD_CONTROLLER_DEPLOY_OPTS="--config config-trusty.yaml" diff --git a/ci/opencontrail/cloud-sh-contrail/config-trusty.yaml b/ci/opencontrail/cloud-sh-contrail/config-trusty.yaml index 7d4bf58d..abb862ad 100644 --- a/ci/opencontrail/cloud-sh-contrail/config-trusty.yaml +++ b/ci/opencontrail/cloud-sh-contrail/config-trusty.yaml @@ -1,5 +1,5 @@ cassandra: - allow-single-node: true + authenticator: AllowAllAuthenticator keystone: admin-password: password diff --git a/ci/opencontrail/cloud-sh-contrail/openstack.sh b/ci/opencontrail/cloud-sh-contrail/openstack.sh index 960a9934..b1234fcc 100755 --- a/ci/opencontrail/cloud-sh-contrail/openstack.sh +++ b/ci/opencontrail/cloud-sh-contrail/openstack.sh @@ -56,7 +56,7 @@ fi juju bootstrap waitForMachine 0 -spare_cpus=$(($(grep processor /proc/cpuinfo | wc -l) - 5)) +spare_cpus=$(($(grep processor /proc/cpuinfo | wc -l) - 4)) if [ $spare_cpus -gt 0 ]; then spare_cpus=$(((spare_cpus * 3) / 4)) else @@ -67,8 +67,6 @@ extra_cpus=0 [ $spare_cpus -ne 0 ] && extra_cpus=$((1 + (((spare_cpus - 1) * 3) / 4))) && spare_cpus=$((spare_cpus - extra_cpus)) juju add-machine --constraints "cpu-cores=$((1 + extra_cpus)) mem=12G root-disk=20G" --series $DEFAULT_SERIES -juju deploy --constraints mem=1G $CHARM_NEUTRON_GATEWAY_DEPLOY_OPTS "${CHARM_NEUTRON_GATEWAY:-quantum-gateway}" neutron-gateway - extra_cpus=0 [ $spare_cpus -ne 0 ] && extra_cpus=$((1 + (((spare_cpus - 1) * 3) / 4))) && spare_cpus=$((spare_cpus - extra_cpus)) juju deploy --constraints "cpu-cores=$((1 + extra_cpus)) mem=4G root-disk=20G" $CHARM_NOVA_COMPUTE_DEPLOY_OPTS "${CHARM_NOVA_COMPUTE:-nova-compute}" @@ -79,9 +77,9 @@ waitForMachine 1 juju scp lxc-network.sh 1: juju run --machine 1 "sudo ./lxc-network.sh" -waitForMachine 4 -juju scp lxc-network.sh 4: -juju run --machine 4 "sudo ./lxc-network.sh" +waitForMachine 3 +juju scp lxc-network.sh 3: +juju run --machine 3 "sudo ./lxc-network.sh" juju deploy --to lxc:1 $CHARM_MYSQL_DEPLOY_OPTS "${CHARM_MYSQL:-mysql}" juju deploy --to lxc:1 $CHARM_RABBITMQ_SERVER_DEPLOY_OPTS "${CHARM_RABBITMQ_SERVER:-rabbitmq-server}" @@ -96,7 +94,7 @@ juju deploy --to lxc:1 $CHARM_CONTRAIL_CONFIGURATION_DEPLOY_OPTS "${CHARM_CONTRA juju deploy --to lxc:1 $CHARM_CONTRAIL_CONTROL_DEPLOY_OPTS "${CHARM_CONTRAIL_CONTROL:-contrail-control}" juju deploy --to lxc:1 $CHARM_CONTRAIL_ANALYTICS_DEPLOY_OPTS "${CHARM_CONTRAIL_ANALYTICS:-contrail-analytics}" juju deploy --to lxc:1 $CHARM_CONTRAIL_WEBUI_DEPLOY_OPTS "${CHARM_CONTRAIL_WEBUI:-contrail-webui}" -juju deploy --to lxc:4 $CHARM_CASSANDRA_DEPLOY_OPTS "${CHARM_CASSANDRA:-cassandra}" +juju deploy --to lxc:3 $CHARM_CASSANDRA_DEPLOY_OPTS "${CHARM_CASSANDRA:-cassandra}" juju deploy $CHARM_NEUTRON_API_CONTRAIL_DEPLOY_OPTS "${CHARM_NEUTRON_API_CONTRAIL:-neutron-api-contrail}" juju deploy $CHARM_NEUTRON_CONTRAIL_DEPLOY_OPTS "${CHARM_NEUTRON_CONTRAIL:-neutron-contrail}" @@ -106,14 +104,11 @@ waitForService mysql keystone juju add-relation keystone mysql sleep 60 -waitForService rabbitmq-server nova-cloud-controller glance openstack-dashboard neutron-gateway nova-compute +waitForService rabbitmq-server nova-cloud-controller glance openstack-dashboard nova-compute juju add-relation nova-cloud-controller mysql juju add-relation nova-cloud-controller rabbitmq-server juju add-relation nova-cloud-controller glance juju add-relation nova-cloud-controller keystone -juju add-relation neutron-gateway mysql -juju add-relation neutron-gateway:amqp rabbitmq-server:amqp -juju add-relation neutron-gateway nova-cloud-controller juju add-relation nova-compute:shared-db mysql:shared-db juju add-relation nova-compute:amqp rabbitmq-server:amqp juju add-relation nova-compute glance @@ -137,19 +132,19 @@ juju add-relation contrail-configuration:cassandra cassandra:database juju add-relation contrail-configuration zookeeper juju add-relation contrail-configuration rabbitmq-server juju add-relation contrail-configuration keystone -juju add-relation contrail-configuration neutron-gateway sleep 60 waitForService contrail-control contrail-analytics juju add-relation neutron-api-contrail contrail-configuration juju add-relation neutron-api-contrail keystone +juju add-relation contrail-control:contrail-api contrail-configuration:contrail-api juju add-relation contrail-control:contrail-discovery contrail-configuration:contrail-discovery juju add-relation contrail-control:contrail-ifmap contrail-configuration:contrail-ifmap +juju add-relation contrail-control keystone juju add-relation contrail-analytics:cassandra cassandra:database juju add-relation contrail-analytics contrail-configuration juju add-relation nova-compute neutron-contrail juju add-relation neutron-contrail:contrail-discovery contrail-configuration:contrail-discovery -juju add-relation neutron-contrail neutron-gateway juju add-relation neutron-contrail:contrail-api contrail-configuration:contrail-api juju add-relation neutron-contrail keystone sleep 60 diff --git a/ci/opencontrail/fetch-charms.sh b/ci/opencontrail/fetch-charms.sh index 911dc55d..5f6f0f9f 100755 --- a/ci/opencontrail/fetch-charms.sh +++ b/ci/opencontrail/fetch-charms.sh @@ -5,21 +5,20 @@ mkdir -p src/charms/trusty src/charms/precise # openstack bzr branch lp:~openstack-charmers/charms/trusty/glance/next src/charms/trusty/glance-next bzr branch lp:~openstack-charmers/charms/trusty/keystone/next src/charms/trusty/keystone-next -bzr branch lp:~openstack-charmers/charms/trusty/neutron-api/vpp src/charms/trusty/neutron-api-vpp +bzr branch lp:~openstack-charmers/charms/trusty/neutron-api/next src/charms/trusty/neutron-api-next bzr branch lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next src/charms/trusty/nova-cloud-controller-next bzr branch lp:~openstack-charmers/charms/trusty/nova-compute/next src/charms/trusty/nova-compute-next bzr branch lp:~openstack-charmers/charms/trusty/openstack-dashboard/next src/charms/trusty/openstack-dashboard-next -bzr branch lp:~sdn-charmers/charms/trusty/quantum-gateway/contrail src/charms/trusty/quantum-gateway-contrail # contrail -bzr branch lp:~sdn-charmers/charms/precise/cassandra/forced-install src/charms/precise/cassandra-forced-install +bzr branch lp:~stub/charms/trusty/cassandra/noauthentication src/charms/trusty/cassandra-noauthentication bzr branch lp:~sdn-charmers/charms/trusty/contrail-analytics/trunk src/charms/trusty/contrail-analytics bzr branch lp:~sdn-charmers/charms/trusty/contrail-configuration/trunk src/charms/trusty/contrail-configuration bzr branch lp:~sdn-charmers/charms/trusty/contrail-control/trunk src/charms/trusty/contrail-control bzr branch lp:~sdn-charmers/charms/trusty/contrail-webui/trunk src/charms/trusty/contrail-webui bzr branch lp:~sdn-charmers/charms/trusty/neutron-api-contrail/trunk src/charms/trusty/neutron-api-contrail bzr branch lp:~sdn-charmers/charms/trusty/neutron-contrail/trunk src/charms/trusty/neutron-contrail -bzr branch lp:~sdn-charmers/charms/precise/zookeeper/fix-symlink src/charms/precise/zookeeper-fix-symlink +bzr branch lp:~charmers/charms/precise/zookeeper/trunk src/charms/precise/zookeeper mkdir -p charms/trusty charms/precise (cd charms/trusty; ln -s ../../src/charms/trusty/* .) diff --git a/ci/opencontrail/juju-deployer/contrail-ha.yaml b/ci/opencontrail/juju-deployer/contrail-ha.yaml index d978c599..7ca3471d 100644 --- a/ci/opencontrail/juju-deployer/contrail-ha.yaml +++ b/ci/opencontrail/juju-deployer/contrail-ha.yaml @@ -24,14 +24,11 @@ openstack: constraints: mem=1G options: network-manager: Neutron - neutron-gateway: - branch: lp:~sdn-charmers/charms/trusty/quantum-gateway/contrail - constraints: mem=1G glance: branch: lp:~openstack-charmers/charms/trusty/glance/next constraints: mem=1G neutron-api: - branch: lp:~openstack-charmers/charms/trusty/neutron-api/vpp + branch: lp:~openstack-charmers/charms/trusty/neutron-api/next constraints: mem=1G options: manage-neutron-plugin-legacy-mode: false @@ -47,9 +44,6 @@ openstack: - [ nova-compute, glance ] - [ glance, mysql ] - [ glance, keystone ] - - [ neutron-gateway, mysql ] - - [ "neutron-gateway:amqp", "rabbitmq-server:amqp" ] - - [ neutron-gateway, nova-cloud-controller ] - [ openstack-dashboard, keystone ] - [ neutron-api, mysql ] - [ neutron-api, rabbitmq-server ] @@ -60,12 +54,13 @@ contrail: inherits: openstack services: cassandra: - branch: lp:~sdn-charmers/charms/precise/cassandra/forced-install - series: precise + branch: lp:~stub/charms/trusty/cassandra/noauthentication constraints: mem=8G root-disk=20G + options: + authenticator: AllowAllAuthenticator units: 3 zookeeper: - branch: lp:~sdn-charmers/charms/precise/zookeeper/fix-symlink + branch: lp:~charmers/charms/precise/zookeeper/trunk series: precise constraints: mem=1G units: 3 @@ -105,11 +100,12 @@ contrail: - [ contrail-configuration, zookeeper ] - [ contrail-configuration, rabbitmq-server ] - [ contrail-configuration, keystone ] - - [ contrail-configuration, neutron-gateway ] - [ neutron-api-contrail, contrail-configuration ] - [ neutron-api-contrail, keystone ] + - [ "contrail-control:contrail-api", "contrail-configuration:contrail-api" ] - [ "contrail-control:contrail-discovery", "contrail-configuration:contrail-discovery" ] - [ "contrail-control:contrail-ifmap", "contrail-configuration:contrail-ifmap" ] + - [ contrail-control, keystone ] - [ "contrail-analytics:cassandra", "cassandra:database" ] - [ contrail-analytics, contrail-configuration ] - [ contrail-webui, keystone ] @@ -118,7 +114,6 @@ contrail: - [ "contrail-webui:cassandra", "cassandra:database" ] - [ nova-compute, neutron-contrail ] - [ "neutron-contrail:contrail-discovery", "contrail-configuration:contrail-discovery" ] - - [ neutron-contrail, neutron-gateway ] - [ "neutron-contrail:contrail-api", "contrail-configuration:contrail-api" ] - [ neutron-contrail, keystone ] - [ contrail-configuration, haproxy ] diff --git a/ci/opencontrail/juju-deployer/contrail.yaml b/ci/opencontrail/juju-deployer/contrail.yaml index 68cda3e2..1601674f 100644 --- a/ci/opencontrail/juju-deployer/contrail.yaml +++ b/ci/opencontrail/juju-deployer/contrail.yaml @@ -52,9 +52,9 @@ openstack: to: - "lxc:ubuntu=0" - neutron-gateway: - branch: lp:~sdn-charmers/charms/trusty/quantum-gateway/contrail - constraints: tags=virtual +# neutron-gateway: +# branch: lp:~sdn-charmers/charms/trusty/quantum-gateway/contrail +# constraints: tags=virtual glance: branch: lp:~openstack-charmers/charms/trusty/glance/next @@ -64,7 +64,7 @@ openstack: neutron-api: branch: lp:~openstack-charmers/charms/trusty/neutron-api/vpp - constraints: tags=virtual +# constraints: tags=virtual to: - "lxc:ubuntu=0" options: @@ -81,35 +81,30 @@ openstack: - [ nova-compute, glance ] - [ glance, mysql ] - [ glance, keystone ] - - [ neutron-gateway, mysql ] - - [ "neutron-gateway:amqp", "rabbitmq-server:amqp" ] - - [ neutron-gateway, nova-cloud-controller ] - [ openstack-dashboard, keystone ] - [ neutron-api, mysql ] - [ neutron-api, rabbitmq-server ] - [ neutron-api, nova-cloud-controller ] - [ neutron-api, keystone ] - [ neutron-api, neutron-api-contrail ] + contrail: inherits: openstack services: cassandra: - branch: lp:~sdn-charmers/charms/precise/cassandra/forced-install - series: precise - constraints: tags=control + branch: lp:~stub/charms/trusty/cassandra/noauthentication options: - allow-single-node: true + authenticator: AllowAllAuthenticator + - "lxc:ubuntu=0" zookeeper: - branch: lp:~sdn-charmers/charms/precise/zookeeper/fix-symlink + branch: lp:~charmers/charms/precise/zookeeper/trunk series: precise - constraints: mem=1G to: - - "lxc:cassandra=0" + - "lxc:ubuntu=0" contrail-configuration: - branch: lp:~sdn-charmers/charms/trusty/contrail-configuration/ssl - constraints: mem=4G + branch: lp:~sdn-charmers/charms/trusty/contrail-configuration/trunk to: - "lxc:ubuntu=0" # options: @@ -117,13 +112,11 @@ contrail: contrail-control: branch: lp:~sdn-charmers/charms/trusty/contrail-control/trunk - constraints: mem=2G to: - "lxc:ubuntu=0" contrail-analytics: branch: lp:~sdn-charmers/charms/trusty/contrail-analytics/trunk - constraints: mem=4G to: - "lxc:ubuntu=0" @@ -134,20 +127,22 @@ contrail: neutron-api-contrail: branch: lp:~sdn-charmers/charms/trusty/neutron-api-contrail/trunk -# options: -# overlay-network-type: 'vxlan gre' -# security-groups: true - neutron-contrail: branch: lp:~sdn-charmers/charms/trusty/neutron-contrail/trunk + overrides: admin-role: admin relations: - [ "contrail-configuration:cassandra", "cassandra:database" ] + - [ contrail-configuration, zookeeper ] + - [ contrail-configuration, rabbitmq-server ] + - [ contrail-configuration, keystone ] - [ neutron-api-contrail, contrail-configuration ] - [ neutron-api-contrail, keystone ] + - [ "contrail-control:contrail-api", "contrail-configuration:contrail-api" ] - [ "contrail-control:contrail-discovery", "contrail-configuration:contrail-discovery" ] - [ "contrail-control:contrail-ifmap", "contrail-configuration:contrail-ifmap" ] + - [ contrail-control, keystone ] - [ "contrail-analytics:cassandra", "cassandra:database" ] - [ contrail-analytics, contrail-configuration ] - [ contrail-webui, keystone ] @@ -156,13 +151,9 @@ contrail: - [ "contrail-webui:cassandra", "cassandra:database" ] - [ nova-compute, neutron-contrail ] - [ "neutron-contrail:contrail-discovery", "contrail-configuration:contrail-discovery" ] - - [ neutron-contrail, neutron-gateway ] - [ "neutron-contrail:contrail-api", "contrail-configuration:contrail-api" ] - [ neutron-contrail, keystone ] - - [ contrail-configuration, zookeeper ] - - [ contrail-configuration, rabbitmq-server ] - - [ contrail-configuration, keystone ] - - [ contrail-configuration, neutron-gateway ] + precise-icehouse-contrail: inherits: contrail series: precise @@ -191,3 +182,24 @@ trusty-juno-contrail: charm: cs:trusty/rabbitmq-server overrides: openstack-origin: cloud:trusty-juno +trusty-kilo-contrail: + inherits: contrail + series: trusty + services: + mysql: + charm: cs:trusty/mysql + rabbitmq-server: + charm: cs:trusty/rabbitmq-server + overrides: + openstack-origin: cloud:trusty-kilo +trusty-liberty-contrail: + inherits: contrail + series: trusty + services: + mysql: + charm: cs:trusty/mysql + rabbitmq-server: + charm: cs:trusty/rabbitmq-server + overrides: + openstack-origin: cloud:trusty-liberty + diff --git a/ci/opencontrail/juju-deployer/scripts/openstack.sh b/ci/opencontrail/juju-deployer/scripts/openstack.sh index 7c0a8ab0..8926a935 100755 --- a/ci/opencontrail/juju-deployer/scripts/openstack.sh +++ b/ci/opencontrail/juju-deployer/scripts/openstack.sh @@ -23,7 +23,7 @@ unitMachine() mkdir -m 0700 -p cloud controller_address=$(unitAddress keystone 0) -configOpenrc admin openstack admin http://$controller_address:5000/v2.0 RegionOne > cloud/admin-openrc +configOpenrc admin openstck admin http://$controller_address:5000/v2.0 RegionOne > cloud/admin-openrc chmod 0600 cloud/admin-openrc machine=$(unitMachine nova-cloud-controller 0)