Skip to content

Latest commit

 

History

History
407 lines (325 loc) · 16.4 KB

v0.5.md

File metadata and controls

407 lines (325 loc) · 16.4 KB

Release Notes: v0.5.x

Operator-facing upgrade notes for the v0.5 series, newest first. See the Release Notes index for how to read these pages.

Changes that have merged to main but are not yet in a tagged release are on the Unreleased page.

v0.5.8 — released 2026-09-24

Deprecations and removals

The legacy Ironic runbook operator, deprecated in v0.5.5, is now deleted:

  • components/ironic/runbook-crd/
  • components/ironic/runbook-operator/
  • containers/shell-operator-ironic/

shell-operator-ironic is no longer built. Images already published to ghcr.io/rackerlabs/understack/shell-operator-ironic are untouched, so a site that has not finished migrating keeps a working image; it just stops receiving new builds.

No action is required. Nothing rendered these files, so a resync sees no change. Runbooks are reconciled by the ironicRunbooks hook in openstack-sync-operator against the IronicRunbook CRD in components/openstack-sync-operator/crds/, with reference CRs under components/openstack-sync-plugins/ironic-runbooks/examples/.

v0.5.6 — released 2026-09-15

Action required

components/neutron/values.yaml now pins the oslo_messaging_rabbit queue settings explicitly rather than inheriting the neutron chart's defaults, completing the move to quorum queues and RabbitMQ 4.x compatibility that v0.5 flagged as pending:

conf:
  neutron:
    oslo_messaging_rabbit:
      rabbit_ha_queues: false
      rabbit_quorum_queue: true
      rabbit_transient_quorum_queue: true
      rabbit_qos_prefetch_count: 1
      use_queue_manager: true
      rabbit_stream_fanout: true

The chart default is rabbit_quorum_queues (plural), which is not an oslo.messaging option and so was a silent no-op; neutron was getting quorum queues only for transient queues and by way of each vhost's defaultQueueType: quorum. With the real option name set, neutron requests x-queue-type: quorum explicitly on its RPC and notification queues, and fanout queues become streams. This also removes the dependency on classic queue mirroring, which RabbitMQ 4.x drops entirely.

Queue type is immutable, and an explicit incompatible declare is an error rather than the silent downgrade to classic that the vhost default gave you. Before syncing, check each RabbitMQ node for queues in the neutron vhost that predate this change:

kubectl -n openstack exec rabbitmq-server-0 -- \
  rabbitmqctl list_queues -p neutron name type durable auto_delete

Any queue reported as classic will fail to redeclare with PRECONDITION_FAILED - inequivalent arg 'x-queue-type'. Delete it so it gets recreated matching the new declare. Reply and fanout queues are transient and re-declared automatically by the owning service, so deleting them costs a brief RPC gap, not data loss. A queue with real content needs more care.

Two things to know about the ironic-neutron-agent queues specifically:

  1. ironic-neutron-agent-member-manager* are auto-delete, and quorum queues cannot be. networking-baremetal handles this: it only forces amqp_auto_delete=true onto its notification transport when rabbit_quorum_queue is unset, so those queues become durable non-auto-delete quorum queues instead. This requires networking-baremetal 2025.1 or newer.

  2. If the agent is already tripping the broker's consumer_timeout -- PRECONDITION_FAILED - delivery acknowledgement on channel 1 timed out in its logs -- fix that before upgrading the broker to 4.x. On 3.13 the message is redelivered indefinitely; RabbitMQ 4.0 defaults quorum queues to delivery-limit 20, after which the message is dropped or dead-lettered. rabbit_qos_prefetch_count: 1 is set here partly for this reason: quorum queues do not support global QoS prefetch, and oslo defaults to 0, meaning unlimited.

v0.5.5 — released 2026-09-08

Action required

Ironic runbooks

Ironic runbooks are now reconciled by the ironicRunbooks hook in openstack-sync-operator, and the IronicRunbook CRD moved to a new API group. Existing runbook CRs are not migrated for you: they are deleted, and you re-apply them in the new shape.

