salt
salt copied to clipboard
[FEATURE REQUEST] Support for Ubuntu 24.04 (Noble Numbat)
Is your feature request related to a problem? Please describe. Ubuntu 24.04 LTS previews are available, but Salt packages are not.
Describe the solution you'd like Salt support released before 24.04.1 (the upgrade release), scheduled for 15th of August.
Describe alternatives you've considered Installing manually with pip.
Additional context Ubuntu no longer provide their own Salt packaging.
https://discourse.ubuntu.com/t/noble-numbat-release-schedule/35649
using the bootstrap script pip and other options also failing,
curl -L https://bootstrap.saltproject.io | sh -s -- -P
...
* ERROR: https://repo.saltproject.io/salt/py3/ubuntu/24.04/amd64/latest/salt-archive-keyring.gpg failed to download to /tmp/salt-gpg-UYX9w1lh.pub
* ERROR: https://repo.saltproject.io/salt/py3/ubuntu/24.04/amd64/latest/SALT-PROJECT-GPG-PUBKEY-2023.gpg failed to download to /tmp/salt-gpg-njCnIPaD.pub
* ERROR: Failed to run install_ubuntu_onedir_deps()!!!
as a temp workaround here is my install script
mkdir -p /etc/salt/minion.d
hostname -f > /etc/salt/minion_id
<<EOF cat > /etc/salt/minion.d/99-bootstrap.conf
master: YOURMASTER.example
rejected_retry: True
ping_interval: 60
EOF
DEBIAN_FRONTEND=noninteractive apt -y install salt-minion || {
## workaround no salt-minion pkg on ubuntu24.04
## https://github.com/saltstack/salt/issues/66180
mkdir -p /etc/apt/keyrings
curl -fsSL -o /etc/apt/keyrings/salt-archive-keyring-2023.gpg https://repo.saltproject.io/salt/py3/ubuntu/22.04/amd64/SALT-PROJECT-GPG-PUBKEY-2023.gpg
echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023.gpg arch=amd64] https://repo.saltproject.io/salt/py3/ubuntu/22.04/amd64/3007 jammy main" \
| tee /etc/apt/sources.list.d/salt.list
apt update
DEBIAN_FRONTEND=noninteractive apt -y install salt-minion
}
If the plan is to hold off until the LTS v3008 release i'm OK with that.. but having a 24.04 repo that is using 3007 until that is ready would be a nice hold over.
With Ubuntu 24.04 LTS now officially GA, currently working on getting it in so that packages can be created in future point releases of v3006.x and v3007.x
I see the MR for this is merged and should supposedly fix this (as stated in the description of #66496) but the repository is still returning a 404.
Is there an ETA for this?
I see the MR for this is merged and should supposedly fix this (as stated in the description of #66496) but the repository is still returning a 404.
Is there an ETA for this?
- When a new operating system is introduced, official release packages do not become immediately available. Packages for the new operating systems become available at next point release of a branch they are introduced to.
- For immediate releases, there are
nightlybuilds that do become available but should only be used for testing. For example:3006.x: https://repo.saltproject.io/salt-dev/3006.x/latest/salt/py3/ubuntu/24.04/3007.x: https://repo.saltproject.io/salt-dev/3007.x/latest/salt/py3/ubuntu/24.04/master: https://repo.saltproject.io/salt-dev/master/latest/salt/py3/ubuntu/24.04/- There is an open issue in the install guide to have a dedicated page to nightly builds:
- For officially supported builds, tied to a point release or major release, users have to wait until a new release is done (ex. 3007.1 and 3006.9 will be the next point releases for the currently supported major versions)
- ETA
- No official ETA on upcoming point releases, though 3007.x should be seeing a new minor point release before 3006.x sees the next one
- Salt v3008.0 LTS release is estimated for Fall 2024
Thank you for that information @ScriptAutomate - that clarifies a lot. I can download the nightly build for testing in a 24.04, but - call me stupid - I can't manage to create a sources.list file out of the information provided. I get a 'Release file not found' error. So having the https://gitlab.com/saltstack/open/docs/salt-install-guide/-/issues/86 solved would indeed be nice :-)
@koenr if I understand him correctly this should become available on the next point release (though no ETA on when that might be). So the Release file not found (ie: 404) is still expected.
I can download the nightly build for testing in a 24.04, but - call me stupid - I can't manage to create a sources.list file out of the information provided. I get a 'Release file not found' error.
@koenr - Good question, since the lack of documentation makes it difficult to test a nightly for users at the moment.
I've added info to that ticket that should help with testing an Ubuntu 24.04 3006.x nightly build on Ubuntu 24.04, if you're wanting to test things out (I tested on an Ubuntu 24.04 container):
- https://gitlab.com/saltstack/open/docs/salt-install-guide/-/issues/86#note_1915018672
The example can be modified if wanting to test 3007.x instead, etc.
NOTE: Remember that nightly builds are considered experimental/bleeding-edge builds since they are not representative of a full point release.
Salt v3007.1 STS was released today, and includes both Ubuntu 24.04 and Fedora 40 as newly supported operating systems:
- Ubuntu: https://docs.saltproject.io/salt/install-guide/en/latest/topics/install-by-operating-system/ubuntu.html
- Fedora: https://docs.saltproject.io/salt/install-guide/en/latest/topics/install-by-operating-system/fedora.html
Ubuntu 24.04 and Fedora 40 will have builds included in Salt 3006.x LTS when the next point release for v3006 happens (Salt v3006.9), and will also be included in Salt v3008 LTS (est. Fall 2024).
In the meantime, if wanting to test out the nightly builds built from either the 3006.x or master branch, can find some rough guidance here until a nightly process doc is officially published: https://gitlab.com/saltstack/open/docs/salt-install-guide/-/issues/86#note_1915018672
Closing this ticket as complete.