Why openvswitch logs appear in a different timezone?

asked 2015-01-23 14:54:12 -0500

francois gravatar image

updated 2015-01-23 18:58:55 -0500

smaffulli gravatar image

I can clearly see all other logs are written in my time zone (MST) but openvswitch are in UTC. Can this be the source of my problems? can't start an instance, l3-agent does not tag bridge,

[root@network ~]# ls -l /var/log/{neutron,openvswitch}/*.log
-rw-r--r--. 1 neutron neutron  330212 Jan 23 13:35 /var/log/neutron/dhcp-agent.log
-rw-r--r--. 1 neutron neutron  554234 Jan 23 13:35 /var/log/neutron/l3-agent.log
-rw-r--r--. 1 neutron neutron  336043 Jan 23 13:35 /var/log/neutron/metadata-agent.log
-rw-r--r--. 1 root    root      20411 Jan 23 13:24 /var/log/neutron/neutron-ns-metadata-proxy-c74f66fe-bf0e-46ab-9a3d-3aeddccccf1c.log
-rw-r--r--. 1 neutron neutron 5438896 Jan 23 13:36 /var/log/neutron/openvswitch-agent.log
-rw-r--r--. 1 neutron neutron   52459 Jan 23 13:22 /var/log/neutron/ovs-cleanup.log
-rw-r--r--. 1 neutron neutron  112925 Jan 22 15:35 /var/log/neutron/server.log
-rw-r--r--. 1 root    root       5130 Jan 23 13:22 /var/log/openvswitch/ovsdb-server.log
-rw-r--r--. 1 root    root      69478 Jan 23 13:24 /var/log/openvswitch/ovs-vswitchd.log

[root@network ~]# tail  /var/log/{neutron,openvswitch}/*.log

/var/log/neutron/dhcp-agent.log 
2015-01-23 13:32:52.746 2069 DEBUG neutron.common.rpc [req-89a39f11-423b-4321-b0c7-21341a8fa20b None] neutron.agent.rpc.PluginReportStateAPI method cast called with arguments (<neutron.context.ContextBase object at 0x3b8c110>, {'args': {'agent_state': {'agent_state': {'binary': 'neutron-dhcp-agent', 'topic': 'dhcp_agent', 'host': 'network.ececloud', 'agent_type': 'DHCP agent', 'configurations': {'subnets': 1, 'use_namespaces': True, 'dhcp_lease_duration': 86400, 'dhcp_driver': 'neutron.agent.linux.dhcp.Dnsmasq', 'networks': 1, 'ports': 2}}}, 'time': '2015-01-23T20:32:52.746570'}, 'namespace': None, 'method': 'report_state'}) {} wrapper /usr/lib/python2.7/site-packages/neutron/common/log.py:33
2015-01-23 13:33:22.749 2069 DEBUG neutron.common.rpc [req-74d5ba47-1460-4317-baa0-959f8356dafc None] neutron.agent.rpc.PluginReportStateAPI method cast called with arguments (<neutron.context.ContextBase object at 0x3a6f1d0>, {'args': {'agent_state': {'agent_state': {'binary': 'neutron-dhcp-agent', 'topic': 'dhcp_agent', 'host': 'network.ececloud', 'agent_type': 'DHCP agent', 'configurations': {'subnets': 1, 'use_namespaces': True, 'dhcp_lease_duration': 86400, 'dhcp_driver': 'neutron.agent.linux.dhcp.Dnsmasq', 'networks': 1, 'ports': 2}}}, 'time': '2015-01-23T20:33:22.748934'}, 'namespace': None, 'method': 'report_state'}) {} wrapper /usr/lib/python2.7/site-packages/neutron/common/log.py:33
2015-01-23 13:33:52.751 2069 DEBUG neutron.common.rpc [req-d321efdd-502c-4217-a111-9aa0e6ef9ba1 None] neutron.agent.rpc.PluginReportStateAPI method cast called with arguments (<neutron.context.ContextBase object at 0x3ac44d0>, {'args': {'agent_state': {'agent_state': {'binary': 'neutron-dhcp-agent', 'topic': 'dhcp_agent', 'host': 'network.ececloud', 'agent_type': 'DHCP agent', 'configurations': {'subnets': 1, 'use_namespaces': True, 'dhcp_lease_duration': 86400, 'dhcp_driver': 'neutron.agent.linux.dhcp.Dnsmasq', 'networks': 1, 'ports': 2}}}, 'time': '2015-01-23T20:33:52.751137'}, 'namespace': None, 'method': 'report_state'}) {} wrapper /usr/lib/python2.7/site-packages/neutron/common/log.py:33
2015-01-23 13:34:22.753 2069 DEBUG neutron.common.rpc [req-f41224ad-8920-4d57-af44-c735c67aed2e None] neutron.agent.rpc.PluginReportStateAPI method cast called with arguments (<neutron.context.ContextBase object at 0x3ac4650>, {'args': {'agent_state': {'agent_state': {'binary': 'neutron-dhcp-agent', 'topic': 'dhcp_agent', 'host': 'network.ececloud', 'agent_type': 'DHCP agent', 'configurations': {'subnets': 1, 'use_namespaces': True, 'dhcp_lease_duration': 86400, 'dhcp_driver': 'neutron.agent.linux.dhcp.Dnsmasq', 'networks': 1, 'ports': 2}}}, 'time': '2015-01-23T20:34:22.753083'}, 'namespace': None, 'method': 'report_state'}) {} wrapper /usr/lib/python2.7/site-packages/neutron/common/log.py:33
2015-01-23 13:34:52.755 2069 DEBUG ...
(more)
edit retag flag offensive close merge delete