Skip to content

RHOAI 2.25 → 3.5 migration

Migrate Red Hat OpenShift AI 2.25.10 (or later 2.25.z) in place to 3.5 — in the order you do the work, with every step verified and every known break documented where you hit it.

Outcome: an OpenShift AI cluster moved in place from 2.25.10 or a later 2.25.z to 3.5, with every workload migrated off the components 3.5 removes, the upgrade applied, and a before/after test record that shows nothing broke without you noticing.

This manual is a task-ordered field version of the 2.25 → 3.5 migration. The official documentation is organized by component, with each component split into “before upgrade” and “after upgrade” chapters. Here each step sits in the phase you do it in, and the pages follow that order in the left nav. Every command is followed by a verify step, and every known break is documented on the page where you will hit it.

Important

The one rule: migrate a workload off a component before you remove the component. Get the order wrong and you lose a running model, with no automated way back. OpenShift AI does not support rollback once an in-place migration starts. The only way back is the verified backup you take in Pre-flight.

The migration at a glance

StagePageWhat you doWhy it’s here
Prepare1. Pre-flightConfirm deployment type and prerequisites, install cert-manager, take a verified backupThe only rollback path is a backup
Before upgrade2. BaselineSnapshot every workload’s working stateProof the migration didn’t break anything without anyone noticing
Before upgrade3. AssessDeploy rhai-cli, run the lint, send it to Red HatThe findings drive every remaining phase
Before upgrade4. Convert model servingServerless → RawDeployment, ModelMesh → KServeMove models off the serving modes 3.5 removes
Before upgrade5. Remediate the platformBack up stateful components, then disable removed onesBack up before you flip; flip in dependency order
Before upgrade6. Workbench imagesTriage custom images, bump tags, stop workbenchesWorkbench auth and routing change in 3.x
Upgrade7. UpgradeSwitch channel, approve, install JobSet, wait for the DSCThe operator upgrade itself
After upgrade8. Post-upgradeClear gates, fix the Gateway, restore config, migrate workbenches and RayFinish each component on 3.x
After upgrade9. Re-testRe-run the baseline tests and diffProve the workloads survived
Clean up10. Clean upRemove 2.x leftovers, record the final stateFinish clean

If something has already gone wrong, start at Things that broke, a symptom index that links to each fix where it lives. Use the selector at the top of any page to show only the steps for your deployment type (GitOps-managed or not), cluster network, and your Kueue end state.

Why this is a migration, not an upgrade

