42bd2a069a
Typo fix: s/osv/ovs/ in the command name. Change-Id: I5c42accf5e020ad3ecf652bcabdb8b8521f95907
31 lines
1.3 KiB
YAML
31 lines
1.3 KiB
YAML
- hosts: all
|
|
tasks:
|
|
- name: Get tftpd info from journald
|
|
shell: "journalctl -t in.tftpd > {{ zuul_output_dir }}/logs/tftpd-journal.txt"
|
|
become: yes
|
|
- name: Get tftpd info from journald
|
|
shell: "ls -laR /opt/stack/data/ironic/tftpboot /opt/stack/data/ironic/httpboot > {{ zuul_output_dir }}/logs/ironic-files.txt"
|
|
become: yes
|
|
- name: Get network connection information for ironic process
|
|
shell: "netstat -apn > {{ zuul_output_dir }}/logs/post-job-network-connections.txt"
|
|
become: yes
|
|
- name: Get routing table, IPv4
|
|
shell: "ip -4 route > {{ zuul_output_dir }}/logs/post-job-network-routes-v4.txt"
|
|
ignore_errors: True
|
|
become: yes
|
|
- name: Get routing table, IPv6
|
|
shell: "ip -6 route > {{ zuul_output_dir }}/logs/post-job-network-routes-v6.txt"
|
|
ignore_errors: True
|
|
become: yes
|
|
- name: Get interfaces
|
|
shell: "ip -s -s link > {{ zuul_output_dir }}/logs/post-job-network-interfaces.txt"
|
|
ignore_errors: True
|
|
become: yes
|
|
- name: Get addresses
|
|
shell: "ip addr > {{ zuul_output_dir }}/logs/post-job-network-addresses.txt"
|
|
ignore_errors: True
|
|
become: yes
|
|
- name: Get OVS
|
|
shell: "ovs-vsctl show > {{ zuul_output_dir }}/logs/post-job-network-ovs.txt"
|
|
ignore_errors: True
|