Sorry, lost track of the bug as it fell into 100 papercuts...
if it helps I solved my ordering problem by modifying the
/lib/systemd/sysytem/openvswitch-nonetwork.service
as follows
[Unit]
Description=Open vSwitch Internal Unit
PartOf=openvswitch-switch.service
# Without this all sorts of looping dependencies occur doh!
DefaultDependencies=no
#precedants pulled from isup@ service requirements
After=apparmor.service local-fs.target systemd-tmpfiles-setup.service
#subsequent to this service we need the network to start
Wants=network-pre.target openvswitch-switch.service
Before=network-pre.target openvswitch-switch.service
There is lots of noise on the net about chickens and eggs, so I do not know if it solves some other case
The thing that took me so long to solve it (besides unfamiliarity of systemd) was the AUTOMATIC inclusion of dependencies, who on earth dreamt that up?
Sorry, lost track of the bug as it fell into 100 papercuts...
if it helps I solved my ordering problem by modifying the systemd/ sysytem/ openvswitch- nonetwork. service
/lib/
as follows
[Unit] =Open vSwitch Internal Unit openvswitch- switch. service
Description
PartOf=
# Without this all sorts of looping dependencies occur doh! ndencies= no
DefaultDepe
#precedants pulled from isup@ service requirements apparmor. service local-fs.target systemd- tmpfiles- setup.service
After=
#subsequent to this service we need the network to start network- pre.target openvswitch- switch. service network- pre.target openvswitch- switch. service
Wants=
Before=
[Service] Exit=yes File=-/ etc/default/ openvswitch- switch /usr/share/ openvswitch/ scripts/ ovs-ctl start \
--system- id=random $OPTIONS /usr/share/ openvswitch/ scripts/ ovs-ctl stop
Type=oneshot
RemainAfter
Environment
ExecStart=
ExecStop=
This pulled up the services and allowed my configuration to work
openvswitch- nonetwork. service switch. service pre.target service switch. service server. service online. target service
● ├─openvswitch-
● └─network-
● ├─<email address hidden>
● ├─<email address hidden>
● ├─<email address hidden>
● ├─<email address hidden>
● ├─networking.
● └─network.target
● ├─mysql.service
● ├─openvswitch-
● ├─rabbitmq-
● ├─rc-local.service
● ├─ssh.service
● └─network-
● ├─apache2.service
● ├─dns-clean.service
● └─kerneloops.
(the dots are green :) )
There is lots of noise on the net about chickens and eggs, so I do not know if it solves some other case
The thing that took me so long to solve it (besides unfamiliarity of systemd) was the AUTOMATIC inclusion of dependencies, who on earth dreamt that up?