From 02f5fab8d8436ab8428f11d4609c25e1737b30f5 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Wed, 26 Nov 2025 18:12:44 -0600 Subject: [PATCH] neutron: Add uwsgi start-time configuration This commit adds the start-time configuration to the neutron chart's uwsgi settings, set to "%t" which provides the unix timestamp at instance startup. This parameter is required by ML2/OVN to create OVN hash ring registers during the initialization process. Related documentation: https://docs.openstack.org/neutron/latest/admin/config-wsgi.html Change-Id: Ib759026046979110187e5bfcbec78d6afaf15787 Assisted-by: Claude Sonnet 4.5 Signed-off-by: Doug Goldstein --- neutron/values.yaml | 4 ++++ .../neutron-add-uwsgi-start-time-d73ba462e1157dd2.yaml | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 releasenotes/notes/neutron-add-uwsgi-start-time-d73ba462e1157dd2.yaml diff --git a/neutron/values.yaml b/neutron/values.yaml index b8b21af918..1933e7783b 100644 --- a/neutron/values.yaml +++ b/neutron/values.yaml @@ -1385,6 +1385,10 @@ conf: master: true procname-prefix-spaced: "neutron-api:" route-user-agent: '^kube-probe.* donotlog:' + # start-time provides unix time at instance startup, used by ML2/OVN + # for OVN hash ring registers. See: + # https://docs.openstack.org/neutron/latest/admin/config-wsgi.html + start-time: "%t" thunder-lock: true worker-reload-mercy: 80 wsgi-file: /var/lib/openstack/bin/neutron-api diff --git a/releasenotes/notes/neutron-add-uwsgi-start-time-d73ba462e1157dd2.yaml b/releasenotes/notes/neutron-add-uwsgi-start-time-d73ba462e1157dd2.yaml new file mode 100644 index 0000000000..ffd09d2dfb --- /dev/null +++ b/releasenotes/notes/neutron-add-uwsgi-start-time-d73ba462e1157dd2.yaml @@ -0,0 +1,10 @@ +--- +neutron: + - | + Added uwsgi start-time configuration to neutron-api-uwsgi section. The + start-time parameter is set to "%t" (unix time at instance startup) and is + used by ML2/OVN for creating OVN hash ring registers per worker. This + configuration is mandatory for proper ML2/OVN operation. See the Neutron + documentation for more details: + https://docs.openstack.org/neutron/latest/admin/config-wsgi.html +...