Skip to content

Commit

Permalink
Changes 3rd party installations & metadata for Ubuntu 24.10 support
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKurek committed Nov 6, 2024
1 parent e953b42 commit 6206a14
Show file tree
Hide file tree
Showing 12 changed files with 54 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set -e

install_previous() {
install_5() {
# download, extract, install, and start aerospike community edition
wget -O aerospike.tgz "https://download.aerospike.com/artifacts/aerospike-server-community/5.7.0.23/aerospike-server-community-5.7.0.23-$os_version.tgz"
tar -xvf aerospike.tgz
Expand All @@ -11,13 +11,20 @@ install_previous() {
(cd aerospike-tools-7.1.1-*/ && sudo ./asinstall)
}

install_current() {
install_6() {
# download, extract, install, and start aerospike community edition
wget -O aerospike.tgz "https://download.aerospike.com/artifacts/aerospike-server-community/6.3.0.2/aerospike-server-community_6.3.0.2_tools-8.3.0_${os_version}_$(uname -m).tgz"
tar -xvf aerospike.tgz
(cd aerospike-server-community_6.3.0.2*/ && sudo ./asinstall)
}

install_7() {
# download, extract, install, and start aerospike community edition
wget -O aerospike.tgz "https://download.aerospike.com/artifacts/aerospike-server-community/7.2.0/aerospike-server-community_7.2.0.3_tools-11.1.0_${os_version}_$(uname -m).tgz"
tar -xvf aerospike.tgz
(cd aerospike-server-community_7.2.0.3*/ && sudo ./asinstall)
}

sudo apt-get update
sudo apt-get install -y wget

Expand All @@ -38,6 +45,7 @@ case $ID in
18*) ubuntu_version="ubuntu18.04";;
20*) ubuntu_version="ubuntu20.04";;
22*) ubuntu_version="ubuntu22.04";;
24*) ubuntu_version="ubuntu24.04";;
*) echo "Found version: $VERSION_ID, supported versions are 18/20/22"
esac
os_version=$ubuntu_version
Expand All @@ -46,9 +54,11 @@ esac

case $os_version in
debian9|ubuntu18.04)
install_previous;;
install_5;;
debian10|debian11|ubuntu20.04|ubuntu22.04)
install_current;;
install_6;;
ubuntu24.04)
install_7;;
*) echo "Found os_version: $os_version, not in supported list";;
esac

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ platforms_to_skip:
- rocky-linux-cloud:rocky-linux-9-optimized-gcp
- rocky-linux-cloud:rocky-linux-9-arm64
- rocky-linux-cloud:rocky-linux-9-optimized-gcp-arm64
- ubuntu-os-cloud:ubuntu-2404-lts-amd64
- ubuntu-os-cloud:ubuntu-2404-lts-arm64
- ubuntu-os-cloud:ubuntu-2410-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-minimal-2410-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-2410-arm64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-minimal-2410-arm64 # Possible support in the future
public_url: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/third-party/aerospike
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ set -e
curl https://downloads.apache.org/cassandra/KEYS --output /etc/apt/trusted.gpg.d/cassandra.asc

