[ovs/dpdk] Add opnfv.route_wrapper sls 57/52557/3
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 23 Feb 2018 21:10:33 +0000 (22:10 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 25 Feb 2018 22:44:22 +0000 (23:44 +0100)
commitebbd37dfb0605db89e84229fd891aa0cd141d1b0
tree98bd6625e73caa5d0f5e4af29150827ed1650472
parentf80d30f56b5de482c2212c72808c04f72940a6d3
[ovs/dpdk] Add opnfv.route_wrapper sls

- fix `route-br-ex` if-up.d script failing when route already exists
  by adding a wrapper around distro's '/sbin/route' binary in
  '/usr/local/sbin/route', exploiting default order in Ubuntu PATH;
- fix 'br-prv' duplicate entry in 'interfaces.d/ifcfg-br-prv' and
  'interfaces' caused by upstream bug [1];
- add barrier waiting for all baremetal nodes online before attempting
  reboot, trying to catch rare failures which are undetectable in logs
  as both a succesful reboot and a disconneted minion report 'n/c';

With the above in place, networking service should no longer fail
to start on cmp nodes w/ DPDK.

[1] https://github.com/saltstack/salt/issues/40262

Change-Id: I6d4895376ce323c14c997e6c9af2ea3eeeee0184
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/config/scenario/os-nosdn-ovs-ha.yaml
mcp/config/states/baremetal_init
mcp/config/states/networking_gw [deleted file]
mcp/patches/0004-network.dpdk-Move-ifcfg-br-prv-to-interfaces.u.patch [new file with mode: 0644]
mcp/patches/patches.list
mcp/salt-formulas/opnfv/route_wrapper.sls [new file with mode: 0644]