commit
35df4446d3
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.pyc
|
@ -2,3 +2,4 @@ recursive-include rq *
|
||||
recursive-include doc *
|
||||
include README.md
|
||||
include config.yaml
|
||||
include rq.yaml
|
32
config.yaml
32
config.yaml
@ -10,22 +10,32 @@ env_vars:
|
||||
- 'IPTABLES_STR="iptables -nvL"'
|
||||
fuelip: '127.0.0.1'
|
||||
rqdir: './rq'
|
||||
rqfile: './rq.yaml'
|
||||
soft_filter:
|
||||
status: ['ready']
|
||||
online: True
|
||||
timeout: 15
|
||||
compress_timeout: 3600
|
||||
log_path: '/var/log'
|
||||
log_filter:
|
||||
include: '(.)*'
|
||||
logs:
|
||||
path: '/var/log'
|
||||
exclude: '[-_]\d{8}$|atop[-_]|\.gz$'
|
||||
# by_role:
|
||||
# contrail:
|
||||
# log_filter:
|
||||
# include: 'contrail'
|
||||
# by_node_id:
|
||||
# 3:
|
||||
# by_roles:
|
||||
# compute:
|
||||
# logs:
|
||||
# path: '/var/log'
|
||||
# include: 'compute'
|
||||
# ceph-osd:
|
||||
# logs:
|
||||
# path: '/var/log'
|
||||
# include: 'ceph'
|
||||
# start: '2016-05-05'
|
||||
# by_id:
|
||||
# 1:
|
||||
# env_vars:
|
||||
# - 'OPENRC=/root/openrc'
|
||||
# - 'IPTABLES_STR="iptables -S"'
|
||||
# log_filter:
|
||||
# include: 'messages'
|
||||
# logs:
|
||||
# path: '/var/log'
|
||||
# start: '2016-05-08 22:00:01'
|
||||
# cmds:
|
||||
# - 'df-m'
|
||||
|
69
rq.yaml
Normal file
69
rq.yaml
Normal file
@ -0,0 +1,69 @@
|
||||
filelists:
|
||||
by_roles:
|
||||
fuel: [etc-nailgun, etc-fuel]
|
||||
ceph-osd: [etc-ceph]
|
||||
cinder: [etc-cinder]
|
||||
compute: [etc-nova, etc-libvirt]
|
||||
controller: [etc-glance, etc-haproxy, etc-nova,
|
||||
etc-keystone, etc-neutron, etc-mysql]
|
||||
# f3flight: removed etc-heat, etc-ceph-controller from controller since it's not always present, gives a warning
|
||||
# f3flight: need to make a better way to decide which files to collect
|
||||
by_os_platform:
|
||||
centos: [etc-yum]
|
||||
ubuntu: [etc-apt]
|
||||
scripts:
|
||||
by_release:
|
||||
'4.1.1':
|
||||
by_roles:
|
||||
fuel: [fuel-postgres-dump]
|
||||
'5.0.1':
|
||||
by_roles:
|
||||
fuel: [fuel-docker-ps, fuel-dockerctl-check, fuel-docker-db-archive]
|
||||
'6.0':
|
||||
by_roles:
|
||||
compute: [ipset-save, ipset-list]
|
||||
controller: [ipset-save, ipset-list]
|
||||
'6.1':
|
||||
by_roles:
|
||||
fuel: [fuel-notifications]
|
||||
'7.0':
|
||||
by_roles:
|
||||
fuel: [fuel-notifications]
|
||||
'5.1.1':
|
||||
by_roles:
|
||||
fuel: [fuel-dockerctl-list, fuel-docker-ps, fuel-dockerctl-check, fuel-docker-db-archive]
|
||||
'8.0':
|
||||
by_roles:
|
||||
fuel: [fuel-notifications]
|
||||
by_roles:
|
||||
fuel: [fuel-release, fuel-task-list, fuel-environment-list]
|
||||
cinder: [ovs-vsctl-show, cinder-manage]
|
||||
compute: [compute-iptables-nat, ovs-dump-flows, compute-iptables, ovs-ofctl-show-bridges,
|
||||
ovs-vsctl-show]
|
||||
controller: [rabbitmqctl-list-queues, nova-manage-service-list, iptables-namespaces,
|
||||
rabbitmqctl-cluster-status, crm-resource-status, ovs-dump-flows, neutron-agent-list,
|
||||
mysql-status, ceph-mon-status, ovs-ofctl-show-bridges, rabbitmqctl-list-connections,
|
||||
ovs-vsctl-show, rabbitmqctl-report, mysql-size, rabbitmqctl-status, crm-resource-list,
|
||||
cinder-manage]
|
||||
mongo: [mongo-replication-status, ipa, mongo-replica-conf, mongo-status, ovs-vsctl-show]
|
||||
once_by_roles:
|
||||
ceph-osd: [ceph-df, ceph-osd-status, ceph-osd-tree, ceph-pg-dump, ovs-vsctl-show,
|
||||
ceph-health-detail]
|
||||
controller: [neutron-router-list, neutron-net-list, neutron-subnet-list, keystone-endpoint-list,
|
||||
cinder-list, nova-list, nova-manage-vm-list, keystone-tenant-list, nova-usage-list,
|
||||
neutron-port-list]
|
||||
by_os_platform:
|
||||
ubuntu: [dmesg-t-ubuntu, packages-ubuntu]
|
||||
centos: [dmesg-centos, packages-centos]
|
||||
__default:
|
||||
[ip-ne, iptables, ipnetns, ss, ipa, iptables-nat, df-m, services-status, cpuinfo, df-i, ipro]
|
||||
# cmds:
|
||||
# __default:
|
||||
# test:
|
||||
# 'echo "test" | head -n 1'
|
||||
# test2:
|
||||
# 'echo "test2" | less'
|
||||
# by_roles:
|
||||
# compute:
|
||||
# t3: 'echo t3'
|
||||
# t4: 'echo t4'
|
@ -1 +0,0 @@
|
||||
../../cmds/cinder-manage
|
@ -1 +0,0 @@
|
||||
../../cmds/ovs-vsctl-show
|
@ -1 +0,0 @@
|
||||
../../cmds/compute-iptables
|
@ -1 +0,0 @@
|
||||
../../cmds/compute-iptables-nat
|
@ -1 +0,0 @@
|
||||
../../cmds/ovs-dump-flows
|
@ -1 +0,0 @@
|
||||
../../cmds/ovs-ofctl-show-bridges
|
@ -1 +0,0 @@
|
||||
../../cmds/ovs-vsctl-show
|
@ -1 +0,0 @@
|
||||
../../cmds/ceph_mon_status
|
@ -1 +0,0 @@
|
||||
../../cmds/cinder-manage
|
@ -1 +0,0 @@
|
||||
../../cmds/crm-resource-list
|
@ -1 +0,0 @@
|
||||
../../cmds/crm-resource-status
|
@ -1 +0,0 @@
|
||||
../../cmds/iptables-namespaces
|
@ -1 +0,0 @@
|
||||
../../cmds/mysql-size
|
@ -1 +0,0 @@
|
||||
../../cmds/mysql-status
|
@ -1 +0,0 @@
|
||||
../../cmds/neutron-agent-list
|
@ -1 +0,0 @@
|
||||
../../cmds/nova-manage-service-list
|
@ -1 +0,0 @@
|
||||
../../cmds/ovs-dump-flows
|
@ -1 +0,0 @@
|
||||
../../cmds/ovs-ofctl-show-bridges
|
@ -1 +0,0 @@
|
||||
../../cmds/ovs-vsctl-show
|
@ -1 +0,0 @@
|
||||
../../cmds/rabbitmqctl-cluster-status
|
@ -1 +0,0 @@
|
||||
../../cmds/rabbitmqctl-list-queues
|
@ -1 +0,0 @@
|
||||
../../cmds/rabbitmqctl-report
|
@ -1 +0,0 @@
|
||||
../../cmds/rabbitmqctl-status
|
@ -1 +0,0 @@
|
||||
../../cmds/rabbitmqctl_list_connections
|
@ -1 +0,0 @@
|
||||
../../cmds/fuel-environment-list
|
@ -1 +0,0 @@
|
||||
../../cmds/fuel-release
|
@ -1 +0,0 @@
|
||||
../../cmds/fuel-task-list
|
@ -1 +0,0 @@
|
||||
../../cmds/ipa
|
@ -1 +0,0 @@
|
||||
../../cmds/mongo-replica-conf
|
@ -1 +0,0 @@
|
||||
../../cmds/mongo-replication-status
|
@ -1 +0,0 @@
|
||||
../../cmds/mongo-status
|
@ -1 +0,0 @@
|
||||
../../cmds/ovs-vsctl-show
|
@ -1,9 +0,0 @@
|
||||
Please, don't include commands which requests lists of vms, images, endpoints,
|
||||
tenants, etc. to decrease a high load on the cluster.
|
||||
Add these command to 'extended' role, which can be configured for some nodes.
|
||||
|
||||
The following commands can be executed in extended mode:
|
||||
cinder-list
|
||||
nova-list
|
||||
nova-usage-list
|
||||
nova-manage-vm-list
|
@ -1,2 +0,0 @@
|
||||
ceph mon_status
|
||||
|
@ -1,2 +0,0 @@
|
||||
source "$OPENRC"
|
||||
keystone endpoint-list
|
@ -1,2 +0,0 @@
|
||||
source "$OPENRC"
|
||||
keystone tenant-list
|
@ -1 +0,0 @@
|
||||
keep this directory structure to compatible symlinks
|
@ -1 +0,0 @@
|
||||
../../cmds/dmesg
|
@ -1 +0,0 @@
|
||||
../../cmds/dmesg-t
|
@ -1 +0,0 @@
|
||||
../../cmds/.packages-centos
|
@ -1 +0,0 @@
|
||||
../../cmds/.packages-ubuntu
|
@ -1 +0,0 @@
|
||||
../../cmds/cpuinfo
|
@ -1 +0,0 @@
|
||||
../../cmds/df-i
|
@ -1 +0,0 @@
|
||||
../../cmds/df-m
|
@ -1 +0,0 @@
|
||||
../../cmds/ip-ne
|
@ -1 +0,0 @@
|
||||
../../cmds/ipa
|
@ -1 +0,0 @@
|
||||
../../cmds/ipnetns
|
@ -1 +0,0 @@
|
||||
../../cmds/ipro
|
@ -1 +0,0 @@
|
||||
../../cmds/iptables
|
@ -1 +0,0 @@
|
||||
../../cmds/iptables-nat
|
@ -1 +0,0 @@
|
||||
../../cmds/services-status
|
@ -1 +0,0 @@
|
||||
../../cmds/ss
|
@ -1 +0,0 @@
|
||||
../../cmds/ceph-df
|
@ -1 +0,0 @@
|
||||
../../cmds/ceph-health-detail
|
@ -1 +0,0 @@
|
||||
../../cmds/ceph-osd-status
|
@ -1 +0,0 @@
|
||||
../../cmds/ceph-osd-tree
|
@ -1 +0,0 @@
|
||||
../../cmds/ceph-pg-dump
|
@ -1 +0,0 @@
|
||||
../../cmds/ovs-vsctl-show
|
@ -1 +0,0 @@
|
||||
../../cmds/cinder-list
|
@ -1 +0,0 @@
|
||||
../../cmds/keystone-endpoint-list
|
@ -1 +0,0 @@
|
||||
../../cmds/keystone-tenant-list
|
@ -1 +0,0 @@
|
||||
../../cmds/neutron-net-list
|
@ -1 +0,0 @@
|
||||
../../cmds/neutron-port-list
|
@ -1 +0,0 @@
|
||||
../../cmds/neutron-router-list
|
@ -1 +0,0 @@
|
||||
../../cmds/neutron-subnet-list
|
@ -1 +0,0 @@
|
||||
../../cmds/nova-list
|
@ -1 +0,0 @@
|
||||
../../cmds/nova-manage-vm-list
|
@ -1 +0,0 @@
|
||||
../../cmds/nova-usage-list
|
@ -1 +0,0 @@
|
||||
enabled by set extended=1 in env.sh
|
@ -1 +0,0 @@
|
||||
../../cmds/fuel-postgres-dump
|
@ -1 +0,0 @@
|
||||
../../cmds/fuel-docker-db-archive
|
@ -1 +0,0 @@
|
||||
../../cmds/fuel-docker-ps
|
@ -1 +0,0 @@
|
||||
../../cmds/fuel-dockerctl-check
|
@ -1 +0,0 @@
|
||||
../../cmds/fuel-docker-db-archive
|
@ -1 +0,0 @@
|
||||
../../cmds/fuel-docker-ps
|
@ -1 +0,0 @@
|
||||
../../cmds/fuel-dockerctl-check
|
@ -1 +0,0 @@
|
||||
../../cmds/fuel-dockerctl-list
|
@ -1 +0,0 @@
|
||||
../../cmds/ipset-list
|
@ -1 +0,0 @@
|
||||
../../cmds/ipset-save
|
@ -1 +0,0 @@
|
||||
../../cmds/ipset-list
|
@ -1 +0,0 @@
|
||||
../../cmds/ipset-save
|
@ -1 +0,0 @@
|
||||
../../cmds/fuel-notifications
|
@ -1 +0,0 @@
|
||||
../../cmds/fuel-notifications
|
@ -1 +0,0 @@
|
||||
../../cmds/fuel-notifications
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user