source /etc/os-release
if [[ "${VERSION_ID}" == 23* || "$(uname -m)" == aarch64 ]]; then
# There is a python dependency that fails for any older versions of cassandra on Ubuntu 23.04, so explicitly install Cassandra 4.1x.
if [[ "${VERSION_ID}" =~ ^(20|22|23|24) || "$(uname -m)" == aarch64 ]]; then
# There is a python dependency that fails for any older versions of cassandra on < Ubuntu 20.04, so explicitly install Cassandra 4.1x.
# Additionally, cassandra doesn't have arm64 binaries for 2.2x, but does for 4.1x.
echo "deb https://debian.cassandra.apache.org 41x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ supported_operating_systems: linux
platforms_to_skip:
- debian-cloud:debian-12 # QueryLog() failed: cassandra_system not found, exhausted retries; QueryLog() failed: cassandra_debug not found, exhausted retries; QueryLog() failed: cassandra_gc not found, exhausted retries
- debian-cloud:debian-12-arm64 # QueryLog() failed: cassandra_system not found, exhausted retries; QueryLog() failed: cassandra_debug not found, exhausted retries; QueryLog() failed: cassandra_gc not found, exhausted retries
- ubuntu-os-cloud:ubuntu-2004-lts # GPG error [...] the public key is not available: NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A
- ubuntu-os-cloud:ubuntu-2204-lts # GPG error [...] the public key is not available: NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A
- ubuntu-os-cloud:ubuntu-2404-lts-amd64 # GPG error [...] the public key is not available: NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A
- ubuntu-os-cloud:ubuntu-2404-lts-arm64 # GPG error [...] the public key is not available: NO_PUBKEY AA8E81B4331F7F50 NO_PUBKEY 112695A0E562B32A
supported_app_version: ["3.11", "4.0"]
expected_metrics:
- type: workload.googleapis.com/cassandra.client.request.count
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ platforms_to_skip:
- rocky-linux-cloud:rocky-linux-9-optimized-gcp-arm64
- ubuntu-os-cloud:ubuntu-2404-lts-amd64
- ubuntu-os-cloud:ubuntu-2404-lts-arm64
- ubuntu-os-cloud:ubuntu-2410-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-minimal-2410-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-2410-arm64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-minimal-2410-arm64 # Possible support in the future
- debian-cloud:debian-12
- debian-cloud:debian-12-arm64
supported_app_version: ["2.3.x", "3.1 and higher"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ minimum_supported_agent_version:
supported_operating_systems: linux
platforms_to_skip:
# mongodb is not currently supported on various distros.
- ubuntu-os-cloud:ubuntu-2404-lts-amd64
- ubuntu-os-cloud:ubuntu-2404-lts-arm64
- ubuntu-os-cloud:ubuntu-2410-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-minimal-2410-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-2410-arm64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-minimal-2410-arm64 # Possible support in the future
- debian-cloud:debian-12
- debian-cloud:debian-12-arm64
- suse-cloud:sles-15-arm64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ platforms_to_skip:
- ubuntu-os-cloud:ubuntu-2204-lts-arm64
- ubuntu-os-cloud:ubuntu-2404-lts-amd64
- ubuntu-os-cloud:ubuntu-2404-lts-arm64
- ubuntu-os-cloud:ubuntu-2410-amd64
- ubuntu-os-cloud:ubuntu-minimal-2410-amd64
- ubuntu-os-cloud:ubuntu-2410-arm64
- ubuntu-os-cloud:ubuntu-minimal-2410-arm64
supported_app_version: ["2.6", "3.0+", "4.0+", "5.0"]
expected_metrics:
- type: workload.googleapis.com/mongodb.cache.operations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ platforms_to_skip:
- ubuntu-os-cloud:ubuntu-2204-lts-arm64
- ubuntu-os-cloud:ubuntu-2404-lts-amd64
- ubuntu-os-cloud:ubuntu-2404-lts-arm64
- ubuntu-os-cloud:ubuntu-2410-amd64
- ubuntu-os-cloud:ubuntu-minimal-2410-amd64
- ubuntu-os-cloud:ubuntu-2410-arm64
- ubuntu-os-cloud:ubuntu-minimal-2410-arm64
supported_app_version: ["5.7", "8.0"]
expected_metrics:
- type: workload.googleapis.com/mysql.buffer_pool_data_pages
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ platforms_to_skip:
- ubuntu-os-cloud:ubuntu-2204-lts-arm64
- ubuntu-os-cloud:ubuntu-2404-lts-amd64
- ubuntu-os-cloud:ubuntu-2404-lts-arm64
- ubuntu-os-cloud:ubuntu-2410-amd64
- ubuntu-os-cloud:ubuntu-minimal-2410-amd64
- ubuntu-os-cloud:ubuntu-2410-arm64
- ubuntu-os-cloud:ubuntu-minimal-2410-arm64
supported_app_version: ["12.2", "18c", "19c", "21c"]
expected_metrics:
- type: workload.googleapis.com/oracle.backup.latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ case $VERSION_ID in
22.04)
echo "deb http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu jammy main" | sudo tee /etc/apt/sources.list.d/rabbitmq.list
;;
24.04)
echo "deb http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu noble main" | sudo tee /etc/apt/sources.list.d/rabbitmq.list
;;
24.10)
echo "deb http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu noble main" | sudo tee /etc/apt/sources.list.d/rabbitmq.list
;;
# debian
10)
echo "deb http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu bionic main" | sudo tee /etc/apt/sources.list.d/rabbitmq.list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ supported_operating_systems: linux
platforms_to_skip:
# RabbitMQ is not supported on various distros.
- suse-cloud:sles-12
- ubuntu-os-cloud:ubuntu-2404-lts-amd64
- ubuntu-os-cloud:ubuntu-2404-lts-arm64
- ubuntu-os-cloud:ubuntu-2410-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-minimal-2410-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-2410-arm64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-minimal-2410-arm64 # Possible support in the future
supported_app_version: ["3.8", "3.9"]
expected_metrics:
- type: workload.googleapis.com/rabbitmq.consumer.count
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ configure_integration: |-
supported_operating_systems: linux
platforms_to_skip:
# Vault is not supported on various distros.
- ubuntu-os-cloud:ubuntu-2404-lts-amd64
- ubuntu-os-cloud:ubuntu-2404-lts-arm64
- ubuntu-os-cloud:ubuntu-2410-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-minimal-2410-amd64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-2410-arm64 # Possible support in the future
- ubuntu-os-cloud:ubuntu-minimal-2410-arm64 # Possible support in the future
supported_app_version: ["1.6+"]
expected_metrics:
- type: workload.googleapis.com/vault.core.request.count
Expand Down

0 comments on commit 6206a14

Please sign in to comment.