-
Notifications
You must be signed in to change notification settings - Fork 12
Document rolling and release Kolla image tags #1062
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -92,6 +92,31 @@ that include the fix. Configure the following in `environments/kolla/images.yml` | |
| nova_tag: "2024.2" # or "2025.1", depending on your OpenStack release | ||
| ``` | ||
|
|
||
| :::warning | ||
| Rolling tags exist only in the `kolla` namespace. In a deployment that uses an OSISM release namespace | ||
| (`docker_namespace: kolla/release/<openstack_version>`), the tag override above resolves to images that do | ||
| not exist and the pull fails with `unknown: artifact ... not found`. Because `nova_tag` applies to all Nova | ||
| images, each of them has to be overridden as well, so that they are pulled from the `kolla` namespace: | ||
|
|
||
| ```yaml | ||
| nova_api_image: "registry.osism.tech/kolla/nova-api" | ||
| nova_compute_image: "registry.osism.tech/kolla/nova-compute" | ||
| nova_compute_ironic_image: "registry.osism.tech/kolla/nova-compute-ironic" | ||
| nova_conductor_image: "registry.osism.tech/kolla/nova-conductor" | ||
| nova_novncproxy_image: "registry.osism.tech/kolla/nova-novncproxy" | ||
| nova_scheduler_image: "registry.osism.tech/kolla/nova-scheduler" | ||
| nova_serialproxy_image: "registry.osism.tech/kolla/nova-serialproxy" | ||
| nova_spicehtml5proxy_image: "registry.osism.tech/kolla/nova-spicehtml5proxy" | ||
| nova_ssh_image: "registry.osism.tech/kolla/nova-ssh" | ||
| nova_super_conductor_image: "registry.osism.tech/kolla/nova-super-conductor" | ||
| nova_tag: "2024.2" # or "2025.1", depending on your OpenStack release | ||
| ``` | ||
|
|
||
| Only the images actually used in the deployment need to be set. `nova_libvirt_tag` is not derived from | ||
| `nova_tag` and is therefore not affected by this override. See | ||
|
Comment on lines
+115
to
+116
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would just remove this.
|
||
| [Rolling tags and release tags](../../guides/configuration-guide/openstack/index.md#rolling-tags-and-release-tags). | ||
| ::: | ||
|
|
||
| ### Mitigation | ||
|
|
||
| If you are using the flat image backend with `use_cow_images=False`, consider the following | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -195,7 +195,12 @@ for the Neutron container images via the following change: | |
|
|
||
| This change adds the patch for all four supported releases (2024.1, 2024.2, 2025.1, 2025.2). | ||
|
|
||
| A fix will be included in upcoming OSISM releases that ship the patched Neutron container images. | ||
| OSISM 10.2.0 is the first release that ships the patched Neutron container images. It pins the Kolla | ||
| build `0.20260814.0`, in which `neutron-server` of the `kolla/release/2025.1` namespace is tagged | ||
| `26.0.6.20260814` and carries Neutron 26.0.6, the version that contains the fix. Deployments on OSISM | ||
| 10.2.0 or later therefore obtain the fix by upgrading and do not need the image overrides described | ||
| below. On OSISM 10.1.0 and earlier, which pin Kolla builds predating this advisory, the release | ||
| namespace does not contain a patched image and the fix can only be obtained through the rolling tags. | ||
| Consult the [OSISM Release Notes](../../release-notes/) for version information and availability. | ||
|
|
||
| The vulnerable code path runs in the Neutron API service, so it is sufficient to override the | ||
|
|
@@ -206,6 +211,22 @@ The vulnerable code path runs in the Neutron API service, so it is sufficient to | |
| neutron_server_tag: "2025.1" # or "2024.1", "2024.2", "2025.2", depending on your OpenStack release | ||
| ``` | ||
|
|
||
| :::warning | ||
| Rolling tags exist only in the `kolla` namespace. In a deployment that uses an OSISM release namespace | ||
| (`docker_namespace: kolla/release/<openstack_version>`), the tag override above resolves to an image that | ||
| does not exist and the pull fails with `unknown: artifact ... not found`. The image parameter has to be | ||
| overridden as well, so that this image is pulled from the `kolla` namespace: | ||
|
|
||
| ```yaml | ||
| neutron_server_image: "registry.osism.tech/kolla/neutron-server" | ||
| neutron_server_tag: "2025.1" # or "2024.1", "2024.2", "2025.2", depending on your OpenStack release | ||
| ``` | ||
|
|
||
| `neutron_rpc_server_image`, `neutron_periodic_worker_image` and `neutron_ovn_maintenance_worker_image` | ||
| default to `neutron_server_image` and are covered by this override. See | ||
|
Comment on lines
+225
to
+226
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These images where introduced with the kolla-ansible |
||
| [Rolling tags and release tags](../../guides/configuration-guide/openstack/index.md#rolling-tags-and-release-tags). | ||
| ::: | ||
|
|
||
| The Neutron agent images (`neutron-openvswitch-agent`, `neutron-l3-agent`, and others) do not contain | ||
| the affected code and do not need to be updated for this issue. | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my opinion it would be less confusing to just specify the list of
*_image_fullentries, consisting of rolling release namespace, image and tag and just provide a link to the section explaining rolling and release tags. I think the tag could be handled generically by just using{{ openstack_version }}.This way it becomes a copy & pastable solution with the option to dive deeper if you are interested
The same of course applies to all the other advisories