Closed devkits closed 7 months ago
@devkits The problem is that you are trying to install the classically packaged Salt v3005.1 on Centosstream 9, which is not supported. You should have used the Tiamat-backed Salt v3005.1, that is, onedir packages which do support Centosstream 9. From the errors produced, you can see that it is trying to install the version for Centosstream 8, which would be the latest OS that the classically packaged Salt v3005.1 can support, that el8.
- nothing provides python3.6dist(distro) >= 1.0.1 needed by salt-3005.1-1.el8.noarch
Note Salt 3005.x is now EOL, and recommend using Salt 3006.x or 3007.0 on Centosstream 9.
BTW: The bootstrap script is undergoing a major re-write at the moment to remove support for EOL, OSs (Wheezy, RHEL 6, Salt pre-3006, Python 2, etc).
Both Centosstream 9 and Ubuntu 22.04 dropped support for SHA-1 keys, hence that had to have a new SHA-256 key, and with the move to 'onedir' architecture and the soon EOL for classically packaged Salt (which relied on the OS to supply Python and dependencies), the decision was made to only support the newer OS's (9 & 22.04) with the 'onedir' architecture.
Closing this since the issue should have be lodged against the bootstrap repo, https://github.com/saltstack/salt-bootstrap
Description of Issue/Question
I am doing some interop. testing of salt 3006.X with other downstream components of our system. One of the use cases is s regression test where I need to test with 3005.X. Using
bootstrap-salt.sh
to install/reinstall salt, I've noticed two issues:(1) Failure to install 3005.X on CentOS Stream 9 on a fresh system (2) Failure to provide correct error/message when installing 3005.X on a system that had previously 3006.X installed -- script always tries to install latest 3006.X
Workaround:
sh bootstrap-salt.sh -M stable 3005.1
Setup
CentOS Stream release 9 bootstrap version: ./bootstrap-salt.sh -- Version 2023.04.21
Steps to Reproduce Issue
(1)
sh bootstrap-salt.sh -M stable 3005.1
(2)
sh bootstrap-salt.sh -M stable 3005.1
This is is the contents of salt repo at the time of installation (contains contents seeded by the previous installation of 3006):
Workaround:
sh bootstrap-salt.sh -M git v3005.1
Versions and Systems