Salt minion deployment from VMWare VCF to RHEL 9 fails

67 views
Skip to first unread message

Ben Argyle

unread,
Apr 27, 2023, 10:59:02 AM4/27/23
to Salt-users
Hi there!

We're just trying to deploy the Salt minion to RHEL 8 and RHEL 9 via the SaltConfig functionality of VMWare's VCF implementation.  The RHEL 8 deployments work perfectly, but the RHEL 9 ones fail because the Salt project seem to have changed where things are downloaded from.

The VCF implementation of deploy.sh (which we can't edit) logs to /tmp/bootstrap-salt.log on the target host and shows the following after dropping the salt.repo (which we also can't edit) file in:

[...]
SaltStack archive/3005.1 Release Channel for RH 260  B/s | 325  B     00:01
Errors during downloading metadata for repository 'saltstack':
  - Status code: 404 for https://repo.saltproject.io/py3/redhat/9/x86_64/archive/3005.1/repodata/repomd.xml (IP: 18.244.114.39)
Error: Failed to download metadata for repo 'saltstack': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: saltstack
[...]

Running the deployment again succeeds, but because it falls back to installing the Salt RPMs from EPEL, which we don't want.

When we looked at https://repo.saltproject.io/py3/redhat/ we found that there is no '9' directory hierarchy.  However, there is for RHEL 7, and 8.  After asking on the IRC channel libera/#salt we were pointed at https://repo.saltproject.io/salt/py3/redhat/9 (which also contains hierarchies for 7 and 8.

However, we do not have access to modify the "deploy.sh" which comes with VMWare's VCF SaltConfig setup.  Therefore can I ask

1) why things were changed for RHEL 9, and
2) please can at least a symlink from https://repo.saltproject.io/py3/redhat/9 to https://repo.saltproject.io/salt/py3/redhat/9 be put in place?

Otherwise we, and anyone else trying to deploy Salt of any kind to RHEL 9, will fail to get things working.  Alternatively, please let us know what we should be doing (-:

With thanks,

Ben

Phipps, Thomas

unread,
Apr 27, 2023, 11:12:11 AM4/27/23
to salt-...@googlegroups.com
you should be doing salt-cloud -u on your masters. the bootstrap script is meant to be updated.


it should also be noted redhat 9 is only supported with onedir based installs. which the location you pointed to is for classic installs. This is why 9 is not in that directory.

--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/ab84ac29-3e50-449f-a115-b059fd27a3dfn%40googlegroups.com.

Gefela Gefela

unread,
May 1, 2023, 1:56:47 PM5/1/23
to salt-...@googlegroups.com, salt-users+...@googlegroups.com
--
Reply all
Reply to author
Forward
0 new messages