diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-11-08 19:06:46 +0100 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2019-01-09 15:39:05 +0100 |
commit | 455b46a6be4bca145c047ed6957727c119285796 (patch) | |
tree | 717062888465d74227a45d724fab21e9c8fd5957 /mcp/patches/salt-formula-neutron/0002-Support-rocky-version.patch | |
parent | ad2bdf2eb08c0991757f30d370c90d5c9d814d3e (diff) |
Bring in FDIO (VPP+DPDK) scenario
- cmp, gtw: bump RAM allocation to accomodate hugepages/VPP;
for now we overcommit, gtw01 resources can probably be lowered;
- submodule: add salt-formula-neutron so we can locally patch it;
- repo:
* FD.IO repos for VPP packages;
* networking-vpp PPA for python-networking-vpp Neutron driver;
- use vpp-router for L3, disable neutron-l3-agent;
- baremetal_init: apply repo config before network (otherwise UCA
repo is missing when trying to install DPDK on baremetal nodes);
- arm64: iommu.passthrough=1 is required on ThunderX for VPP on
newer kernels;
Design quirks:
- vpp service runs as 'neutron' user, which does not exist at the
time VPP is installed and initially started, hence the need to
restart it before starting the vpp-agent service;
- gtw01 node has DPDK, yet to configure it via IDF we use the
compute-specific OVS-targeted parameters like
`compute_ovs_dpdk_socket_mem`, which is a bit misleading;
- vpp-agent requires ml2_conf.ini on ALL compute AND network nodes
to parse per-node physnet-to-real interface names;
- vpp process is bound to core '1' (not parameterized via IDF);
Change-Id: I659f7dbebcab7b154e7b1fb829cd7159b4372ec8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/patches/salt-formula-neutron/0002-Support-rocky-version.patch')
-rw-r--r-- | mcp/patches/salt-formula-neutron/0002-Support-rocky-version.patch | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/mcp/patches/salt-formula-neutron/0002-Support-rocky-version.patch b/mcp/patches/salt-formula-neutron/0002-Support-rocky-version.patch new file mode 100644 index 000000000..41795486d --- /dev/null +++ b/mcp/patches/salt-formula-neutron/0002-Support-rocky-version.patch @@ -0,0 +1,71 @@ +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +: Copyright (c) 2018 Mirantis Inc., Enea AB and others. +: +: All rights reserved. This program and the accompanying materials +: are made available under the terms of the Apache License, Version 2.0 +: which accompanies this distribution, and is available at +: http://www.apache.org/licenses/LICENSE-2.0 +:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +From: Michael Polenchuk <mpolenchuk@mirantis.com> +Date: Tue, 11 Dec 2018 17:27:40 +0400 +Subject: [PATCH] Support rocky version + +Change-Id: Ie9439cf50b5dcfb73f63acd1f01c1dcb034358ee +Related-Prod: PROD-23722 + +diff --git a/metadata/service/compute/ovn/single.yml b/metadata/service/compute/ovn/single.yml +index 1665ac8..187f180 100644 +--- a/metadata/service/compute/ovn/single.yml ++++ b/metadata/service/compute/ovn/single.yml +@@ -33,3 +33,5 @@ parameters: + enabled: ${_param:openstack_fluentd_handler_enabled} + ossyslog: + enabled: ${_param:openstack_ossyslog_handler_enabled} ++ concurrency: ++ lock_path: /var/lock/neutron +diff --git a/metadata/service/compute/single.yml b/metadata/service/compute/single.yml +index 96f4268..baeb03c 100644 +--- a/metadata/service/compute/single.yml ++++ b/metadata/service/compute/single.yml +@@ -47,3 +47,5 @@ parameters: + enabled: ${_param:openstack_fluentd_handler_enabled} + ossyslog: + enabled: ${_param:openstack_ossyslog_handler_enabled} ++ concurrency: ++ lock_path: /var/lock/neutron +diff --git a/metadata/service/control/cluster.yml b/metadata/service/control/cluster.yml +index 33ddaa2..4753725 100644 +--- a/metadata/service/control/cluster.yml ++++ b/metadata/service/control/cluster.yml +@@ -46,6 +46,8 @@ parameters: + enabled: ${_param:openstack_fluentd_handler_enabled} + ossyslog: + enabled: ${_param:openstack_ossyslog_handler_enabled} ++ concurrency: ++ lock_path: /var/lock/neutron + message_queue: + engine: rabbitmq + host: ${_param:cluster_vip_address} +diff --git a/metadata/service/control/single.yml b/metadata/service/control/single.yml +index 939856c..448d6fe 100644 +--- a/metadata/service/control/single.yml ++++ b/metadata/service/control/single.yml +@@ -50,6 +50,8 @@ parameters: + enabled: ${_param:openstack_fluentd_handler_enabled} + ossyslog: + enabled: ${_param:openstack_ossyslog_handler_enabled} ++ concurrency: ++ lock_path: /var/lock/neutron + message_queue: + engine: rabbitmq + host: ${_param:single_address} +diff --git a/metadata/service/gateway/single.yml b/metadata/service/gateway/single.yml +index 2649449..631e749 100644 +--- a/metadata/service/gateway/single.yml ++++ b/metadata/service/gateway/single.yml +@@ -42,3 +42,5 @@ parameters: + enabled: ${_param:openstack_fluentd_handler_enabled} + ossyslog: + enabled: ${_param:openstack_ossyslog_handler_enabled} ++ concurrency: ++ lock_path: /var/lock/neutron |