logs: add keystone-resources for debug
It can be useful to have keystone resources in a file, when Keystone has been run. Change-Id: I90123f6cba01a1d56e7bc0b1d0cca4c999bb38b1
This commit is contained in:
parent
70f1128dca
commit
23cee64901
@ -179,6 +179,7 @@ fi
|
||||
|
||||
# system status & informations
|
||||
sudo cp /root/openrc $LOG_DIR/openrc.txt
|
||||
sudo chmod 777 $LOG_DIR/openrc.txt
|
||||
df -h > $LOG_DIR/df.txt
|
||||
free -m > $LOG_DIR/free.txt
|
||||
lsmod > $LOG_DIR/lsmod.txt
|
||||
@ -186,6 +187,13 @@ cat /proc/cpuinfo > $LOG_DIR/cpuinfo.txt
|
||||
ps -eo user,pid,ppid,lwp,%cpu,%mem,size,rss,cmd > $LOG_DIR/ps.txt
|
||||
netstat -tulpn > $LOG_DIR/netstat.txt
|
||||
|
||||
# keystone resources
|
||||
source $LOG_DIR/openrc.txt
|
||||
openstack endpoint list >> $LOG_DIR/keystone-resources.txt
|
||||
openstack service list >> $LOG_DIR/keystone-resources.txt
|
||||
openstack project list >> $LOG_DIR/keystone-resources.txt
|
||||
openstack user list >> $LOG_DIR/keystone-resources.txt
|
||||
|
||||
# end of log capture
|
||||
set -e
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user