Comment 7 for bug 1485422

Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

Sorry, *Miguel.

Looks like we are trying to point neutron-ovs-cleanup to start after starting SystemV-init script /etc/init.d/openvswitch-switch, and it shouldn't work, according to my understanding.
root@node-5:/etc/init# grep 'start on' /etc/init/neutron-ovs-cleanup.conf
start on started openvswitch-switch

root@node-5:/etc/init# initctl check-config neutron-ovs-cleanup
neutron-ovs-cleanup
  start on: unknown job openvswitch-switch

Should we change it to
start on started openvswitch-switch-running

and add this line to the very end of start) section of /etc/init.d/openvswitch-switch, right before closing curly brace:
    initctl emit --no-wait openvswitch-switch-running

After this change it started to work for me.

See:
http://upstart.ubuntu.com/cookbook/#creating-a-systemv-service-that-communicates-with-upstart-ubuntu-specific