kolla/tools/diag
zhuzeyu 803dbe2f2f Remove Ansible and Globals.yml in diag script
Ansible and Globals.yml have moved into kolla-ansible repo.

TrivialFix

Change-Id: Ie14af3659bf64cc04554ae1d1a74e86656802e0a
2017-01-17 16:55:15 +08:00

23 lines
551 B
Bash
Executable File

#!/bin/bash
echo "##### System Identification #####"
egrep -w 'PRETTY_NAME|VERSION_ID' /etc/os-release
echo "##### Docker Version #####"
docker --version
echo "##### Docker Info #####"
docker info
echo "##### List installed packages, including editables #####"
pip list
echo "##### Docker Images #####"
docker images -a --filter "label=kolla_version" --filter "dangling=false" --format "{{.ID}} - {{.Repository}}:{{.Tag}} - {{.CreatedSince}}"
echo "##### All Docker Containers #####"
docker ps -a
echo "##### Ip Link Show #####"
ip link show