[dpdk] Remove user/group setting for ovs rundir 85/49285/3
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Tue, 19 Dec 2017 11:35:35 +0000 (15:35 +0400)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 19 Dec 2017 18:23:17 +0000 (19:23 +0100)
The proper patches have been merged into upstream (nova/neutron
formulas, system reclass) to use a separate dir for vhost_user sockets.

Change-Id: Iba8d8a9a05c5ab681b5b5ffbea786dca92704c82
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
mcp/config/states/dpdk
mcp/reclass/classes/cluster/baremetal-mcp-pike-ovs-dpdk-ha/openstack/compute.yml

index 6aa2b48..653ffc0 100755 (executable)
@@ -18,6 +18,3 @@ wait_for 90 "! salt -I 'nova:compute' test.ping | " \
 
 salt -I 'nova:compute' alternatives.set ovs-vswitchd /usr/lib/openvswitch-switch-dpdk/ovs-vswitchd-dpdk
 salt -I 'nova:compute' service.restart openvswitch-switch
-
-salt -I 'nova:compute' pkg.install libvirt-bin
-salt -I 'nova:compute' file.chown /var/run/openvswitch libvirt-qemu kvm
index d643da6..cfe9202 100644 (file)
@@ -14,6 +14,7 @@ parameters:
   neutron:
     gateway:
       dpdk: 'True'
+      vhost_socket_dir: ${_param:compute_ovs_vhost_socket_dir}
       backend:
         tenant_vlan_range: ${_param:neutron_tenant_vlan_range}
   nova: