tuned service fails to install or start.TCA 3.0, 3.1, 3.2, 3.3, 3.3.0.1, 3.4
TCP: 3.0, 4.0, 5.0, 5.0.1, 5.0.2, 5.1
Photon OS: 5
tuned package requires certain versions of pciutils.tuned functionality.Clean up the Repository
Download and move the the attached remove-pkg.sh file onto the airgap appliance as the root user.
Note: This script is strictly for Photon 5 repositories. DO NOT run the script against a Photon 3 repository.
Set the permissions:
chmod 755 remove-pkg.sh
Run against the updates or release repo
./remove-pkg.sh /photon-reps/updates/photon5-updates
OR
./remove-pkg.sh /photon-reps/release/photon5
Note: Monitor progress within the /usr/local/airgap/logs/rpm_cleanup_photon5-updates_[TIMESTAMP].log file
Rebuild Repository Metadata
createrepo -po /photon-reps/release/photon5 /photon-reps/release/photon5/
createrepo -po /photon-reps/updates/photon5-updates /photon-reps/updates/photon5-updates/
chown -R nobody:nogroup /photon-reps
On all control-plane and worker nodes, refresh the cache and reinstall the compatible version:
tdnf clean all
tdnf makecache
Remove incompatible components
tdnf remove python3 python3-pyudev tuned
Install compatible components
tdnf install python3 tuned
Restart the following services:
systemctl daemon-reload
systemctl restart tuned
systemctl status tuned
Retry instantiating the CNF.
In standard deployments, the BYOI template often points to a specific snapshot that lacks the required pciutils version.
Removing the snapshot restriction without a safety filter causes the system to pull Python 3.14.
Execute the following commands on all the cluster nodes:
Exclude Python 3.14: Add an exclusion rule to the global tdnf configuration.
sed -i 's/^excludepkgs=.*/excludepkgs=photon-repos* python3 python3-*/' /etc/tdnf/tdnf.conf
Backup and modify repo files to allow access to necessary pciutils versions.
cp -rv /etc/yum.repos.d /etc/yum.repos.d.bak
sed -i '/^snapshot=/d' /etc/yum.repos.d/*
tdnf clean all && tdnf makecache
Retry instantiating the CNF.