Skip to content

Carry the NVMe hostid and octavia-openvswitch patches for 2025.2 and 2026.1 - #996

Merged
janhorstmann merged 3 commits into
mainfrom
restore-lost-2026.1-patches
Nov 20, 2026
Merged

janhorstmann merged 3 commits into
mainfrom
restore-lost-2026.1-patches

Conversation

@ideaship

@ideaship ideaship commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

The 2024.2 and 2025.1 builds carry add-NVMe-hostid.patch and octavia-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/ and patches/2026.1/, ported to each branch on top of its existing set:

  • add-NVMe-hostid.patch / 0039-Add-NVMe-hostid.patch writes /etc/nvme/hostid for cinder-volume and nova-compute, matching what the add-glance-NVMe-NQN-and-ID patch 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 as Upstream-Status: Submitted:
  • octavia-openvswitch.patch / 0040-octavia-run-openvswitch-on-health-manager-hosts.patch deploys Open vSwitch on the octavia-health-manager hosts, needed with octavia_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

@ideaship
ideaship force-pushed the restore-lost-2026.1-patches branch from d2f7cc7 to 0af776b Compare November 20, 2026 14:36
@ideaship ideaship changed the title Carry the NVMe hostid and octavia-openvswitch patches for 2026.1 Carry the NVMe hostid and octavia-openvswitch patches for 2025.2 and 2026.1 Nov 20, 2026
@ideaship
ideaship marked this pull request as ready for review November 20, 2026 14:50
@ideaship ideaship self-assigned this Nov 20, 2026
@ideaship
ideaship marked this pull request as draft November 20, 2026 15:11
@ideaship
ideaship force-pushed the restore-lost-2026.1-patches branch from 0af776b to d0e9e18 Compare November 20, 2026 15:12
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
ideaship force-pushed the restore-lost-2026.1-patches branch from d0e9e18 to 619b8ac Compare November 20, 2026 15:12
@ideaship
ideaship marked this pull request as ready for review November 20, 2026 15:23
@janhorstmann
janhorstmann merged commit ba86c42 into main Nov 20, 2026
2 checks passed
@janhorstmann
janhorstmann deleted the restore-lost-2026.1-patches branch November 20, 2026 15:26
@github-project-automation github-project-automation Bot moved this from New to Done in Human Board Nov 20, 2026
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants