Advertisement
Guest User

tail /var/log/neutron/dhcp-agent.log (network)

a guest
Jun 17th, 2014
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.63 KB | None | 0 0
  1. dhcp-agent.log l3-agent.log metadata-agent.log openvswitch-agent.log
  2. [root@network ~]# tail /var/log/neutron/dhcp-agent.log
  3. 2014-06-18 00:54:38.021 15859 TRACE neutron.agent.dhcp_agent return _get_impl().call(CONF, context, topic, msg, timeout)
  4. 2014-06-18 00:54:38.021 15859 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/impl_qpid.py", line 784, in call
  5. 2014-06-18 00:54:38.021 15859 TRACE neutron.agent.dhcp_agent rpc_amqp.get_connection_pool(conf, Connection))
  6. 2014-06-18 00:54:38.021 15859 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/amqp.py", line 575, in call
  7. 2014-06-18 00:54:38.021 15859 TRACE neutron.agent.dhcp_agent rv = list(rv)
  8. 2014-06-18 00:54:38.021 15859 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/amqp.py", line 540, in __iter__
  9. 2014-06-18 00:54:38.021 15859 TRACE neutron.agent.dhcp_agent raise result
  10. 2014-06-18 00:54:38.021 15859 TRACE neutron.agent.dhcp_agent RemoteError: Remote error: ProgrammingError (ProgrammingError) (1146, "Table 'neutron.ipallocationpools' doesn't exist") 'SELECT subnets.tenant_id AS subnets_tenant_id, subnets.id AS subnets_id, subnets.name AS subnets_name, subnets.network_id AS subnets_network_id, subnets.ip_version AS subnets_ip_version, subnets.cidr AS subnets_cidr, subnets.gateway_ip AS subnets_gateway_ip, subnets.enable_dhcp AS subnets_enable_dhcp, subnets.shared AS subnets_shared, subnets.ipv6_ra_mode AS subnets_ipv6_ra_mode, subnets.ipv6_address_mode AS subnets_ipv6_address_mode, ipavailabilityranges_1.allocation_pool_id AS ipavailabilityranges_1_allocation_pool_id, ipavailabilityranges_1.first_ip AS ipavailabilityranges_1_first_ip, ipavailabilityranges_1.last_ip AS ipavailabilityranges_1_last_ip, ipallocationpools_1.id AS ipallocationpools_1_id, ipallocationpools_1.subnet_id AS ipallocationpools_1_subnet_id, ipallocationpools_1.first_ip AS ipallocationpools_1_first_ip, ipallocationpools_1.last_ip AS ipallocationpools_1_last_ip \nFROM subnets LEFT OUTER JOIN ipallocationpools AS ipallocationpools_1 ON subnets.id = ipallocationpools_1.subnet_id LEFT OUTER JOIN ipavailabilityranges AS ipavailabilityranges_1 ON ipallocationpools_1.id = ipavailabilityranges_1.allocation_pool_id' ()
  11. 2014-06-18 00:54:38.021 15859 TRACE neutron.agent.dhcp_agent [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/amqp.py", line 462, in _process_data\n **args)\n', u' File "/usr/lib/python2.6/site-packages/neutron/common/rpc.py", line 45, in dispatch\n neutron_ctxt, version, method, namespace, **kwargs)\n', u' File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch\n result = getattr(proxyobj, method)(ctxt, **kwargs)\n', u' File "/usr/lib/python2.6/site-packages/neutron/db/dhcp_rpc_base.py", line 92, in get_active_networks_info\n networks = self._get_active_networks(context, **kwargs)\n', u' File "/usr/lib/python2.6/site-packages/neutron/db/dhcp_rpc_base.py", line 42, in _get_active_networks\n plugin.auto_schedule_networks(context, host)\n', u' File "/usr/lib/python2.6/site-packages/neutron/db/agentschedulers_db.py", line 211, in auto_schedule_networks\n self.network_scheduler.auto_schedule_networks(self, context, host)\n', u' File "/usr/lib/python2.6/site-packages/neutron/scheduler/dhcp_agent_scheduler.py", line 114, in auto_schedule_networks\n subnets = plugin.get_subnets(context, fields=fields)\n', u' File "/usr/lib/python2.6/site-packages/neutron/db/db_base_plugin_v2.py", line 1316, in get_subnets\n page_reverse=page_reverse)\n', u' File "/usr/lib/python2.6/site-packages/neutron/db/db_base_plugin_v2.py", line 197, in _get_collection\n items = [dict_func(c, fields) for c in query]\n', u' File "/usr/lib64/python2.6/site-packages/sqlalchemy/orm/query.py", line 2353, in __iter__\n return self._execute_and_instances(context)\n', u' File "/usr/lib64/python2.6/site-packages/sqlalchemy/orm/query.py", line 2368, in _execute_and_instances\n result = conn.execute(querycontext.statement, self._params)\n', u' File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/base.py", line 662, in execute\n params)\n', u' File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/base.py", line 761, in _execute_clauseelement\n compiled_sql, distilled_params\n', u' File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/base.py", line 874, in _execute_context\n context)\n', u' File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/base.py", line 1024, in _handle_dbapi_exception\n exc_info\n', u' File "/usr/lib64/python2.6/site-packages/sqlalchemy/util/compat.py", line 196, in raise_from_cause\n reraise(type(exception), exception, tb=exc_tb)\n', u' File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/base.py", line 867, in _execute_context\n context)\n', u' File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/default.py", line 324, in do_execute\n cursor.execute(statement, parameters)\n', u' File "/usr/lib64/python2.6/site-packages/MySQLdb/cursors.py", line 173, in execute\n self.errorhandler(self, exc, value)\n', u' File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler\n raise errorclass, errorvalue\n', u'ProgrammingError: (ProgrammingError) (1146, "Table \'neutron.ipallocationpools\' doesn\'t exist") \'SELECT subnets.tenant_id AS subnets_tenant_id, subnets.id AS subnets_id, subnets.name AS subnets_name, subnets.network_id AS subnets_network_id, subnets.ip_version AS subnets_ip_version, subnets.cidr AS subnets_cidr, subnets.gateway_ip AS subnets_gateway_ip, subnets.enable_dhcp AS subnets_enable_dhcp, subnets.shared AS subnets_shared, subnets.ipv6_ra_mode AS subnets_ipv6_ra_mode, subnets.ipv6_address_mode AS subnets_ipv6_address_mode, ipavailabilityranges_1.allocation_pool_id AS ipavailabilityranges_1_allocation_pool_id, ipavailabilityranges_1.first_ip AS ipavailabilityranges_1_first_ip, ipavailabilityranges_1.last_ip AS ipavailabilityranges_1_last_ip, ipallocationpools_1.id AS ipallocationpools_1_id, ipallocationpools_1.subnet_id AS ipallocationpools_1_subnet_id, ipallocationpools_1.first_ip AS ipallocationpools_1_first_ip, ipallocationpools_1.last_ip AS ipallocationpools_1_last_ip \\nFROM subnets LEFT OUTER JOIN ipallocationpools AS ipallocationpools_1 ON subnets.id = ipallocationpools_1.subnet_id LEFT OUTER JOIN ipavailabilityranges AS ipavailabilityranges_1 ON ipallocationpools_1.id = ipavailabilityranges_1.allocation_pool_id\' ()\n'].
  12. 2014-06-18 00:54:38.021 15859 TRACE neutron.agent.dhcp_agent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement