Add Debugging/Support Script

Registered by Mark T. Voelker

In order to help troubleshoot installations, it would be handy to have a script that could collect information about the infrastructure. This might include things like: site.pp, syslogs, nova/cinder/neutron/etc logs, Nagios info, load averages, etc.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Low
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

the Openstack "show tech det"

two points

1) show commands
ceph status
ovs-vsctrl show
glance image-list
rbd ls --pool-images
keystone service-list
nova-manage service list
neutron

cat configs

/etc/ceilometer/ceilometer.conf
/etc/ceph/ceph.conf
/etc/cinder/cinder.conf
/etc/glance/glance.conf
/etc/haproxy/haproxy.conf
/etc/heat/heat.conf
/etc/horizon/horizon.conf
/etc/iscsi/iscsi.conf
/etc/keepalived/keeepalived.conf
/etc/keystone/keystone.conf
/etc/nova/nova.conf
/etc/neutron/*
/etc/puppet/puppet.conf
/etc/rabbitmq/rabbitmq.conf

2)
coi-tech-pac (this creates a zipped file) either copied off the server but I would suggest it be clickable within Horizon like a tech button.

Include the all of the above show commands dumped to a single file.

package the following paths
/var/log/ceilometer/*
/var/log/ceph/*
/var/log/cinder/*
/var/log/heat/*
/var/log/horizon/*
/var/log/glance/*
/var/log/keystone/*
/var/log/keepalived/*
/var/log/keystone/*
/var/log/nova/*
/var/log/neutron/*
/var/log/puppet/*
/var/log/rabbitmq/*
/var/log/syslog.*
/home/cephdeploy/bootstrap/ceph.log

One other thought -- the RDO / packstack toolset includes some commands already (openstack-status, etc) that serve this role. Rather than reinvent and diversify it may be worth looking at those to see how much they cover of what we want and extending / contributing back if necessary

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.