Add more logs for investigation on quantum issue
https://bugs.launchpad.net/compass/+bug/1314742 Create network failed sometimes due to rpc timeout, so need to know where the delay is. Change-Id: I135d1153c6cf18e4fd2047e5f3e8c7ec61165936
This commit is contained in:
parent
46fb86bffe
commit
ef7e56fa85
@ -33,5 +33,8 @@ default["rsyslog"]["cinderlog"] = {:"cinder-api"=>"/var/log/cinder/api.log",
|
||||
:"cinder-volume"=>"/var/log/cinder/volume.log"}
|
||||
default["rsyslog"]["quantumlog"] = {:"quantum-server"=>"/var/log/quantum/server.log",
|
||||
:"quantum-dhcp"=>"/var/log/quantum/dhcp-agent.log",
|
||||
:"quantum-l3agent"=>"/var/log/quantum/l3-agent.log"}
|
||||
:"quantum-l3agent"=>"/var/log/quantum/l3-agent.log",
|
||||
:"quantum-ovsagent"=>"/var/log/quantum/openvswitch-agent.log"}
|
||||
default["rsyslog"]["keystonelog"] = {:"keystone"=>"/var/log/keystone/keystone.log"}
|
||||
default["rsyslog"]["messaginglog"] = {:"rabbitmq"=>"/var/log/rabbitmq/rabbit\@#{node['hostname']}.log"}
|
||||
default["rsyslog"]["mysqllog"] = {:"mysqld"=>"/var/log/mysqld.log"}
|
||||
|
@ -74,6 +74,28 @@ if roles.gsub("\n",",").strip =~ /os-network/
|
||||
notifies :restart, "service[rsyslog]"
|
||||
end
|
||||
end
|
||||
if roles.gsub("\n",",").strip =~ /os-ops-messaging/
|
||||
template "/etc/rsyslog.d/messaging.conf" do
|
||||
source "openstack.conf.erb"
|
||||
backup false
|
||||
owner "root"
|
||||
group "root"
|
||||
mode 0644
|
||||
variables :loglist => node['rsyslog']['messaginglog']
|
||||
notifies :restart, "service[rsyslog]"
|
||||
end
|
||||
end
|
||||
if roles.gsub("\n",",").strip =~ /os-ops-database/
|
||||
template "/etc/rsyslog.d/database.conf" do
|
||||
source "openstack.conf.erb"
|
||||
backup false
|
||||
owner "root"
|
||||
group "root"
|
||||
mode 0644
|
||||
variables :loglist => node['rsyslog']['mysqllog']
|
||||
notifies :restart, "service[rsyslog]"
|
||||
end
|
||||
end
|
||||
|
||||
file "/etc/rsyslog.d/server.conf" do
|
||||
action :delete
|
||||
|
Loading…
x
Reference in New Issue
Block a user