icehouse with ML2 : VMs not able to get DHCP on Centos 6.5 [closed]

asked 2014-08-25 11:01:11 -0500

t10 gravatar image

My setup:

Contoller+Network node -- 2 nics ( internal+vm, external)
2x Compute -- 2 nics (internal+vm, external)

I have used packstack to set the environment up. The VMs(instances) on compute node are unable to contact controller node. tcpdump shows me that the packets never make it to controller node

On compute node:

tcpdump -i br-vm     | grep -i dhcp
17:25:52.476521 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from fa:16:3e:3e:ca:c2 (oui Unknown), length 281
17:27:52.598709 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from fa:16:3e:3e:ca:c2 (oui Unknown), length 281

On controller node the above packets never make it, logs for /var/log/neutron/openvswitch-agent.log on compute node :

2014-08-22 17:17:38.793 29698 INFO neutron.agent.securitygroups_rpc [req-faf30bbb-de0c-4f41-8fcb-cf9f09cfd141 None] Security group member updated [u'292c5a84-5c31-4158-858d-8261a6ea9680']
2014-08-22 17:18:08.231 29698 WARNING neutron.agent.linux.ovs_lib [-] Found failed openvswitch port: [u'int-br-ex', [u'map', []], -1]
2014-08-22 17:18:08.348 29698 INFO neutron.agent.securitygroups_rpc [-] Preparing filters for devices set([u'739aff99-7472-4e5c-921b-095005830f61'])
2014-08-22 17:18:08.391 29698 INFO neutron.openstack.common.rpc.common [-] Connected to AMQP server on 10.5.0.31:5672
2014-08-22 17:18:09.162 29698 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Port 739aff99-7472-4e5c-921b-095005830f61 updated. Details: {u'admin_state_up': True, u'network_id': u'16e331e2-3502-4d72-8a91-8931bb90263c', u'segmentation_id': 100, u'physical_network': u'tvlan', u'device': u'739aff99-7472-4e5c-921b-095005830f61', u'port_id': u'739aff99-7472-4e5c-921b-095005830f61', u'network_type': u'vlan'}
2014-08-22 17:18:09.162 29698 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Assigning 1 as local vlan for net-id=16e331e2-3502-4d72-8a91-8931bb90263c
2014-08-22 17:18:09.639 29698 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Configuration for device 739aff99-7472-4e5c-921b-095005830f61 completed.

logs for /var/log/neutron/server.log on controller :

2014-08-22 17:18:01.996 3131 INFO neutron.wsgi [req-6dbeeb06-b98c-4567-b4c5-1003932ea426 None] (3131) accepted ('10.5.0.31', 58207)

2014-08-22 17:18:02.052 3131 INFO neutron.wsgi [req-53df877f-59bd-48d9-a8c0-ec799ce86677 None] 10.5.0.31 - - [22/Aug/2014 17:18:02] "GET //v2.0/subnets.json HTTP/1.1" 200 1424 0.055183

2014-08-22 17:18:11.554 3131 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 10.5.0.31
2014-08-22 17:18:11.657 3131 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 10.5.0.31
2014-08-22 17:18:11.827 3131 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 10.5.0.31
2014-08-22 17:18:12.048 3131 INFO neutron.notifiers.nova [-] Nova event response: {u'status': u'completed', u'tag': u'739aff99-7472-4e5c-921b-095005830f61', u'name': u'network-vif-plugged', u'server_uuid': u'aaf0838b-d668-457a-b564-b9aa626ea78a', u'code': 200}
2014-08-22 17:18:15.656 3131 INFO neutron.wsgi [-] (3131) accepted ('10.5.0.31', 58217)
.
.
2014-08-22 17:18:29.494 3131 INFO neutron.wsgi [req-a8c3197a-9ac8-4721-b2c2-7e120c1b2b68 None] 10.5.0.33 - - [22/Aug/2014 17:18:29] "GET /v2.0/ports.json?network_id=16e331e2-3502-4d72-8a91-8931bb90263c&device_owner=network%3Adhcp HTTP/1.1" 200 941 0.020400

2014-08-22 17:19:30.697 3131 INFO neutron ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2015-03-05 14:21:34.067241

Comments

Please run ip netns on Controller.

dbaxps gravatar imagedbaxps ( 2014-08-25 12:52:59 -0500 )edit

@t10 - Six months on ... wondering if you'd found a solution, or if this is still an open issue. Thanks.

rbowen gravatar imagerbowen ( 2015-03-05 11:20:25 -0500 )edit