c1dd9435ee
Packstack has traditionally allowed multinode deployments with 1 controller, one or more network nodes and several compute nodes, but this has never been properly tested in our CI. This job enables an option to use a 2-node architecture, with one controller and one compute node. It adds a job running scenario002, but enables scenario001 and scenario003, so they can be used on demand if needed. Change-Id: Ide96a232c902370f3ec25ed54f2b272cc1757dad
21 lines
464 B
YAML
21 lines
464 B
YAML
- hosts: compute
|
|
name: store compute node logs
|
|
tasks:
|
|
- file:
|
|
path: /tmp/logs
|
|
state: directory
|
|
mode: 0755
|
|
|
|
- file:
|
|
path: /tmp/compute
|
|
state: directory
|
|
mode: 0755
|
|
|
|
- shell:
|
|
cmd: |
|
|
source /home/zuul/src/git.openstack.org/openstack/packstack/tools/copy-logs.sh
|
|
recover_default_logs
|
|
mv /tmp/logs/* /tmp/compute
|
|
mv /tmp/compute /tmp/logs
|
|
become: true
|