<div dir="ltr"><div><div><div><div>Hi,<br><br></div>My setup <br><br></div>Contoller+Network node -- 2 nics ( internal+vm, external) <br></div>2x Compute -- 2 nics (internal+vm, external) <br><br>I have used packstack to set the environment up.<br>
<br></div><div>The VMs on compute node are unable to contact controller node. <br></div><div>tcpdump shows me that the packets never make it to controller node<br><br>On compute node<br></div><div>--snip-- <br></div><div>
tcpdump -i br-vm | grep -i dhcp<br></div><div>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<br>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<br>
</div><div>--snip--<br><br></div><div>On controller node the above packets never make it<br></div><div><br></div><div>logs for /var/log/neutron/openvswitch-agent.log on compute node : <br></div><div>--snip--<br></div><div>
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']<br>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]<br>
2014-08-22 17:18:08.348 29698 INFO neutron.agent.securitygroups_rpc [-] Preparing filters for devices set([u'739aff99-7472-4e5c-921b-095005830f61'])<br>2014-08-22 17:18:08.391 29698 INFO neutron.openstack.common.rpc.common [-] Connected to AMQP server on <a href="http://10.5.0.31:5672">10.5.0.31:5672</a><br>
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'}<br>
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<br>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.<br>
</div><div>--snip--<br></div><div><br></div><div>logs for /var/log/neutron/server.log on controller :<br></div><div>--snip--<br><br></div><div>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)<br>
<br>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<br><br>2014-08-22 17:18:11.554 3131 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 10.5.0.31<br>
2014-08-22 17:18:11.657 3131 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 10.5.0.31<br>2014-08-22 17:18:11.827 3131 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 10.5.0.31<br>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}<br>
2014-08-22 17:18:15.656 3131 INFO neutron.wsgi [-] (3131) accepted ('10.5.0.31', 58217)<br>.<br>.<br></div><div>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<br>
<br>2014-08-22 17:19:30.697 3131 INFO neutron.wsgi [-] (3131) accepted ('10.5.0.33', 33439)<br><br>2014-08-22 17:19:30.945 3131 INFO neutron.wsgi [req-8bc82373-aa5b-425f-b258-6a75022ece9f None] (3131) accepted ('10.5.0.33', 33442)<br>
<br>2014-08-22 17:19:30.963 3131 INFO neutron.wsgi [req-fc706978-e642-4057-8fda-9ee53bfddf91 None] 10.5.0.33 - - [22/Aug/2014 17:19:30] "GET /v2.0/subnets.json?id=7667013a-af5f-4171-9797-9dd788fe8461 HTTP/1.1" 200 628 0.017350<br>
<br>2014-08-22 17:19:30.965 3131 INFO neutron.wsgi [req-fc706978-e642-4057-8fda-9ee53bfddf91 None] (3131) accepted ('10.5.0.33', 33443)<br><br>2014-08-22 17:19:30.986 3131 INFO neutron.wsgi [req-7f86ccd7-3463-4057-be48-1c4deb475238 None] 10.5.0.33 - - [22/Aug/2014 17:19:30] "GET /v2.0/ports.json?network_id=16e331e2-3502-4d72-8a91-8931bb90263c&device_owner=network%3Adhcp HTTP/1.1" 200 941 0.020030<br>
<br>2014-08-22 17:20:32.204 3131 INFO neutron.wsgi [-] (3131) accepted ('10.5.0.33', 33444)<br></div><div>--snip--<br></div><div><br></div><div>my plugin.ini on compute node <br><br></div><div>--snip--<br></div><div>
[ml2]<br>type_drivers = vlan<br>tenant_network_types = vlan<br>mechanism_drivers =openvswitch<br>[ml2_type_flat]<br>[ml2_type_vlan]<br>network_vlan_ranges = tvlan:100:110<br>[ml2_type_gre]<br>[ml2_type_vxlan]<br>[securitygroup]<br>
enable_security_group = True<br>firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver<br>[ovs]<br>bridge_mappings = tvlan:br-vm<br>network_vlan_ranges = tvlan:100:110<br>tenant_network_type = vlan<br>
enable_tunneling = False<br>integration_bridge = br-int<br>local_ip = 172.16.0.33<br></div><div>--snip--<br></div><div><br>If I define a fixed ip address I'm unable to query the router on controller node.<br><br></div>
<div>--snip--<br></div><div> tcpdump -i br-vm | grep 172.16.100.254<br>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode<br>listening on br-vm, link-type EN10MB (Ethernet), capture size 65535 bytes<br>
18:00:27.637994 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28<br>18:00:28.638008 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28<br>18:00:29.640179 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28<br>
18:00:30.638030 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28<br>18:00:31.638033 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28<br>18:00:32.640302 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28<br>
18:00:33.638048 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28<br>18:00:34.638055 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28<br></div><div>--snip-- <br></div><div><br><br>What baffles me I'm unable to see the vlan info <br>
<br></div><div># My neutron config for computing-node <br>neutron agent-show 9fa4620b-27e0-4308-a4ef-0bd29bc813f4<br>+---------------------+--------------------------------------+<br>| Field | Value |<br>
+---------------------+--------------------------------------+<br>| admin_state_up | True |<br>| agent_type | Open vSwitch agent |<br>| alive | True |<br>
| binary | neutron-openvswitch-agent |<br>| configurations | { |<br>| | "tunnel_types": [], |<br>| | "tunneling_ip": "172.16.0.33", |<br>
| | "bridge_mappings": { |<br>| | "tvlan": "br-vm" |<br>| | }, |<br>| | "l2_population": false, |<br>
| | "devices": 1 |<br>| | } |<br>| created_at | 2014-08-21 08:59:59 |<br>| description | |<br>
| heartbeat_timestamp | 2014-08-22 16:08:10 |<br>| host | <a href="http://cc03.t10.de">cc03.t10.de</a> |<br>| id | 9fa4620b-27e0-4308-a4ef-0bd29bc813f4 |<br>
| started_at | 2014-08-22 15:09:40 |<br>| topic | N/A |<br>+---------------------+--------------------------------------+<br><br><br></div><div># Controller config <br>
<br>neutron agent-show 8f947289-c8bc-40d6-8ebf-b5a29a5f83bc<br>+---------------------+--------------------------------------+<br>| Field | Value |<br>+---------------------+--------------------------------------+<br>
| admin_state_up | True |<br>| agent_type | Open vSwitch agent |<br>| alive | True |<br>| binary | neutron-openvswitch-agent |<br>
| configurations | { |<br>| | "tunnel_types": [], |<br>| | "tunneling_ip": "", |<br>
| | "bridge_mappings": { |<br>| | "physnet1": "br-ex", |<br>| | "tvlan": "br-vm" |<br>
| | }, |<br>| | "l2_population": false, |<br>| | "devices": 4 |<br>| | } |<br>
| created_at | 2014-08-20 15:49:14 |<br>| description | |<br>| heartbeat_timestamp | 2014-08-22 16:21:39 |<br>| host | <a href="http://cc01.t10.de">cc01.t10.de</a> |<br>
| id | 8f947289-c8bc-40d6-8ebf-b5a29a5f83bc |<br>| started_at | 2014-08-21 11:26:17 |<br>| topic | N/A |<br>+---------------------+--------------------------------------+<br>
<br></div><div><br></div><div>Any pointers to fix the issue .. <br></div><div><br><br></div><div><br></div></div>