ironicrunbooks.baremetal.ironicproject.org is no longer rendered by components/ironic, so ArgoCD prunes it. Deleting a CRD cascade-deletes every custom resource stored under it, so all existing IronicRunbook objects go with it. The runbooks themselves stay in Ironic, but nothing reconciles them until a new-group CR adopts them by name.

  1. Re-author every runbook CR under the new group. Three fields change:

    # before
    apiVersion: baremetal.ironicproject.org/v1alpha1
    kind: IronicRunbook
    spec:
      runbookName: CUSTOM_FIRMWARE_UPDATE_R740XD
    
    # after
    apiVersion: ironic.understack.rackspace.net/v1alpha1
    kind: IronicRunbook
    spec:
      cloudCredentialsRef:        # new, required
        secretName: infrasetup-system
        cloudName: understack
      runbookName: CUSTOM_FIRMWARE_UPDATE_R740XD
      traits:                     # new, required, at least one
        - CUSTOM_FIRMWARE_UPDATE_R740XD

    spec.traits is required because Ironic API microversion 1.112 changed how a runbook is matched to a node. Before 1.112 the runbook name had to equal a node trait; from 1.112 the node must carry one of the runbook's traits, and Ironic rejects a clean or service request naming a runbook that has none. A CR that omits traits is now rejected on apply.

    Keep spec.runbookName equal to the trait if a workflow resolves the runbook by trait name. server-firmware-update does exactly that, so renaming those runbooks would stop it finding them.

  2. Move the CRs in your deploy repo from <site>/ironic/ to <site>/openstack-sync-plugins/, and remove the reference from <site>/ironic/kustomization.yaml. Do both. If the CRs are still listed by the ironic Application while also listed by the openstack-sync-plugins Application, two Applications claim the same objects and both run with prune: true.

  3. Enable the hook for the site, once it is pinned to an operator image that contains /hooks/ironic_runbooks.py:

    plugins:
      ironicRunbooks: true

    Deploy the UnderStack ref containing the hook and the deploy repo changes together. The hook must exist in the operator image before it is enabled.

  4. Confirm Ironic serves API microversion 1.112 or later. The hook refuses to run against an older Ironic rather than syncing partial state.

The bmc-maintenance runbook is no longer deployed for you. It used to be applied to every site from components/ironic/runbook-crd/, and it is now only a reference CR at components/openstack-sync-plugins/ironic-runbooks/examples/bmc_maintenance.yaml, which nothing applies. Sites that want it own it now.

The runbook already in Ironic is not deleted. It carries none of the operator's ownership markers, so pruning would skip it even with PRUNE enabled, and openstack baremetal node clean --runbook bmc-maintenance keeps working on nodes carrying CUSTOM_DELL_IDRAC. What you lose is reconciliation: no CR describes it, so drift is no longer corrected and edits are no longer reverted.

If you want it managed again, copy the example into <deploy-repo>/<site>/openstack-sync-plugins/ and add it to that directory's kustomization.yaml. Two things differ from the version that used to be deployed. It needs spec.cloudCredentialsRef, and the secret must be system-scoped, because Ironic will not let a project-scoped token publish a public runbook. And the example sets public: true, which the deployed version did not: a runbook that is neither public nor owned is invisible to every project, so the old one could not actually be seen by the projects meant to use it.

Sequencing caution: the legacy shell-operator-ironic deployment is removed in the same change that stops rendering the old CRD, and ArgoCD gives no ordering guarantee between the two. If the old CRD is pruned while that pod is still running, its delete hook fires for each cascade-deleted CR and removes those runbooks from Ironic. Scale shell-operator-ironic to zero before syncing if you need to avoid that window.

RabbitMQ queues

The neutron chart bump to 2026.1.41+7c81bea7c in this release pulled in upstream's RabbitMQ 4.x migration (openstack-helm commit 644e7d76ab). It changed the chart's default oslo_messaging_rabbit settings: amqp_durable_queues and rabbit_transient_quorum_queue are now true, and rabbit_ha_queues is now false. This makes neutron declare its *_fanout exchanges durable.

RabbitMQ clusters that predate this change still have those exchanges (and possibly some queues) declared non-durable/classic from before, and RabbitMQ refuses to change an existing exchange's or queue's durability or type in place. You'll see this in neutron-server logs:

amqp.exceptions.PreconditionFailed: Exchange.declare: (406) PRECONDITION_FAILED
  - inequivalent arg 'durable' for exchange '<name>_fanout' in vhost 'neutron':
  received 'true' but current is 'false'

oslo.messaging catches this and falls back to a non-durable redeclare (logged as Force creating a non durable exchange), so RPC keeps working, but the intended durability never applies and the warning repeats on every reconnect.

Separately, the chart's new default sets rabbit_quorum_queues (plural), which does not match oslo.messaging's real option, rabbit_quorum_queue (singular) -- it's a silent no-op today. If upstream fixes that typo, any environment relying on the chart default rather than an explicit override will suddenly start requesting real quorum queues for its RPC/notification queues, hitting this same class of PRECONDITION_FAILED again, this time on the x-queue-type argument, against any classic queue already sitting in the vhost.

