summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-09-11 19:52:32 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-09-11 19:52:32 -0500
commit580484d11196323652d98411b050fcc46c688d71 (patch)
treee836e5703a7a35cb82a597af8b8cacb750da1920 /ci
parenta41e8359b1e7e688217387ab91e7bcb6d39a4e8e (diff)
ssh unit is not needed.
Change-Id: I78db2a085c181c26b5d603c08df74f418006053f Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/openstack.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/ci/openstack.sh b/ci/openstack.sh
index bdfc1260..0bf44661 100755
--- a/ci/openstack.sh
+++ b/ci/openstack.sh
@@ -186,16 +186,11 @@ neutron subnet-show ext-subnet > /dev/null 2>&1 || neutron subnet-create ext-net
# Ocl can push packets to the fabric network in order to reach a gateway if BGP/L3VPN hasn't been configured.
if [ "ocl" == "$opnfvsdn" ]; then
echo "Creating simple gateway functions on ocl vRouters"
- juju run --application nova-compute "ssh $UNIT sudo docker exec contrail-controller \
+ juju run --application nova-compute "sudo docker exec contrail-controller \
python /opt/contrail/utils/provision_vgw_interface.py\
--oper create --interface vgw1 --subnets $EXTNET_NET --routes 0.0.0.0/24 --vrf default-domain:admin:ext-net:ext-net"
fi
-domain_id=$(openstack domain show admin_domain -f value -c id)
-project_id=$(openstack project show admin --domain $domain_id -f value -c id)
-
-openstack role add --project $project_id --user admin admin || true
-
#congress team is not updating and supporting charm anymore so defer it.
# Create Congress datasources