Official install not working for Ubuntu 24.04 LTS

I’ve always used Ansible to set up an APT/DEB repo to pull sensu go agents from, but the snippet below no longer works. At Sensu | Sensu Go Downloads the “latest” support distro/packaging is Focal. Any plans on creating releases for the 24.04 LTS?

    - name: Install Sensu packages repository
      apt_repository:
        repo: "deb https://packagecloud.io/sensu/stable/ubuntu/ {{ ansible_distribution_release }} main"
        state: present
        filename: sensu-stable

    - name: Install Sensu Ruby Plugins repository
      apt_repository:
        repo: "deb https://packagecloud.io/sensu/community/ubuntu/ {{ ansible_distribution_release }} main"
        state: present
        filename: sensu-community

Full playbook: A simple playbook for installing, configuring and starting a Sensu Go agent · GitHub

I see this was kind of reported here too: Unable to locate the package sensu-go-backend - #2 by JustinToo

The official install method of using the scripted solution from packagecloud also results in the same failed install:

# Add the Sensu repository
curl -s https://packagecloud.io/install/repositories/sensu/stable/script.deb.sh | sudo bash

# Install the sensu-go-agent package
sudo apt-get install sensu-go-agent

example:

root@machine345:~# curl -s https://packagecloud.io/install/repositories/sensu/stable/script.deb.sh | sudo bash
Detected operating system as Ubuntu/noble.
Checking for curl...
Detected curl...
Checking for gpg...
Detected gpg...
Detected apt version as 2.7.14
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/sensu_stable.list...done.
Importing packagecloud gpg key... Packagecloud gpg key imported to /etc/apt/keyrings/sensu_stable-archive-keyring.gpg
done.
Running apt-get update... done.

The repository is setup! You can now install packages.
root@machine345:~# apt update
Hit:1 https://download.docker.com/linux/ubuntu noble InRelease
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:5 https://ppa.launchpadcontent.net/ansible/ansible/ubuntu noble InRelease
Hit:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Ign:7 https://packagecloud.io/sensu/stable/ubuntu noble InRelease
Err:8 https://packagecloud.io/sensu/stable/ubuntu noble Release
  404  Not Found [IP: 52.52.87.14 443]
Reading package lists... Done
E: The repository 'https://packagecloud.io/sensu/stable/ubuntu noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Source: Install Sensu - Sensu Docs

I wasn’t aware of the cutting of resources/funding …

It’s now coming up on 4 months that I did the “still alive” post and except that post by Justin, not a lot happened…

I still like sensu go and don’t really want to look for something else, maybe we need a fork?

As a hacky workaround, try replacing noble with jammy in the APT sources file.

For ansible:

pre_tasks:
    - set_fact:
        ansible_distribution_release: "jammy"
      delegate_to: "{{ item }}"
      with_items: "{{ play_hosts }}"
      run_once: yes
      when: ansible_distribution_release == "noble"
1 Like

Hey @ceda, :wave:

To answer your initial quesiton, our last release 6.11.0 was just prior to Ubuntu 24.04 (Noble Numbat), so packages for it do not yet exist. We will release 24.04 packages with Sensu Go 6.12.0, our next minor release, which is planned for this month, or next.

I can validate @teutat3s method, I use it when I’m testing on newer, or unsupported OS’s.

Here’s the hacky workaround if you’re not using ansible and just installing it manually.

Manually add the repository for jammy:

echo "deb https://packagecloud.io/sensu/stable/ubuntu/ jammy main" | sudo tee /etc/apt/sources.list.d/sensu.list

If the directory /etc/apt/keyrings does not already exist, create it:

sudo mkdir -p /etc/apt/keyrings

Download and add the Sensu GPG key:

curl -fsSL https://packagecloud.io/sensu/stable/gpgkey | sudo gpg --dearmor -o /etc/apt/keyrings/sensu.gpg

Create a file to configure the GPG key:

echo "deb [signed-by=/etc/apt/keyrings/sensu.gpg] https://packagecloud.io/sensu/stable/ubuntu/ jammy main" | sudo tee /etc/apt/sources.list.d/sensu.list

Update your package lists:

sudo apt-get update -y

Now try to install Sensu:

sudo apt-get install -y sensu-go-agent
1 Like

That was in July, so “this month or next” is over… #sad

1 Like

Based on commits in this branch from two days ago, it appears a bug fix 6.11.1 release is in the pipeline to address this issue.

We know there’s been promises for 6.12.0 to include Ubuntu 24.04 packages, and updated Docker images. I would hope there would also be packages for RHEL 9 as well. I’m not sure what else to expect as the 6.11.0 release was only a bump in some package dependencies and a change to the FIPS build.

1 Like

Thank you for your continued interest in our upcoming releases. We’re currently addressing a significant blocker with our CI tooling, and our engineering team is working diligently to resolve it. We aim to release two updates as soon as possible.

We apologize for the delay and appreciate your patience. Once resolved, both a patch and a minor release will be ready. While we don’t have an exact timeline yet, we’ll keep you updated as soon as we have more information.

2 Likes

Are there any updates on when this release will ship?

Still waiting.

Err:7 https://packagecloud.io/sensu/stable/ubuntu noble Release
  404  Not Found [IP: 52.9.236.142 443]
Reading package lists... Done

You said June guys. Please, what is happening?

1 Like

We apologize for the delay and appreciate your patience. We are planning to release Sensu in the coming days, as most blockers have been resolved, with an expected ETA for completion of approximately two weeks

2 Likes

Are there any updates on when we’ll see this? :slight_smile:

1 Like

waiting-impatient

1 Like

Our team is buttoning everything up. Wednesday, November 13th, 24th is our planned release day for Sensu Go, 6.12.0. I’ll be posting here, as well as on the Community Slack, when that release goes live. Here is a quick preview of the features being added:

  1. Fixes and updates.
  2. Support for Entra ID.
  3. Upgraded Docker Image.
  4. Support for Ubuntu 24.04.

Looking forward to notifying y’all on release day!

2 Likes

Hey Team,

We’re thrilled to announce the official release of Sensu 6.12! :tada:

With this update, you can now install Sensu on Ubuntu 24.04. While the sensu docs are not yet published, rest assured we’re actively working on them and will share them soon. In the meantime, this shouldn’t stop you from getting started with Sensu on Ubuntu 24.04 right away.

We apologize for any inconvenience caused by the delay and appreciate your patience. I’ll keep you updated as soon as the release notes are available

2 Likes

Excellent! Congrats on the release!

Congrats on the release. We extensively use the ansible role to install sensu-agent. Judging from this issue it seems that sensu-go-ansible will be removed from Ansible Galaxy in version 12 due to unresolved issues. Could you share details if maintenance of the role and fixing the mentioned issue is planned? It would be valuable to us if you could ensure that the sensu-go role does not get removed from Ansible Galaxy.

The sensu.sensu_go collection will be removed from Ansible 12 due
to unresolved Ansible inclusion requirements violations
([Vote ended 2024-09-27] Collection removal: sensu.sensu_go - Project Discussions - Ansible).
See the removal process for details on how this works and can be cancelled Ansible Community Package Collections Removal Process — Ansible Community Documentation.