kayobe/playbooks/kayobe-overcloud-base/run.yml
Mark Goddard 0ec7edffa7 Test nova server (VM) boot in overcloud job
We use the demo script from kolla ansible, init-runonce, to create
resources in the control plane to make it ready for booting a VM. We
then create a nova server, and wait for it to become active. We do not
currently test that the VM boots successfully by accessing it via SSH.

Change-Id: I61be554366565decd9f4ff7805a3969aa37da4b9
2018-05-10 18:39:07 +01:00

16 lines
456 B
YAML

---
- hosts: primary
vars:
kayobe_src_dir: "{{ zuul.project.src_dir }}"
logs_dir: "/tmp/logs"
tasks:
- name: Ensure overcloud is deployed
shell:
cmd: dev/overcloud-deploy.sh > {{ logs_dir }}/ansible/overcloud-deploy
chdir: "{{ kayobe_src_dir }}"
- name: Perform testing of the overcloud
shell:
cmd: dev/overcloud-test.sh > {{ logs_dir }}/ansible/overcloud-test
chdir: "{{ kayobe_src_dir }}"