Fix noha deployment 29/68329/2
authorManuel Buil <mbuil@suse.com>
Fri, 9 Aug 2019 14:31:30 +0000 (16:31 +0200)
committerManuel Buil <mbuil@suse.com>
Fri, 9 Aug 2019 15:30:10 +0000 (17:30 +0200)
JIRA:XCI-11

noha was not passing the tempest test, however, nobody is testing that
test upstream. We should use the test that it being really tested
upstream

deploy-scenario:k8-calico-nofeature
installer-type:osh
xci-flavor:noha

Change-Id: I551e966e81a93120e96027b32096ec18b21bd3bd
Signed-off-by: Manuel Buil <mbuil@suse.com>
xci/installer/osh/playbooks/roles/install-osh-noha/tasks/main.yml

index 9e783cb..6f6a747 100644 (file)
   args:
     chdir: /root/repos/openstack-helm
 
-# Deployment validation
-- name: Deploy tempest
-  command: ./tools/deployment/multinode/900-tempest.sh
+- name: Copy script to the worker node
+  command: "scp -o \"StrictHostKeyChecking no\" tools/deployment/developer/ceph/170-setup-gateway.sh root@{{ hostvars.node1.ip }}:170-setup-gateway.sh"
   changed_when: false
   args:
     chdir: /root/repos/openstack-helm
 
+- name: Setup the gateway to the public network at worker node
+  command: /root/170-setup-gateway.sh
+  changed_when: false
+  delegate_to: node1
+
+- name: Add a route from opnfv to worker node for the public network
+  command: ip route add 172.24.4.0/24 via 192.168.122.4
+  changed_when: false
+
+# Deployment validation
+- name: Exercise the cloud
+  command: ./tools/deployment/developer/common/900-use-it.sh
+  changed_when: false
+  args:
+    chdir: /root/repos/openstack-helm