Skip to content

Commit 0b60c68

Browse files
committed
Update to latest cloud images
We were pinning to old cloud images, but we should now be able to switch to the latest ones since we use UEFI by default [1]. A recent Bifrost change [2] introduced various improvements surrounding deployment images that are downloaded rather than built locally. Bifrost is now aware of how to download official images, so we only need to specify the Linux distribution and release. However, there is a bug affecting centos/rocky which are using a different file format for checksums [3]. Disable checksum verification for these distributions until it is fixed. [1] https://review.opendev.org/c/openstack/kayobe/+/927015 [2] https://review.opendev.org/c/openstack/bifrost/+/884888 [3] https://bugs.launchpad.net/bifrost/+bug/2081031
1 parent eb480bd commit 0b60c68

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

etc/kayobe/kolla/config/bifrost/bifrost.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,11 @@ download_ipa: true
55

66
# Use a locally hosted cloud image.
77
download_custom_deploy_image: true
8-
{% if os_distribution == 'centos' %}
9-
custom_deploy_image_upstream_url: "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20221206.0.x86_64.qcow2"
10-
custom_deploy_image_checksum_url: "https://cloud.centos.org/centos/9-stream/x86_64/images/CHECKSUM"
11-
custom_deploy_image_checksum_algorithm: "sha256"
12-
{% elif os_distribution == 'rocky' %}
13-
# NOTE(priteau): Temporarily using Rocky Linux 9.3 because 9.4 images fail to
14-
# boot (https://bugs.rockylinux.org/view.php?id=6832)
15-
custom_deploy_image_upstream_url: "https://dl.rockylinux.org/vault/rocky/9.3/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
16-
custom_deploy_image_checksum_url: "https://dl.rockylinux.org/vault/rocky/9.3/images/x86_64/CHECKSUM"
17-
custom_deploy_image_checksum_algorithm: "sha256"
18-
{% else %}
19-
custom_deploy_image_upstream_url: "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
20-
custom_deploy_image_checksum_url: "https://cloud-images.ubuntu.com/jammy/current/SHA256SUMS"
21-
custom_deploy_image_checksum_algorithm: "sha256"
8+
upstream_deploy_image_distribution: "{{ os_distribution }}"
9+
upstream_deploy_image_release: "{{ os_release }}"
10+
11+
# TODO(priteau): Remove once https://bugs.launchpad.net/bifrost/+bug/2081031 is
12+
# resolved.
13+
{% if os_distribution in ['centos', 'rocky'] %}
14+
custom_deploy_image_checksum_algorithm: "none"
2215
{% endif %}

0 commit comments

Comments
 (0)