Earlier OpenShift AI version bumps were routine operator upgrades. The move to 3.x changes all of the following in one step:

  • Components are removed. KServe Serverless mode, ModelMesh Serving, and CodeFlare are gone in 3.5. The embedded Kueue is replaced by the external Red Hat build of Kueue (RHBOK), and the embedded Service Mesh dependency is dropped. Any workload running on these must be migrated off first, or it stops serving.
  • Components are renamed. Llama Stack becomes OGX (Open GenAI Stack), and the LlamaStackDistribution CR is replaced by OGXServer (v1beta1). RawDeployment model serving is displayed as Standard in 3.5. This is a display rename only, not a re-conversion.
  • Routing changes for the dashboard and workbenches, not Standard models. The dashboard and workbenches move to the Kubernetes Gateway API. Workbench URLs become path-based (https://<gateway-host>/notebook/<ns>/<name>/) and their 2.x Routes are deleted, so bookmarks break. An ISVC that is already RawDeployment keeps its Route and its URL unchanged (measured; see Re-test). Serverless ISVCs are the ones whose endpoints move.
  • Authentication changes for workbenches only. Workbench pods move from the oauth-proxy sidecar to kube-rbac-proxy. Model serving does not make this move: an auth-enabled Standard ISVC still runs oauth-proxy on 3.5.
  • Schema changes. HardwareProfiles move to a new API group, and the DSC/DSCI move from the v1 to the v2 API. The operator converts them automatically on startup.

The order that matters

  1. Convert Serverless InferenceServices to RawDeployment, so they survive the removal of Serverless mode. (Phase 4)
  2. Migrate ModelMesh models to KServe, so they survive the removal of ModelMesh. (Phase 4)
  3. Back up every stateful component (RayClusters, TrustyAI metrics and data, AI Pipelines DSPAs) before the destructive flips. (Phase 5)
  4. Only then disable Serverless, ModelMesh, and CodeFlare, set Kueue to Removed or Unmanaged, and tear down Service Mesh. (Phase 5)
  5. Handle the workbenches: bump the images you can, plan rebuilds for the rest, stop them all. (Phase 6)
  6. Upgrade, then verify and re-test. (Phases 7–9)

The assessment drives the work, but it does not stop you

Red Hat ships rhai-cli, which inspects the cluster and reports what must change. The loop is: run rhai-cli lint, fix the critical and prohibited findings, re-run until clean, then upgrade.

Two things the assessment is not:

  • Not a workload inventory. It reports incompatible workloads and removed components. Compatible ones (a healthy RawDeployment ISVC, a Feast Feature Store, a KFTO PyTorchJob) do not appear. A clean lint means “nothing blocking”, not “nothing to migrate”. That is why Baseline inventories what is actually running.
  • Not a gate. The lint is advisory and has no hook into OLM. On a 2.25.10 test cluster with every pre-migration step deliberately skipped, OLM walked 2.25.10 → 2.25.11 → 3.5.1 and reached Succeeded without any check stopping it. The real enforcement happens one layer down: the 3.x operator installs, then refuses to reconcile the DataScienceCluster until its upgrade gates clear (Ready=False [AdminAckRequired]). That held the workloads in their pre-upgrade shape on the test cluster. But by then you are past the point where rollback is supported, and the gates are acknowledgements that anyone can set by hand. See Known issue: DSC held at AdminAckRequired.

Run the lint, clear it, then upgrade.

Roles

  • Cluster administrator: owns the migration. Runs the assessment and rhai-cli migrate actions, performs the upgrade, and coordinates everyone else. Needs cluster-admin, bash, oc, and jq.
  • OpenShift AI administrator: dashboard and project access. Handles workbench images, custom runtimes, and user groups.
  • OpenShift AI users (data scientists, ML engineers): own application-level artifacts such as Llama Stack configs, pipeline definitions, and custom workbench images. Their involvement is optional if the administrator handles everything.

Open a proactive support case

Before you begin, open a proactive support case on the Red Hat Customer Portal to tell Red Hat you plan to migrate to 3.5 (How to submit a Proactive Case). You attach the assessment output to it in Assess.

Note

Orientation, not a support statement. The commands and outputs here are what worked during field runs of 2.25.10 → 3.5.1. Check them against the official OpenShift AI 3.5 documentation before relying on them. This page documents the in-place path; for side-by-side, see Pre-flight.

Phase 1 — confirm the deployment type and prerequisites, install cert-manager, and take the verified backup that is your only rollback path.

Phase 2 — capture a working before-snapshot of every model, workbench, pipeline server, Ray cluster, and guardrails orchestrator, to diff against after the upgrade.

Phase 3 — deploy the rhai-cli pod, run the migration lint, read its findings, and submit the report to Red Hat.

Phase 4 — move every Serverless and ModelMesh InferenceService to RawDeployment before the serving modes are removed, and prepare any LLMInferenceService.

Phase 5 — back up Ray, TrustyAI, and AI Pipelines state, delete Llama Stack, then disable Kueue, CodeFlare, ModelMesh, Serverless, and Service Mesh in dependency order.

Phase 6 — triage custom (BYON) workbench images for the 3.x auth and routing changes, bump required tags, and stop every workbench.

Phase 7 — switch to the support-required-upgrade-3.5 channel, approve the InstallPlan, install the JobSet operator, wait for the DSC, and move to stable-3.5.

Phase 8 — clear upgrade gates, get the Data Science Gateway programmed, restore inferenceservice-config, migrate workbenches and RayClusters, patch Guardrails, and verify every component on 3.5.

Phase 9 — re-run the baseline probes against the 3.5 cluster, diff before against after, and know exactly what should and should not have changed.

Phase 10 — copy every backup off the PVC, remove the rhai-cli pod, clear 2.x leftovers, tell users the new URLs, and record the final 3.5 state.

Symptom index — every known break in the 2.25 → 3.5 migration, what it looks like, and a link to the fix on the page where you hit it.