Skip to content

Commit 5f9850c

Browse files
mnasiadkakeuko
authored andcommitted
Switch to Ubuntu 24.04 LTS
Add setuptools because Python3.12 dropped distutils Needed-By: https://review.opendev.org/c/openstack/kolla-ansible/+/925581 Change-Id: Ie12c43dc1de122c203edc28181366457ccd67834
1 parent 55168f9 commit 5f9850c

File tree

11 files changed

+43
-49
lines changed

11 files changed

+43
-49
lines changed

.zuul.d/base.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@
8282
label: rockylinux-9
8383

8484
- nodeset:
85-
name: kolla-ubuntu-jammy
85+
name: kolla-ubuntu-noble
8686
nodes:
8787
- name: primary
88-
label: ubuntu-jammy
88+
label: ubuntu-noble
8989

9090
- nodeset:
9191
name: kolla-debian-bookworm
@@ -112,10 +112,10 @@
112112
label: rockylinux-9-arm64
113113

114114
- nodeset:
115-
name: kolla-ubuntu-jammy-aarch64
115+
name: kolla-ubuntu-noble-aarch64
116116
nodes:
117117
- name: primary
118-
label: ubuntu-jammy-arm64
118+
label: ubuntu-noble-arm64
119119

120120
- job:
121121
name: kolla-base

.zuul.d/ubuntu.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,23 @@
5050
- job:
5151
name: kolla-build-ubuntu
5252
parent: kolla-base
53-
nodeset: kolla-ubuntu-jammy
53+
nodeset: kolla-ubuntu-noble
5454
vars:
5555
base_distro: ubuntu
56-
base_distro_version: jammy
56+
base_distro_version: noble
5757

5858
- job:
5959
name: kolla-build-ubuntu-podman
6060
parent: kolla-base-podman
61-
nodeset: kolla-ubuntu-jammy
61+
nodeset: kolla-ubuntu-noble
6262
vars:
6363
base_distro: ubuntu
64-
base_distro_version: jammy
64+
base_distro_version: noble
6565

6666
- job:
6767
name: kolla-build-ubuntu-aarch64
6868
parent: kolla-build-ubuntu
69-
nodeset: kolla-ubuntu-jammy-aarch64
69+
nodeset: kolla-ubuntu-noble-aarch64
7070
voting: false
7171

7272
- job:
@@ -95,6 +95,6 @@
9595
- job:
9696
name: kolla-build-no-infra-wheels-ubuntu
9797
parent: kolla-build-no-infra-wheels-base
98-
nodeset: kolla-ubuntu-jammy
98+
nodeset: kolla-ubuntu-noble
9999
vars:
100100
base_distro: ubuntu

doc/source/support_matrix.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Distribution Default base Default base tag
1919
================== =============================== ================
2020
Rocky Linux quay.io/rockylinux/rockylinux 9
2121
Debian Bullseye debian bullseye
22-
Ubuntu Jammy ubuntu 22.04
22+
Ubuntu Noble ubuntu 24.04
2323
================== =============================== ================
2424

2525
The remainder of this document outlines which images are supported on which of

docker/base/sources.list.ubuntu

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# For non-x86 architectures we use sources.list.ubuntu.<arch>
22

33
# Default repos
4-
deb mirror://mirrors.ubuntu.com/mirrors.txt jammy main universe
5-
deb mirror://mirrors.ubuntu.com/mirrors.txt jammy-updates main universe
6-
deb mirror://mirrors.ubuntu.com/mirrors.txt jammy-security main universe
4+
deb mirror://mirrors.ubuntu.com/mirrors.txt noble main universe
5+
deb mirror://mirrors.ubuntu.com/mirrors.txt noble-updates main universe
6+
deb mirror://mirrors.ubuntu.com/mirrors.txt noble-security main universe
77

88
# Backports have a lower priority and must be explicitly installed to be used
9-
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main universe
9+
deb http://archive.ubuntu.com/ubuntu/ noble-backports main universe
1010

1111
# We need to add the repo for the updated packages they provide. The main ones
1212
# are qemu, libvirt, and openvswitch.
13-
deb http://ubuntu-cloud.archive.canonical.com/ubuntu jammy-updates/caracal main
13+
deb http://ubuntu-cloud.archive.canonical.com/ubuntu noble-updates/dalmatian main
1414

1515
# NOTE(hrw): extra repositories are added into image when they are needed as
1616
# separate files in /etc/apt/sources.list.d/ directory. For that purpose they

docker/base/sources.list.ubuntu.aarch64

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Default repos
2-
deb http://ports.ubuntu.com/ jammy main universe
3-
deb http://ports.ubuntu.com/ jammy-updates main universe
4-
deb http://ports.ubuntu.com/ jammy-security main universe
2+
deb http://ports.ubuntu.com/ noble main universe
3+
deb http://ports.ubuntu.com/ noble-updates main universe
4+
deb http://ports.ubuntu.com/ noble-security main universe
55

66
# Backports have a lower priority and must be explicitly installed to be used
7-
deb http://ports.ubuntu.com/ jammy-backports main universe
7+
deb http://ports.ubuntu.com/ noble-backports main universe
88

99
# We need to add the repo for the updated packages they provide. The main ones
1010
# are qemu, libvirt, and openvswitch.
11-
deb http://ubuntu-cloud.archive.canonical.com/ubuntu jammy-updates/caracal main
11+
deb http://ubuntu-cloud.archive.canonical.com/ubuntu noble-updates/dalmatian main
1212

1313
# NOTE(hrw): extra repositories are added into image when they are needed as
1414
# separate files in /etc/apt/sources.list.d/ directory. For that purpose they

