Mount openvswitch dir rather than socket

If openvswitch is not started (meaning the socket file doesn't exist)
and the docker container launches first, docker may create a folder for
the db.sock file which would prevent ovs from starting up later.  We
should mount the directory since ovs could be started after the docker
containers.

Change-Id: I0aaed5c73c1c1485ad61202f3fca53348ef5a669
Closes-Bug: #1757111
This commit is contained in:
Alex Schultz 2018-03-21 16:04:58 -06:00
parent 3e89bd9e5d
commit ccfc1e9d1f

View File

@ -135,7 +135,7 @@ outputs:
- /run/openvswitch:/run/openvswitch
- /etc/puppet:/etc/puppet:ro
- /usr/share/openstack-puppet/modules/:/usr/share/openstack-puppet/modules/:ro
- /var/run/openvswitch/db.sock:/var/run/openvswitch/db.sock
- /var/run/openvswitch/:/var/run/openvswitch/
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
step_4: