I came across this error on Openstack Folsom installed on Ubuntu 12.04 LTS, when I upgrade or degrade the linux kernel. So its very likely that you will get this error after running a "dist-upgrade" on your system.
The cause of this problem seem to be that when a different kernel is used, the openvswitch modules have not been built with it.
Error:
FATAL: Module openvswitch_mod not found.
* Inserting openvswitch module
* not removing bridge module because bridges exist (virbr0)
invoke-rc.d: initscript openvswitch-switch, action "load-kmod" failed.
Solution:
Copy the following script to a file. Then save.
Then make it make the file executable.
Go to the file directory then execute following command in terminal:
sudo chmod +x filename
Finally execute the file.
./filename
The cause of this problem seem to be that when a different kernel is used, the openvswitch modules have not been built with it.
Error:
FATAL: Module openvswitch_mod not found.
* Inserting openvswitch module
* not removing bridge module because bridges exist (virbr0)
invoke-rc.d: initscript openvswitch-switch, action "load-kmod" failed.
Solution:
Copy the following script to a file. Then save.
#!/bin/bash
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get remove quantum-plugin-openvswitch openvswitch-switch quantum-plugin-openvswitch-agent openvswitch-datapath-dkms openvswitch-common quantum-common python-quantum
apt-get install openvswitch-switch
mkdir -p /etc/quantum/
apt-get install quantum-plugin-openvswitch-agent quantum-dhcp-agent quantum-l3-agent quantum-server
depmod
modprobe openvswitch
Then make it make the file executable.
Go to the file directory then execute following command in terminal:
sudo chmod +x filename
Finally execute the file.
./filename
No comments:
Post a Comment