Add openstack-info role
This creates a role to display network information about the zuul worker node. Change-Id: I74af3c6e9ea9ab76b6bd8a58ac4f7214504d5b59 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
9bf9abd11a
commit
75b058a98c
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
- name: Display networking information about zuul worker.
|
||||
shell: |
|
||||
export PATH=$PATH:/sbin
|
||||
if [ -f /etc/dib-builddate.txt ]; then
|
||||
echo "Image build date"
|
||||
echo "================"
|
||||
cat /etc/dib-builddate.txt
|
||||
fi
|
||||
echo "Host & kernel"
|
||||
echo "============="
|
||||
uname -a
|
||||
echo "Network interface addresses..."
|
||||
echo "=============================="
|
||||
ip address show
|
||||
echo "Network routing tables..."
|
||||
echo "========================="
|
||||
ip route show
|
||||
ip -6 route show
|
||||
echo "Network neighbors..."
|
||||
echo "===================="
|
||||
ip neighbor show
|
||||
echo "Route to Git mirror..."
|
||||
echo "======================"
|
||||
traceroute6 -n git.openstack.org \
|
||||
|| traceroute -n git.openstack.org \
|
||||
|| true
|
Loading…
Reference in New Issue