From e7d39847bc8d2829a40104a62d8064535910ac95 Mon Sep 17 00:00:00 2001 From: Saravanan KR Date: Tue, 10 Jul 2018 15:24:41 +0530 Subject: [PATCH] Add OVS-DPDK parameter as part of roles file Adding mandatory OVS-DPDK parameter to the roles file instead of environment file, as it requires to be added for each custom role. Change-Id: I33fa198228e3e3adcb8e93146d9a9caa46a28895 --- environments/ovs-dpdk-permissions.yaml | 4 ++++ .../notes/ovs-dpdk-perms-deprecate-cfddb148fce9656d.yaml | 7 +++++++ roles/ComputeOvsDpdk.yaml | 1 + 3 files changed, 12 insertions(+) create mode 100644 releasenotes/notes/ovs-dpdk-perms-deprecate-cfddb148fce9656d.yaml diff --git a/environments/ovs-dpdk-permissions.yaml b/environments/ovs-dpdk-permissions.yaml index 698a4ec26a..4361e6fd74 100644 --- a/environments/ovs-dpdk-permissions.yaml +++ b/environments/ovs-dpdk-permissions.yaml @@ -1,3 +1,7 @@ +# DEPRECATED, this parameter is added as part of the roles/ComputeOvsDpdk.yaml +# to include it by default for all OvS-DPDK roles. This environment file is +# obsolete and will be removed in S release. +# # 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. diff --git a/releasenotes/notes/ovs-dpdk-perms-deprecate-cfddb148fce9656d.yaml b/releasenotes/notes/ovs-dpdk-perms-deprecate-cfddb148fce9656d.yaml new file mode 100644 index 0000000000..4b4f2a6a9a --- /dev/null +++ b/releasenotes/notes/ovs-dpdk-perms-deprecate-cfddb148fce9656d.yaml @@ -0,0 +1,7 @@ +--- +deprecations: + - | + Environment file ``ovs-dpdk-permissions.yaml`` is deprecated and the + mandatory parameter ``VhostuserSocketGroup`` is added to the roles data + file of the missing OvS-DPDK role. Using this environment file is + redundant and it will be removed in S-release. diff --git a/roles/ComputeOvsDpdk.yaml b/roles/ComputeOvsDpdk.yaml index ead32080bf..9c0c3cbd7d 100644 --- a/roles/ComputeOvsDpdk.yaml +++ b/roles/ComputeOvsDpdk.yaml @@ -12,6 +12,7 @@ HostnameFormatDefault: '%stackname%-computeovsdpdk-%index%' deprecated_nic_config_name: 'compute-dpdk.yaml' RoleParametersDefault: + VhostuserSocketGroup: "hugetlbfs" TunedProfileName: "cpu-partitioning" ServicesDefault: - OS::TripleO::Services::Aide