← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1289082] [NEW] neutron not schedule the network to DHCP agent

 

Public bug reported:

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

** Affects: neutron
     Importance: Undecided
         Status: New

** Description changed:

  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
+ Run command:
  
-                 Output in /var/log/neutron/server.log:
+ neutron net-create test-network03
  
-                                 2014-03-06 13:28:37.078 21277 ERROR
+ 
+ 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'}}
+ 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           |
-                +--------------------------------------+--------------------+-------------+-------+----------------+
+ 
+ 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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1289082

Title:
  neutron not schedule the network to DHCP agent

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1289082/+subscriptions


Follow ups

References