ironic/playbooks/ci-workarounds/get_extra_logging.yaml
Julia Kreger 8c95131d81 CI: Save routing table information for troubleshooting
Presently, we don't save the state of the routing table,
which means troubleshooting the ipv6 job failures is difficult
because we just have no way of knowing what is truly going on
with the traffic flow.

Possibly, we may be encountering a case where router
advertisements are overrriding route table entries, and
the only way to know is to see the final state of the table.

Change-Id: Ib15cd21e47e3b884bae2cb956f9113e73034391b
2022-07-20 11:02:39 -07:00

17 lines
676 B
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 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