Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Support for Ubuntu 24.04 (Noble Numbat) #66180

Closed
OrangeDog opened this issue Mar 7, 2024 · 9 comments
Closed

[FEATURE REQUEST] Support for Ubuntu 24.04 (Noble Numbat) #66180

OrangeDog opened this issue Mar 7, 2024 · 9 comments
Assignees
Labels
Feature new functionality including changes to functionality and code refactors, etc. package-repo Packaging Related to packaging of Salt, not Salt's support for package management. Platform Relates to OS, containers, platform-based utilities like FS, system based apps Tests

Comments

@OrangeDog
Copy link
Contributor

OrangeDog commented Mar 7, 2024

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

@OrangeDog OrangeDog added Feature new functionality including changes to functionality and code refactors, etc. needs-triage labels Mar 7, 2024
@steverweber
Copy link
Contributor

steverweber commented Mar 14, 2024

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
}

@Akm0d Akm0d self-assigned this Mar 21, 2024
@ScriptAutomate ScriptAutomate self-assigned this Apr 2, 2024
@ScriptAutomate ScriptAutomate added Packaging Related to packaging of Salt, not Salt's support for package management. Platform Relates to OS, containers, platform-based utilities like FS, system based apps Tests package-repo and removed needs-triage labels Apr 2, 2024
@steverweber
Copy link
Contributor

steverweber commented May 1, 2024

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.

@ScriptAutomate ScriptAutomate added this to the Sulfur v3006.9 milestone May 1, 2024
@ScriptAutomate
Copy link
Contributor

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

@xorinzor
Copy link

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?

@ScriptAutomate
Copy link
Contributor

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?

@koenr
Copy link

koenr commented May 21, 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 :-)

@xorinzor
Copy link

@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.

@ScriptAutomate
Copy link
Contributor

ScriptAutomate commented May 21, 2024

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):

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.

@ScriptAutomate
Copy link
Contributor

Salt v3007.1 STS was released today, and includes both Ubuntu 24.04 and Fedora 40 as newly supported operating systems:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature new functionality including changes to functionality and code refactors, etc. package-repo Packaging Related to packaging of Salt, not Salt's support for package management. Platform Relates to OS, containers, platform-based utilities like FS, system based apps Tests
Projects
None yet
Development

No branches or pull requests

6 participants