Diagnostics for Environment
Change-Id: I99726387d8daf99e85e5502e27710de60c0066bc Implements: blueprint diag-env
This commit is contained in:
parent
a4104c2aec
commit
7323eca726
29
tools/diag
Executable file
29
tools/diag
Executable file
@ -0,0 +1,29 @@
|
||||
#!/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 "##### Ansible Version #####"
|
||||
ansible --version
|
||||
|
||||
echo "##### List installed packages, including editables #####"
|
||||
pip list
|
||||
|
||||
echo "##### Globals.yml file #####"
|
||||
egrep -w 'kolla_base_distro|kolla_install_type|openstack_release' /etc/kolla/globals.yml
|
||||
cat /etc/kolla/globals.yml | grep ^enable_
|
||||
|
||||
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
|
Loading…
Reference in New Issue
Block a user