Repository navigation
Carry the NVMe hostid and octavia-openvswitch patches for 2025.2 and 2026.1 - #996
Merged
Merged
Conversation
ideaship
force-pushed
the
restore-lost-2026.1-patches
branch
from
November 20, 2026 14:36
d2f7cc7 to
0af776b
Compare
ideaship
marked this pull request as ready for review
November 20, 2026 14:50
janhorstmann
approved these changes
Nov 20, 2026
ideaship
marked this pull request as draft
November 20, 2026 15:11
ideaship
force-pushed
the
restore-lost-2026.1-patches
branch
from
November 20, 2026 15:12
0af776b to
d0e9e18
Compare
The add-NVMe-hostid patch carried for 2024.2 and 2025.1 has been proposed to kolla-ansible master. Update its Upstream-Status from Pending to Submitted with the review URL. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Roger Luethi <luethi@osism.tech>
Write /etc/nvme/hostid into the cinder_volume and nova_compute
containers, derived from the hostname like the host NQN that
kolla-ansible already writes. The 2024.2 and 2025.1 builds carry the
same patch.
Without it, cinder-volume and nova-compute leave the host ID to
os-brick, which takes the DMI product UUID or a random UUID, while
glance-api with glance_backend_nvme (the add-glance-NVMe-NQN-and-ID
patch) writes the hostname-derived one. The kernel keeps one NVMe
host entry per host NQN and refuses a connection that presents the
same NQN with a different host ID ("found same hostnqn ... but
different hostid"), so containers on the same host can lock each
other out. Since 2026.1 runs cinder-volume on the control hosts, it
shares them with glance-api.
The tasks follow upstream's hostnqn tasks and, like them, have no
notify: a changed hostid is picked up by the config comparison in
check-containers, as the file is listed in the containers'
config.json. The two copies differ only in the template module name,
which follows the surrounding tasks of each branch.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Roger Luethi <luethi@osism.tech>
Also deploy openvswitch_db and openvswitch_vswitchd on the octavia-health-manager hosts when Octavia is enabled. The 2024.2 and 2025.1 builds carry the same patch. Upstream stable/2025.2 and stable/2026.1 deploy Open vSwitch only on compute, generic manila-share and neutron agent hosts. The health manager needs Open vSwitch on its host when its o-hm0 interface is plugged into the integration bridge, as with octavia_network_type set to tenant, and the host would otherwise not run Open vSwitch. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Roger Luethi <luethi@osism.tech>
ideaship
force-pushed
the
restore-lost-2026.1-patches
branch
from
November 20, 2026 15:12
d0e9e18 to
619b8ac
Compare
janhorstmann
approved these changes
Nov 20, 2026
ideaship
marked this pull request as ready for review
November 20, 2026 15:23
berendt
pushed a commit
to osism/osism.github.io
that referenced
this pull request
Nov 26, 2026
Glance can keep each image in a Cinder volume, which is the only way to put images on a block storage array when there is no Ceph. The guide did not cover it, and kolla-ansible sets up only part of what it needs. Add a section to the Glance configuration guide that covers: - when to use it: only without Ceph, since on a Ceph-backed Cinder glance-api has no Cinder keyring and RBD already clones images; - which arrays: NVMe-oF only, because glance-api gets no access to the host's devices for iSCSI or Fibre Channel; - the kolla settings (glance_backend_file, glance_default_backend, glance_backend_nvme) and why each is needed; - the multi-attach volume type. Every image read attaches the image volume to the glance-api host, so without multi-attach a second concurrent read of the same image fails after Glance's retries. The section shows how to create a private multi-attach type for the service project, point cinder_volume_type at it via an overlay, and check existing image volumes. The NVMe host ID handling this depends on (osism/container-image-kolla-ansible#996) ships with OSISM 11.1.0, so the section names that as the first release that supports it. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Roger Luethi <luethi@osism.tech>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 2024.2 and 2025.1 builds carry
add-NVMe-hostid.patchandoctavia-openvswitch.patch, but the 2025.2 and 2026.1 sets do not. Neither change is in upstream stable/2025.2 or stable/2026.1, and no commit dropped them on purpose.Both patches were merged into the 2024.2 and 2025.1 sets while the pull request adding the 2025.2 build was open:
The 2025.2 set was copied before they merged and never picked them up. The 2026.1 set was later copied from 2025.2.
This adds both patches to
patches/2025.2/andpatches/2026.1/, ported to each branch on top of its existing set:add-NVMe-hostid.patch/0039-Add-NVMe-hostid.patchwrites/etc/nvme/hostidfor cinder-volume and nova-compute, matching what theadd-glance-NVMe-NQN-and-IDpatch writes for glance-api. Without it, the containers on a host can present the same host NQN with different host IDs, which the kernel refuses. This follows from reading the code; it has not been reproduced. The patch is now proposed upstream, and all four copies (2024.2 to 2026.1) record it asUpstream-Status: Submitted:octavia-openvswitch.patch/0040-octavia-run-openvswitch-on-health-manager-hosts.patchdeploys Open vSwitch on the octavia-health-manager hosts, needed withoctavia_network_type: tenant.To prevent a repeat, a change to the release guide asks for the carried patches to be compared with the older series right before such a build pull request is merged:
🤖 Generated with Claude Code