ovs: port not associated with the right bridge
I'm attempting to use Quantum with the OVS plugin to hook up some instances to existing physical networks. On my nova-compute host, eth1 is the physical network I want to bridge things onto.
In ovs_quantum_
network_
bridge_
In nova.conf, I have:
libvirt_
libvirt_
I have created a br-site and added eth1 to it:
compute# ovs-vsctl list-ifaces br-site
eth1
phy-br-site
On the controller, I have defined a provider network backed by the "eth1" physical network:
controller# quantum net-show f2946abb-
+------
| Field | Value |
+------
| admin_state_up | True |
| id | f2946abb-
| name | site-net |
| provider:
| provider:
| provider:
| router:external | True |
| shared | True |
| status | ACTIVE |
| subnets | f921585c-
| tenant_id | 3138a2b60ce54a3
+------
and associated a subnet:
controller# quantum subnet-show f921585c-
+------
| Field | Value |
+------
| allocation_pools | {"start": "10.238.158.66", "end": "10.238.158.94"} |
| cidr | 10.238.158.64/27 |
| dns_nameservers | |
| enable_dhcp | False |
| gateway_ip | 10.238.158.65 |
| host_routes | |
| id | f921585c-
| ip_version | 4 |
| name | isa-site |
| network_id | f2946abb-
| tenant_id | 3138a2b60ce54a3
+------
This is how I'm launching the instance:
controller# quantum port-create --fixed-ip subnet_
Created a new port:
[...]
| fixed_ips | {"subnet_id": "f921585c-
| network_id | f2946abb-
controller# nova boot --image 0c413854-
Now when I go look on the compute node, I see the bridge hooked up to br-int:
compute# ovs-vsctl list-ports br-int
int-br-site
qvo992402d9-e3
tap375395d4-6f
compute# ovs-vsctl list-ports br-site
eth1
phy-br-site
But they never get hooked up to br-site, hence never get bridged to eth1, and don't end up on the network. Any ideas? Thanks in advance.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- yong sheng gong
- Solved:
- Last query:
- Last reply: