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 on compute node are unable to contact controller node.
tcpdump shows me that the packets never make it to controller node
On compute node
--snip--
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
--snip--
On controller node the above packets never make it
logs for /var/log/neutron/openvswitch-agent.log on compute node :
--snip--
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.
--snip--
logs for /var/log/neutron/server.log on controller :
--snip--
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.wsgi [-] (3131) accepted ('10.5.0.33', 33439)
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)
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
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)
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
2014-08-22 17:20:32.204 3131 INFO neutron.wsgi [-] (3131) accepted ('10.5.0.33', 33444)
--snip--
my plugin.ini on compute node
--snip--
[ml2]
type_drivers = vlan
tenant_network_types = vlan
mechanism_drivers =openvswitch
[ml2_type_flat]
[ml2_type_vlan]
network_vlan_ranges = tvlan:100:110
[ml2_type_gre]
[ml2_type_vxlan]
[securitygroup]
enable_security_group = True
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
[ovs]
bridge_mappings = tvlan:br-vm
network_vlan_ranges = tvlan:100:110
tenant_network_type = vlan
enable_tunneling = False
integration_bridge = br-int
local_ip = 172.16.0.33
--snip--
If I define a fixed ip address I'm unable to query the router on controller node.
--snip--
tcpdump -i br-vm | grep 172.16.100.254
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-vm, link-type EN10MB (Ethernet), capture size 65535 bytes
18:00:27.637994 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28
18:00:28.638008 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28
18:00:29.640179 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28
18:00:30.638030 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28
18:00:31.638033 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28
18:00:32.640302 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28
18:00:33.638048 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28
18:00:34.638055 ARP, Request who-has 172.16.100.254 tell 172.16.100.5, length 28
--snip--
What baffles me I'm unable to see the vlan info
# My neutron config for computing-node
neutron agent-show 9fa4620b-27e0-4308-a4ef-0bd29bc813f4
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| admin_state_up | True |
| agent_type | Open vSwitch agent |
| alive | True |
| binary | neutron-openvswitch-agent |
| configurations | { |
| | "tunnel_types": [], |
| | "tunneling_ip": "172.16.0.33", |
| | "bridge_mappings": { |
| | "tvlan": "br-vm" |
| | }, |
| | "l2_population": false, |
| | "devices": 1 |
| | } |
| created_at | 2014-08-21 08:59:59 |
| description | |
| heartbeat_timestamp | 2014-08-22 16:08:10 |
| host |
cc03.t10.de |
| id | 9fa4620b-27e0-4308-a4ef-0bd29bc813f4 |
| started_at | 2014-08-22 15:09:40 |
| topic | N/A |
+---------------------+--------------------------------------+
# Controller config
neutron agent-show 8f947289-c8bc-40d6-8ebf-b5a29a5f83bc
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| admin_state_up | True |
| agent_type | Open vSwitch agent |
| alive | True |
| binary | neutron-openvswitch-agent |
| configurations | { |
| | "tunnel_types": [], |
| | "tunneling_ip": "", |
| | "bridge_mappings": { |
| | "physnet1": "br-ex", |
| | "tvlan": "br-vm" |
| | }, |
| | "l2_population": false, |
| | "devices": 4 |
| | } |
| created_at | 2014-08-20 15:49:14 |
| description | |
| heartbeat_timestamp | 2014-08-22 16:21:39 |
| host |
cc01.t10.de |
| id | 8f947289-c8bc-40d6-8ebf-b5a29a5f83bc |
| started_at | 2014-08-21 11:26:17 |
| topic | N/A |
+---------------------+--------------------------------------+
Any pointers to fix the issue ..