summaryrefslogtreecommitdiffstats
path: root/xci/installer/osh/playbooks/roles
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2019-08-09 16:31:30 +0200
committerManuel Buil <mbuil@suse.com>2019-08-09 17:30:10 +0200
commitb77681d6c6ffc3da741e391436a5158d21dd47f6 (patch)
tree1fd3fab4ac0f19ed4f7cde151e691e939f735627 /xci/installer/osh/playbooks/roles
parent56c4b081451307a452d1e4dd9d80d29df1e6b99f (diff)
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 <mbuil@suse.com>
Diffstat (limited to 'xci/installer/osh/playbooks/roles')
-rw-r--r--xci/installer/osh/playbooks/roles/install-osh-noha/tasks/main.yml20
1 files changed, 17 insertions, 3 deletions
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