From 7d5df8c96948086605955438f282eb96385de9cc Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Tue, 31 Jan 2017 23:58:35 -0600 Subject: imodified to user port 5000 to do the juju on openstack for openrc. Change-Id: If396896c5675d10bf91aa48b8e5c459d14b6efba Signed-off-by: Narinder Gupta --- ci/config_tpl/juju2/bundle_tpl/bundle.yaml | 3 +++ ci/config_tpl/juju2/bundle_tpl/openbaton.yaml | 6 ++++++ ci/default_deployment_config.yaml | 1 + ci/nosdn/fetch-charms.sh | 1 + ci/openstack.sh | 2 +- 5 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 ci/config_tpl/juju2/bundle_tpl/openbaton.yaml diff --git a/ci/config_tpl/juju2/bundle_tpl/bundle.yaml b/ci/config_tpl/juju2/bundle_tpl/bundle.yaml index b0a0e861..9a46126d 100644 --- a/ci/config_tpl/juju2/bundle_tpl/bundle.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/bundle.yaml @@ -46,6 +46,9 @@ {% include 'congress.yaml' %} {% endif %} {% endif %} +{% if os.service.openbaton %} +{% include 'openbaton.yaml' %} +{% endif %} {% include 'keystone.yaml' %} {% include 'nova-cloud-controller.yaml' %} {% include 'nova-compute.yaml' %} diff --git a/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml b/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml new file mode 100644 index 00000000..fc64eb8b --- /dev/null +++ b/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml @@ -0,0 +1,6 @@ + openbaton: + charm: "./{{ ubuntu.release }}/openbaton" + num_units: 1 + to: + - "lxd:nodes/0" +{# Empty block to avoid bad block trim #} diff --git a/ci/default_deployment_config.yaml b/ci/default_deployment_config.yaml index b6bb6185..977f23ee 100644 --- a/ci/default_deployment_config.yaml +++ b/ci/default_deployment_config.yaml @@ -31,6 +31,7 @@ os: congress: True promise: True bindings: True + openbaton: False k8: feature: loadbalancer: False diff --git a/ci/nosdn/fetch-charms.sh b/ci/nosdn/fetch-charms.sh index f40291a3..76de80c6 100755 --- a/ci/nosdn/fetch-charms.sh +++ b/ci/nosdn/fetch-charms.sh @@ -37,6 +37,7 @@ git clone https://github.com/openstack/charm-openstack-dashboard.git $distro/o 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/openstack/openbaton.git xenial/openbaton charm pull cs:$distro/aodh $distro/aodh charm pull cs:~free.ekanayaka/xenial/haproxy-1 $distro/haproxy diff --git a/ci/openstack.sh b/ci/openstack.sh index 513bf991..f7518317 100755 --- a/ci/openstack.sh +++ b/ci/openstack.sh @@ -92,7 +92,7 @@ create_openrc() { adminPasswd=$(juju config keystone | grep admin-password -A 5 | grep value | awk '{print $2}' 2> /dev/null) fi - configOpenrc admin $adminPasswd admin http://$keystoneIp:35357/v2.0 RegionOne > ~/joid_config/admin-openrc + configOpenrc admin $adminPasswd admin http://$keystoneIp:5000/v2.0 RegionOne > ~/joid_config/admin-openrc chmod 0600 ~/joid_config/admin-openrc } -- cgit 1.2.3-korg