825bd7d9e1
Till now, the ovs service file and ovs-ctl command files are patched to allow ovs to run with qemu group. In order to remove this workarounds, a new group hugetlbfs is created which will be shared between ovs and qemu. This patch contains the changes required for applying these changes. Vhostuser Socket Directory is changed from "/var/run/openvswitch" to "/var/lib/vhost_sockets" to avoid modifying the directory access by packaged scripts. Depends-On: I5fc2f852c66c2b825af96aba2657d0f9085dc8c3 Patch-url: https://review.openstack.org/#/c/547961/ Change-Id: Id727a514610816c8223aa0dcd49a70caec29a21d
17 lines
753 B
YAML
17 lines
753 B
YAML
# This permission changes should be applied only on the fresh deployment of
|
|
# queens, minor updates in queens (and future) and then upgrades from queens
|
|
# to future versions.
|
|
#
|
|
# It should NOT be used for upgrade from pike, ocata, newton as the existing
|
|
# vhost ports and ovs will be with root permissions. Modifying the ovs to run
|
|
# with new user during upgrades will result in errors as the existing files and
|
|
# folders need to be updated with new permissions. If this is required during
|
|
# the upgrade, it is preferrable to do it externally after upgrade. Once the
|
|
# changes has been applied, this environment file can be used for further
|
|
# updates and upgrades.
|
|
|
|
parameter_defaults:
|
|
ComputeOvsDpdkParameters:
|
|
VhostuserSocketGroup: "hugetlbfs"
|
|
|