For each affected vhost:

  1. Check for non-durable exchanges and classic queues that predate this change:

    kubectl -n openstack exec rabbitmq-server-0 -- \
      rabbitmqctl list_exchanges -p <vhost> name durable type
    kubectl -n openstack exec rabbitmq-server-0 -- \
      rabbitmqctl list_queues -p <vhost> name durable type
  2. Pin the settings explicitly in your deploy repo's <site>/neutron/values.yaml rather than relying on chart defaults, matching what several sites already carry:

    conf:
      neutron:
        oslo_messaging_rabbit:
          rabbit_ha_queues: false
          rabbit_quorum_queue: true
          rabbit_transient_quorum_queue: true
          rabbit_qos_prefetch_count: 1
          use_queue_manager: true
          rabbit_stream_fanout: true
  3. Delete any exchange or queue reported as non-durable/classic so it gets recreated matching the new declare. Fanout exchanges and their consumer queues are transient and re-declared automatically by the owning service, so deleting them costs a brief broadcast gap, not data loss. A classic queue with real content needs more care before deleting.

Deploy repo changes

Per-site runbook CRs move from <site>/ironic/ to <site>/openstack-sync-plugins/, listed by that directory's kustomization.yaml. Pruning is off by default, so a removed CR leaves its runbook in Ironic. To have the hook delete it, enable pruning before removing the CR:

pluginData:
  ironicRunbooks:
    hook:
      env:
        PRUNE: "true"

Pruning only ever deletes runbooks the operator owns, meaning those carrying its _understack_runbook_* markers in extra. Anything else is left in place.

Deprecations and removals

These are no longer rendered by any kustomization, and the container is no longer deployed:

  • components/ironic/runbook-crd/
  • components/ironic/runbook-operator/
  • containers/shell-operator-ironic/

They are left on disk for one release so a site mid-migration can still read the old manifests, and are deleted in a follow-up cleanup change after the next release. Do not add new references to them.

Notes

Envoy Gateway's targetRevision moves from 1.7.2 to 1.8.4. No values changes are required and no operator action is needed beyond a normal resync; existing extensionApis settings still apply.

Per upstream's upgrade documentation, Envoy Gateway upgrades must be taken one minor version at a time. A future upgrade to 1.9 has to land on top of this 1.8 change rather than jumping directly from 1.7.

v0.5.3 — released 2026-09-02

Deploy repo changes

envoy-configs gained knobs to scale the Envoy proxy pods behind a Gateway. Both gateways.external and gateways.internal now accept envoyDeployment and externalTrafficPolicy, in envoy-configs/values.yaml:

gateways:
  external:
    name: external-gateway
    namespace: envoy-gateway
    className: eg
    envoyDeployment:
      replicas: 3
      container:
        resources:
          requests:
            cpu: "250m"
            memory: "256Mi"
          limits:
            cpu: "1"
            memory: "512Mi"
    externalTrafficPolicy: Local

This was added to give the shared external Gateway enough proxy replicas and headroom to absorb bursty traffic to nova's osapi, which routes through it alongside every other HTTP/TLS route. Both fields are optional; leaving them unset keeps Envoy Gateway's own defaults (a single replica, no resource requests or limits). See the Gateway Schema reference for the full set of fields.

Notes

nova osapi (nova_api_uwsgi) was re-tuned to survive bursts of concurrent requests, which were filling the default 2-worker / 100-deep listen queue and causing connection refusals and liveness-probe restarts:

  • uWSGI processes raised from 2 to 8, and a listen backlog of 1024 was added. Values above the node's net.core.somaxconn are silently capped, so confirm that sysctl is at least 1024 on osapi nodes.
  • The osapi liveness probe was loosened (initialDelaySeconds: 30, periodSeconds: 15, timeoutSeconds: 10, failureThreshold: 6) so a slow response under load no longer triggers a destructive restart. Readiness keeps a tighter probe so busy pods still drop out of rotation briefly.
  • Default osapi pod resources increased: requests from 256Mi/none to 512Mi/500m, with new limits of 2Gi/4 CPU. This applies automatically on the next resync -- confirm your cluster has the headroom before upgrading, particularly if pod.replicas.osapi is scaled up.

v0.5.0 — released 2026-08-19

Action required

Neutron no longer falls back to querying Ironic for a baremetal port's physical_network when it is absent from the port's binding_profile. It is now a hard requirement: without it, binding a baremetal port is refused and trunk create and delete operations are rejected with a BadRequest.

Before upgrading, confirm no bound baremetal ports are missing physical_network, and backfill any that are:

  1. Take a report-only inventory of affected ports in each cloud:

    ./scripts/audit_ports_missing_physical_network.py --os-cloud $CLOUD
  2. If the report lists any ports, backfill them from their Ironic baremetal port:

    ./scripts/audit_ports_missing_physical_network.py --os-cloud $CLOUD --execute
  3. Re-run step 1 and confirm it reports no matches.

A port whose trunk parent is still bound but has no physical_network cannot have its trunk deleted until the profile is corrected. Trunks whose parent port is unbound are unaffected and delete as before.