docker/nova/nova-libvirt/Dockerfile.j2

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
6868
{% set nova_libvirt_packages = nova_libvirt_packages + [
6969
'ovmf',
7070
] %}
71-
# NOTE(hrw): Debian merged 'qemu-kvm' into 'qemu-system-ARCH' in 5.0-9
72-
{% if base_distro == 'ubuntu' %}
73-
{% set nova_libvirt_packages = nova_libvirt_packages + [
74-
'qemu-kvm'
75-
] %}
76-
{% endif %}
7771
{% endif %}
7872

7973
{% if base_distro in ['debian'] %}

kolla/common/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
'centos': {'name': 'quay.io/centos/centos', 'tag': 'stream9'},
2929
'debian': {'name': 'debian', 'tag': 'bookworm'},
3030
'rocky': {'name': 'quay.io/rockylinux/rockylinux', 'tag': '9'},
31-
'ubuntu': {'name': 'ubuntu', 'tag': '22.04'},
31+
'ubuntu': {'name': 'ubuntu', 'tag': '24.04'},
3232
}
3333
# NOTE(hrw): has to match PRETTY_NAME in /etc/os-release
3434
DISTRO_PRETTY_NAME = {
3535
'centos': 'CentOS Stream 9',
3636
'debian': 'Debian GNU/Linux 12 (bookworm)',
3737
'rocky': 'Rocky Linux 9.* (Blue Onyx)',
38-
'ubuntu': 'Ubuntu 22.04',
38+
'ubuntu': 'Ubuntu 24.04.* LTS',
3939
}
4040
OPENSTACK_RELEASE = 'master'
4141

kolla/template/repos.yaml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,12 @@ rocky-aarch64:
174174
ubuntu:
175175
erlang:
176176
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
177-
suite: "jammy"
177+
suite: "noble"
178178
component: "main"
179179
gpg_key: "erlang-ppa.gpg"
180180
fluentd:
181-
url: "https://packages.treasuredata.com/lts/5/ubuntu/jammy/"
182-
suite: "jammy"
181+
url: "https://packages.treasuredata.com/lts/5/ubuntu/noble/"
182+
suite: "noble"
183183
component: "contrib"
184184
gpg_key: "treasuredata.asc"
185185
grafana:
@@ -189,12 +189,13 @@ ubuntu:
189189
gpg_key: "grafana.asc"
190190
influxdb:
191191
url: "https://repos.influxdata.com/ubuntu"
192+
# TODO(mnasiadka): Switch to noble when available
192193
suite: "jammy"
193194
component: "stable"
194195
gpg_key: "influxdb.asc"
195196
mariadb:
196197
url: "https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/ubuntu"
197-
suite: "jammy"
198+
suite: "noble"
198199
component: "main"
199200
gpg_key: "mariadb.gpg"
200201
opensearch:
@@ -208,25 +209,25 @@ ubuntu:
208209
component: "main"
209210
gpg_key: "opensearch.asc"
210211
proxysql:
211-
url: "https://repo.proxysql.com/ProxySQL/proxysql-2.6.x/jammy/"
212+
url: "https://repo.proxysql.com/ProxySQL/proxysql-2.6.x/noble/"
212213
suite: "./"
213214
component: ""
214215
gpg_key: "proxysql.asc"
215216
rabbitmq:
216217
url: "https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-server/deb/ubuntu"
217-
suite: "jammy"
218+
suite: "noble"
218219
component: "main"
219220
gpg_key: "rabbitmq.gpg"
220221

221222
ubuntu-aarch64:
222223
erlang:
223224
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
224-
suite: "jammy"
225+
suite: "noble"
225226
component: "main"
226227
gpg_key: "erlang-ppa.gpg"
227228
fluentd:
228-
url: "https://packages.treasuredata.com/lts/5/ubuntu/jammy/"
229-
suite: "jammy"
229+
url: "https://packages.treasuredata.com/lts/5/ubuntu/noble/"
230+
suite: "noble"
230231
component: "contrib"
231232
gpg_key: "treasuredata.asc"
232233
grafana:
@@ -236,12 +237,13 @@ ubuntu-aarch64:
236237
gpg_key: "grafana.asc"
237238
influxdb:
238239
url: "https://repos.influxdata.com/ubuntu"
240+
# TODO(mnasiadka): Switch to noble when available
239241
suite: "jammy"
240242
component: "stable"
241243
gpg_key: "influxdb.asc"
242244
mariadb:
243245
url: "https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/ubuntu"
244-
suite: "jammy"
246+
suite: "noble"
245247
component: "main"
246248
gpg_key: "mariadb.gpg"
247249
opensearch:
@@ -255,13 +257,13 @@ ubuntu-aarch64:
255257
component: "main"
256258
gpg_key: "opensearch.asc"
257259
proxysql:
258-
url: "https://repo.proxysql.com/ProxySQL/proxysql-2.6.x/jammy/"
260+
url: "https://repo.proxysql.com/ProxySQL/proxysql-2.6.x/noble/"
259261
suite: "./"
260262
component: ""
261263
gpg_key: "proxysql.asc"
262264
rabbitmq:
263265
url: "https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-server/deb/ubuntu"
264-
suite: "jammy"
266+
suite: "noble"
265267
component: "main"
266268
arch: "amd64"
267269
gpg_key: "rabbitmq.gpg"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
upgrade:
3+
- |
4+
Ubuntu images now use Noble 24.04 (``ubuntu:24.04``) as the default base
5+
image.

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0
22
Jinja2>=3.0.1 # BSD License (3 clause)
33
GitPython>=1.0.1 # BSD License (3 clause)
44
oslo.config>=5.1.0 # Apache-2.0
5+
setuptools>=64.0.0 # PSF/ZPL

0 commit comments

Comments
 (0)