File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -327,6 +327,17 @@ jobs:
327
327
run : |
328
328
test $(wc -l < tempest-artifacts/failed-tests) -lt 1
329
329
330
+ - name : Collect diagnostic information
331
+ run : |
332
+ sudo -E docker run -t --rm \
333
+ -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
334
+ -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
335
+ $KAYOBE_IMAGE \
336
+ /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/diagnostics.yml
337
+ env :
338
+ KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
339
+ if : always()
340
+
330
341
- name : Destroy
331
342
run : terraform destroy -auto-approve
332
343
working-directory : ${{ github.workspace }}/terraform/aio
Original file line number Diff line number Diff line change
1
+ ---
2
+ - name : Collect diagnostic information
3
+ hosts : seed-hypervisor:seed:overcloud:infra-vms
4
+ tasks :
5
+ - command : lsblk
6
+ become : true
7
+ - command : df -h
8
+ become : true
9
+ - command : vgs
10
+ become : true
11
+ - command : lvs
12
+ become : true
You can’t perform that action at this time.
0 commit comments