Add Debugging/Support Script
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/
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
- Started by
- Completed by
Related branches
Related bugs
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
/etc/ceph/ceph.conf
/etc/cinder/
/etc/glance/
/etc/haproxy/
/etc/heat/heat.conf
/etc/horizon/
/etc/iscsi/
/etc/keepalived
/etc/keystone/
/etc/nova/nova.conf
/etc/neutron/*
/etc/puppet/
/etc/rabbitmq/
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/
/var/log/ceph/*
/var/log/cinder/*
/var/log/heat/*
/var/log/horizon/*
/var/log/glance/*
/var/log/keystone/*
/var/log/
/var/log/keystone/*
/var/log/nova/*
/var/log/neutron/*
/var/log/puppet/*
/var/log/rabbitmq/*
/var/log/syslog.*
/home/cephdeplo
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