Move tuned_profiles_cpu_partitioning dependency in overcloud-base

The tuned-profiles-cpu-partitioning package is needed by Tuned service
deployed on all roles, including Ceph. This change moves the pacakge
dependency into overcloud-base to reflect that.

Without it, images built from overcloud-ceph-storage would not deploy
successfully.

Change-Id: I366bf97db7e3ee82a9fb70770fdc1de0db14f963
changes/49/862949/2
Giulio Fidente 2022-10-28 20:24:10 +02:00
parent fac7622289
commit edbc5c3b61
5 changed files with 2 additions and 24 deletions

View File

@ -20,3 +20,4 @@ openstack-heat-agents
os-net-config
jq
python3-dbus
tuned_profiles_cpu_partitioning_package

View File

@ -10,6 +10,7 @@
"numactl": "numactl",
"iptables_services": "iptables-services",
"tmpwatch": "tmpwatch",
"tuned_profiles_cpu_partitioning_package": "tuned-profiles-cpu-partitioning",
"sysstat": "sysstat"
}
}

View File

@ -4,6 +4,5 @@ nfs_package
chrony_package
pacemaker_remote_package
sasl_scram_package
tuned_profiles_cpu_partitioning_package
ndctl_package
linuxptp_package

View File

@ -6,7 +6,6 @@
"chrony_package": "chrony",
"pacemaker_remote_package": "pacemaker-remote",
"sasl_scram_package": "cyrus-sasl-scram",
"tuned_profiles_cpu_partitioning_package": "tuned-profiles-cpu-partitioning",
"ndctl_package": "ndctl",
"linuxptp_package": "linuxptp"
}

View File

@ -1,22 +0,0 @@
#!/bin/bash -x
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
if [[ "$DISTRO_NAME" == *"centos7"* ]]; then
current_rt_repo=$(yum repolist all|grep "centos7-rt" |awk '{print $1}'| head -n 1 || true)
if [[ "$current_rt_repo" == "" ]]; then
cat << EOF > /etc/yum.repos.d/centos7-rt.repo
[centos7-rt]
name=CentOS 7 - Realtime
baseurl=http://mirror.centos.org/centos/7/rt/x86_64/
enabled=1
gpgcheck=0
EOF
else
yum-config-manager --enable $current_rt_repo
fi
fi