Collectd not re-using /var/run directory from overcloud node therefor ovs plugin fails to connect to db.sock of openswitch. ovs plugin should connect to db.sock file located in the /var/ran/openswitch directory The provlem is that collectd container doesn't include /var/ran/openswitch It should re-use it from the overcloude node.
collectd re-uses files from /var/run/openvswitch. That is missing here: https://github.com/openstack/tripleo-heat-templates/blob/master/docker/services/collectd.yaml#L108
openstack-tripleo-heat-templates-8.0.2-0.20180327213843.f25e2d8.el7ost Verified, [root@controller-0 heat-admin]# docker exec -it collectd /bin/bash ()[root@controller-0 /]# cd /var/run ()[root@controller-0 run]# cd openvswitch/ ()[root@controller-0 openvswitch]# ls -all total 8 drwxr-xr-x. 2 997 1000 300 Apr 1 08:09 . drwxr-xr-x. 1 collectd root 37 Apr 1 08:02 .. srwxr-x---. 1 997 1000 0 Apr 1 08:09 br-ex.mgmt srwxr-x---. 1 997 1000 0 Apr 1 07:33 br-ex.snoop srwxr-x---. 1 997 1000 0 Apr 1 08:09 br-int.mgmt srwxr-x---. 1 997 1000 0 Apr 1 08:09 br-int.snoop srwxr-x---. 1 997 1000 0 Apr 1 08:09 br-isolated.mgmt srwxr-x---. 1 997 1000 0 Apr 1 07:33 br-isolated.snoop srwxr-x---. 1 997 1000 0 Apr 1 08:09 br-tun.mgmt srwxr-x---. 1 997 1000 0 Apr 1 08:09 br-tun.snoop srwxr-x---. 1 997 1000 0 Apr 1 07:32 db.sock srwxr-x---. 1 997 1000 0 Apr 1 07:32 ovsdb-server.879.ctl -rw-r--r--. 1 997 1000 4 Apr 1 07:32 ovsdb-server.pid srwxr-x---. 1 997 1000 0 Apr 1 07:32 ovs-vswitchd.1030.ctl -rw-r--r--. 1 997 1000 5 Apr 1 07:32 ovs-vswitchd.pid
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:2086