From: Manuel Buil Date: Fri, 9 Aug 2019 14:31:30 +0000 (+0200) Subject: Fix noha deployment X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F29%2F68329%2F2;p=releng-xci.git Fix noha deployment 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 --- diff --git a/xci/installer/osh/playbooks/roles/install-osh-noha/tasks/main.yml b/xci/installer/osh/playbooks/roles/install-osh-noha/tasks/main.yml index 9e783cb7..6f6a7476 100644 --- a/xci/installer/osh/playbooks/roles/install-osh-noha/tasks/main.yml +++ b/xci/installer/osh/playbooks/roles/install-osh-noha/tasks/main.yml @@ -101,10 +101,24 @@ 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