[Openstack] neutron not schedule the network to DHCP agent

Li, Chen chen.li at intel.com
Thu Mar 6 05:32:16 UTC 2014


Hi list,

I'm working on CentOS 6.4 + Havana.

When I create a new network, I get error message in /var/log/neutron/server.log:
                Run command:
                                neutron net-create test-network03

                Output in /var/log/neutron/server.log:
2014-03-06 13:28:37.078 21277 ERROR neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api [-] No DHCP agents are associated with network 'b02112bf-9fe5-4053-8ced-e08bd2547b49'. Unable to send notification for 'network_create_end' with payload: {'network': {'status': 'ACTIVE', 'subnets': [], 'name': u'test-network03', 'provider:physical_network': None, 'admin_state_up': True, 'tenant_id': u'1e57be810f854bcdb73901567140ac48', 'provider:network_type': u'gre', 'shared': False, 'id': 'b02112bf-9fe5-4053-8ced-e08bd2547b49', 'provider:segmentation_id': 3L}}

                Run command:
neutron subnet-create test-network03 90.1.130.0/24

Output in /var/log/neutron/server.log:
2014-03-06 13:30:43.414 21277 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): host-keystone
2014-03-06 13:30:43.516 21277 ERROR neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api [-] No DHCP agents are associated with network 'b02112bf-9fe5-4053-8ced-e08bd2547b49'. Unable to send notification for 'subnet_create_end' with payload: {'subnet': {'name': '', 'enable_dhcp': True, 'network_id': u'b02112bf-9fe5-4053-8ced-e08bd2547b49', 'tenant_id': u'1e57be810f854bcdb73901567140ac48', 'dns_nameservers': [], 'allocation_pools': [{'start': '90.1.130.2', 'end': '90.1.130.254'}], 'host_routes': [], 'ip_version': 4, 'gateway_ip': '90.1.130.1', 'cidr': u'90.1.130.0/24', 'id': '25d1653f-d043-41e6-9206-d020cab041b1'}}


I do have an active DHCP agent:
neutron agent-list
+--------------------------------------+--------------------+-------------+-------+----------------+
| id                                   | agent_type         | host        | alive | admin_state_up |
+--------------------------------------+--------------------+-------------+-------+----------------+
| 246dd973-ebfd-4948-b655-6171f5866b19 | DHCP agent         | b-compute05 | :-)   | True           |
| 5c6260cf-15c2-4757-9170-68be2d5e5d8b | Open vSwitch agent | b-compute05 | :-)   | True           |
+--------------------------------------+--------------------+-------------+-------+----------------+

Anyone know why this happen ?????

Thanks.
-chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140306/d4406353/attachment.html>


More information about the Openstack mailing list