Skip to content
Snippets Groups Projects
Commit eff41786 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Diagnostics for Environment"

parents 33ab6f8c 7323eca7
No related branches found
No related tags found
No related merge requests found
#!/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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment