Closed albertomolina closed 10 years ago
Executing neutron-openvswitch-agent from command line instead from init script seems to work properly:
root@controller:~# neutron-openvswitch-agent
2014-06-13 07:43:51.796 8268 WARNING neutron.agent.securitygroups_rpc [req-d9668563-da5a-40b8-b65b-20f93c425684 None] Driver configuration doesn't match with enable_security_group
root@controller:~# neutron agent-list
+--------------------------------------+--------------------+------------+-------+----------------+
| id | agent_type | host | alive | admin_state_up |
+--------------------------------------+--------------------+------------+-------+----------------+
| 484f7b56-e62b-4526-be3b-224e8f2b149a | Open vSwitch agent | controller | :-) | True |
...
Launching an instance fails:
nova-compute.log extract:
2014-06-13 07:52:58.560 4093 ERROR nova.compute.manager [req-1f29d1e2-f250-403a-a6d7-60c8b8ec37f6 4ab081f375f14f498f1539d15d2a7d2c 3c7a876c9947403895d91e4e8776b354] [instance: 1ffb5062-0af8-46b2-a038-dd74d35f6526] Instance failed to spawn
2014-06-13 07:53:00.302 4093 ERROR nova.virt.libvirt.driver [-] [instance: 1ffb5062-0af8-46b2-a038-dd74d35f6526] During wait destroy, instance disappeared.
2014-06-13 07:53:00.916 4093 ERROR nova.compute.manager [req-1f29d1e2-f250-403a-a6d7-60c8b8ec37f6 4ab081f375f14f498f1539d15d2a7d2c 3c7a876c9947403895d91e4e8776b354] [instance: 1ffb5062-0af8-46b2-a038-dd74d35f6526] Error: Unexpected vif_type=binding_failed
2014-06-13 07:53:02.011 4093 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: Unexpected vif_type=binding_failed
2014-06-13 07:53:02.296 4093 ERROR oslo.messaging._drivers.common [-] Returning exception Unexpected vif_type=binding_failed to caller
Nova and neutron conf files need to be reviewed
Reported to bugs.debian.org:
Bug 751714 has been closed, "dkms way" is recommended by Thomas Goirand. I've replied directly to him saying that at this moment dkms fails to build with kernel 3.14
The same bug is open at this moment in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1266749
But Ubuntu is using in-tree kernel module instead dkms
Next attempt: Using Ubuntu trusty kernel (3.13): http://packages.ubuntu.com/trusty/kernel/linux-image-3.13.0-29-generic
After several tests a solution was found: using in-tree openvswitch kernel module with OVS 2.1.0 instead of trying to use dkms out-of-tree module. At this moment OVS 2.1.0 isn't yet in Jessie, we will use packages from sid
Now is working properly with in tree module with kernel 3.14 and OVS 2.1.0 from jessie. I'm closing this bug
After installing and configuring neutron-plugin-openvswitch-agent, this agent is not alive:
And /var/log/neutron/ovs-agent.log shows an error:
openvswitch module is loaded: