error processing package neutron-plugin-openvswitch-agent
when installing neutron-plugin-openvswitch-agent on ubuntu 15.04 I get:
Setting up neutron-plugin-openvswitch-agent (1:2015.1.1-0ubuntu2) ...
insserv: Service openvswitch-switch has to be enabled to start service neutron-ovs-cleanup
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package neutron-plugin-openvswitch-agent (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any idea how to resolve this error? Thanks
I ran: update-rc.d openvswitch-switch defaults update-rc.d neutron-ovs-cleanup defaults
Then I re-ran the installation and it worked.