"Executable not found: brctl" when using linuxbridge
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
New
|
Undecided
|
Unassigned |
Bug Description
After failing to get openvswitch to connect to the external network (Internet) I decided to give linuxbridge a try. But it only got worse! Networking was not working at all.
After checking log files I found the following error in /var/log/
I'm deploying on 10 servers 3 of them are control and network using (centos,source) to build images.
...
...
...
2016-04-07 17:58:23.406 1 ERROR neutron.
2016-04-07 17:58:23.406 1 ERROR neutron.
2016-04-07 17:58:23.406 1 ERROR neutron.
2016-04-07 17:58:23.406 1 ERROR neutron.
2016-04-07 17:58:23.406 1 ERROR neutron.
2016-04-07 17:58:23.406 1 ERROR neutron.
2016-04-07 17:58:23.406 1 ERROR neutron.
2016-04-07 17:58:23.406 1 ERROR neutron.
2016-04-07 17:58:23.406 1 ERROR neutron.
2016-04-07 17:58:23.406 1 ERROR neutron.
Another issue is that after removing the openvswitch deployment and cleaning up I was not able to remove the bridges created by openvswitch.
I was getting the error "RTNETLINK answers: Operation not supported"
The only way to remove them was through the openvswitch container using the following commands:
docker exec openvswitch_
docker exec openvswitch_
docker exec openvswitch_
docker exec openvswitch_
Maybe this should added to the cleanup scripts before removing the containers?
Just wanted to add that in the case of openvswitch this is what I get in /var/log/ kolla/neutron/ neutron- openvswitch- agent.log
2016-04-07 18:55:39.252 1 INFO neutron. plugins. ml2.drivers. openvswitch. agent.ovs_ neutron_ agent [req-1ef53c53- dcb3-43e8- aced-85618be453 9c - - - - -] Mapping physical network physnet1 to bridge br-ex agent.ovsdb. impl_vsctl [req-1ef53c53- dcb3-43e8- aced-85618be453 9c - - - - -] Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--columns$ agent.common. ovs_lib [req-1ef53c53- dcb3-43e8- aced-85618be453 9c - - - - -] Timed out retrieving ofport on port int-br-ex. agent.common. ovs_lib Traceback (most recent call last): agent.common. ovs_lib File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ neutron/ agent/common/ ovs_lib. py", line 293, in get_port_ofport agent.common. ovs_lib ofport = self._get_ port_ofport( port_name) agent.common. ovs_lib File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ neutron/ agent/common/ ovs_lib. py", line 92, in wrapped agent.common. ovs_lib return new_fn(*args, **kwargs) agent.common. ovs_lib File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ retrying. py", line 49, in wrapped_f agent.common. ovs_lib return Retrying(*dargs, **dkw).call(f, *args, **kw) agent.common. ovs_lib File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ retrying. py", line 214, in call agent.common. ovs_lib raise RetryError(attempt) agent.common. ovs_lib RetryError: RetryError[ Attempts: 13, Value: None] agent.common. ovs_lib agent.ovsdb. impl_vsctl [req-1ef53c53- dcb3-43e8- aced-85618be453 9c - - - - -] Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--columns= agent.common. ovs_lib [req-1ef53c53- dcb3-43e8- aced-85618be453 9c - - - - -] Timed out retrieving ofport on port phy-br-ex. agent.common. ovs_lib Traceback (most recent call last): agent.common. ovs_lib File "/var/lib/ kolla/venv/ lib/python2. 7/site- packages/ neutron/ agent/common/ ovs_lib. py", line 293, in get_port_ofport agent.common. ovs_lib ofport = self._get_ port_ofport( port_name) agent.common. ovs_lib File "/var/lib/ kolla/venv/ lib/python2. ..
2016-04-07 18:55:40.835 1 ERROR neutron.
ofport', 'list', 'Interface', 'int-br-ex']. Exception: Exit code: 1; Stdin: ; Stdout: ; Stderr: ovs-vsctl: no row "int-br-ex" in table Interface
..
..
..
2016-04-07 18:55:51.104 1 ERROR neutron.
2016-04-07 18:55:51.104 1 ERROR neutron.
2016-04-07 18:55:51.104 1 ERROR neutron.
2016-04-07 18:55:51.104 1 ERROR neutron.
2016-04-07 18:55:51.104 1 ERROR neutron.
2016-04-07 18:55:51.104 1 ERROR neutron.
2016-04-07 18:55:51.104 1 ERROR neutron.
2016-04-07 18:55:51.104 1 ERROR neutron.
2016-04-07 18:55:51.104 1 ERROR neutron.
2016-04-07 18:55:51.104 1 ERROR neutron.
2016-04-07 18:55:51.104 1 ERROR neutron.
2016-04-07 18:55:51.104 1 ERROR neutron.
2016-04-07 18:55:51.858 1 ERROR neutron.
ofport', 'list', 'Interface', 'phy-br-ex']. Exception: Exit code: 1; Stdin: ; Stdout: ; Stderr: ovs-vsctl: no row "phy-br-ex" in table Interface
...
...
...
2016-04-07 18:56:02.017 1 ERROR neutron.
2016-04-07 18:56:02.017 1 ERROR neutron.
2016-04-07 18:56:02.017 1 ERROR neutron.
2016-04-07 18:56:02.017 1 ERROR neutron.
2016-04-07 18:56:02.017 1 ERROR neutron.