kolla-ansible/tools/diag
Marcin Juszkiewicz 1620ab5be9 drop install_type from image names
We have only one value for install_type now and it gets removed from
image names.

Change-Id: I8bf95fd7aa9dd26b80d618ca0fcb097003b4cb0a
2022-04-20 12:29:12 +02:00

30 lines
763 B
Bash
Executable File

#!/usr/bin/env 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|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