Networking upstart service checks if openvsiwtch-switch service
is running (and starts it if it's not running) via
debian/ifupdown.sh hook. But service may be in 'start/pre-start'
state in which it's loading kmod and not yet able to connect to
the database. Which leads to failures in interfaces configuration.
Reviewed: https:/ /review. fuel-infra. org/19889
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0
Commit: 83e0a6775188921 62bd9370307c6da f660fbc306
Author: Alexander Didenko <email address hidden>
Date: Wed Apr 20 09:39:11 2016
Fix race condition between networking and ovs
Networking upstart service checks if openvsiwtch-switch service
is running (and starts it if it's not running) via
debian/ifupdown.sh hook. But service may be in 'start/pre-start'
state in which it's loading kmod and not yet able to connect to
the database. Which leads to failures in interfaces configuration.
Backporting upstream fix for LP: #1314887
Change-Id: Ifc975caed9cd17 c4d0ff5d9ddd00c ad6e215f620 6b65993f8128ccb 3c046640ec)
Partial-bug: #1555162
(cherry picked from commit a75ff1e6dc80024