salt-bootstrap
salt-bootstrap copied to clipboard
ERROR: Failed to run install_rocky_linux_stable_deps()!!!
Description of Issue/Question
Unable to bootstrap install on Rocky Linux 9
* ERROR: https://repo.saltproject.io/py3/redhat/9/x86_64/latest/SALTSTACK-GPG-KEY2.pub failed to download to /tmp/salt-gpg-rrEuxUzR.pub
* ERROR: Failed to run install_rocky_linux_stable_deps()!!!
Setup
cd /tmp && /usr/bin/curl -fsSL https://bootstrap.saltproject.io -o install_salt.sh
/usr/bin/curl -fsSL https://bootstrap.saltproject.io/sha256 -o install_salt_sha256
# Verify file integrity
SHA_OF_FILE=$(sha256sum install_salt.sh | cut -d' ' -f1)
SHA_FOR_VALIDATION=$(cat install_salt_sha256)
if [[ "$SHA_OF_FILE" == "$SHA_FOR_VALIDATION" ]]; then
# After verification, run Linux or macOS / OSX minion install
echo "Success! Installing..."
sudo sh install_salt.sh -P -x python3
else
# If hash check fails, don't attempt install
echo "WARNING: This file is corrupt or has been tampered with."
exit 1
fi
Steps to Reproduce Issue
See Setup
Versions and Systems
(salt --versions-report, bootstrap-salt.sh -v, system type and version,
cloud/VM provider as appropriate.)
@rterbush Thanks for the report. This is fixed in the develop branch and will be available once we another release. For Red Hat based systems version 9 and above, the stable release type is not available as we only made onedir packages available. The following will work for installing via the bootstrap:
sh ./install_salt.sh -P -x python3 onedir
@garethgreenaway Even when using the develop branch I am getting the same error. Rocky 9.1
curl -L https://raw.githubusercontent.com/saltstack/salt-bootstrap/develop/bootstrap-salt.sh | sh -s -- onedir 3006.1
Downloading Packages:
[SKIPPED] salt-3006.1-0.x86_64.rpm: Already downloaded
[SKIPPED] salt-minion-3006.1-0.x86_64.rpm: Already downloaded
SaltStack latest Release Channel for RHEL/CentO 311 B/s | 325 B 00:01
Status code: 404 for https://repo.saltproject.io/salt/py3/redhat/9/x86_64/latest/SALTSTACK-GPG-KEY2.pub (IP: 18.244.114.102)
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
* ERROR: Failed to run install_rocky_linux_onedir()!!
@rterbush Closing this as fixed in release of the bootstrap 2024-07-12, see https://github.com/saltstack/salt-bootstrap/actions/workflows/ci.yml. Please feel free to reopen if other matters relevant to this issue come to light.