This is the multi-page printable view of this section. .
RHOAI 2.25 → 3.5 migration
- 1: Pre-flight
- 2: Baseline
- 3: Assess
- 4: Convert model serving
- 5: Remediate the platform
- 6: Workbench images
- 7: Upgrade
- 8: Post-upgrade
- 9: Re-test
- 10: Clean up
- 11: Things that broke
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.
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
| Stage | Page | What you do | Why it’s here |
|---|---|---|---|
| Prepare | 1. Pre-flight | Confirm deployment type and prerequisites, install cert-manager, take a verified backup | The only rollback path is a backup |
| Before upgrade | 2. Baseline | Snapshot every workload’s working state | Proof the migration didn’t break anything without anyone noticing |
| Before upgrade | 3. Assess | Deploy rhai-cli, run the lint, send it to Red Hat | The findings drive every remaining phase |
| Before upgrade | 4. Convert model serving | Serverless → RawDeployment, ModelMesh → KServe | Move models off the serving modes 3.5 removes |
| Before upgrade | 5. Remediate the platform | Back up stateful components, then disable removed ones | Back up before you flip; flip in dependency order |
| Before upgrade | 6. Workbench images | Triage custom images, bump tags, stop workbenches | Workbench auth and routing change in 3.x |
| Upgrade | 7. Upgrade | Switch channel, approve, install JobSet, wait for the DSC | The operator upgrade itself |
| After upgrade | 8. Post-upgrade | Clear gates, fix the Gateway, restore config, migrate workbenches and Ray | Finish each component on 3.x |
| After upgrade | 9. Re-test | Re-run the baseline tests and diff | Prove the workloads survived |
| Clean up | 10. Clean up | Remove 2.x leftovers, record the final state | Finish 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
LlamaStackDistributionCR is replaced byOGXServer(v1beta1).RawDeploymentmodel serving is displayed asStandardin 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-proxysidecar tokube-rbac-proxy. Model serving does not make this move: an auth-enabled Standard ISVC still runsoauth-proxyon 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
- Convert Serverless InferenceServices to RawDeployment, so they survive the removal of Serverless mode. (Phase 4)
- Migrate ModelMesh models to KServe, so they survive the removal of ModelMesh. (Phase 4)
- Back up every stateful component (RayClusters, TrustyAI metrics and data, AI Pipelines DSPAs) before the destructive flips. (Phase 5)
- Only then disable Serverless, ModelMesh, and CodeFlare, set Kueue to
RemovedorUnmanaged, and tear down Service Mesh. (Phase 5) - Handle the workbenches: bump the images you can, plan rebuilds for the rest, stop them all. (Phase 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
Succeededwithout 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 migrateactions, performs the upgrade, and coordinates everyone else. Needscluster-admin,bash,oc, andjq. - 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.
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.
1 - Pre-flight
Outcome: the cluster meets the 3.5 prerequisites, nothing will revert your changes behind your back, cert-manager is installed, and a verified, restorable backup exists. Phase 1 of 10 · Prepare. Next: Baseline.
Prerequisites
cluster-adminon the 2.25 cluster, and a workstation withbash,oc, andjq.- The cluster API endpoint,
https://api.<cluster-domain>:6443, and a login token. Get both from the OpenShift console: your user menu → Copy login command. In this manual, replace<cluster-domain>with your cluster’s base domain (for exampleocp.example.com) and<token>with your token. - A maintenance window agreed with your users. OpenShift AI does not support zero-downtime upgrades.
Run every snippet in this manual with bash, not zsh. The snippets assume bash word-splitting. Under zsh (the macOS default), an unquoted for c in $VAR; do … runs once with the whole string instead of once per item, which quietly defeats the Istio-CRD safety check in Post-upgrade, among others. Start a bash shell first, or wrap multi-line blocks in bash -c '…'. (for x in $(cmd) works in both shells.)
Log in and confirm who you are:
Expected output (the last line):
Procedure
1.1 Confirm the deployment type
Deployment type: GitOps-managed
Stop the GitOps reconciler before anything else. Argo CD (or any GitOps controller) that owns your OpenShift AI resources will revert the migration as you make it. Converted InferenceServices, flipped ServingRuntimes, and DSC component states all go back to their Git state, usually within seconds and without telling you.
Two steps. You need both:
Verify that no Application is still running an operation:
Expected output:
Verify that automated sync is off everywhere:
Expected output:
While the reconciler is paused, you apply this manual’s changes directly with oc. Record each one so you can commit the 3.x state to Git in Clean up before you turn sync back on.
Deployment type: Not GitOps-managed
Confirm that no Argo CD Application exists, so nothing can revert your changes:
Expected output:
If the count is not 0, the cluster is GitOps-managed. Set Deployment type to GitOps-managed and follow that block.
Deployment type: GitOps-managed
Known issue: GitOps reverts the migration after sync is “off”
Symptom. A converted ServingRuntime goes back to multiModel: true, or a DSC component returns to Managed, minutes after you changed it, even though the owning Application shows automated: none.
Diagnosis. An operation already in flight keeps retrying and re-applying Git state. Turning off automated sync does not cancel it:
Workaround. Clear the operation (step 2 above) and confirm the command returns nothing. Then re-apply the change that was reverted.
Tracker. None filed. Observed in a field run: one runtime was reverted twice, minutes apart.
1.2 Confirm the prerequisites
OpenShift 4.19.9 or later. If you are below that, upgrade OpenShift first (OpenShift update docs).
Expected output (a version at or above):
OpenShift AI 2.25.10 or later. The 3.5 migration channel only accepts 2.25.10+.
Expected output (2.25.10 or a later 2.25.z):
Kueue management state. Before the upgrade it must be Removed or Unmanaged. You change it in Remediate the platform. For now, just record the current state:
Expected output: one of Managed, Removed, or Unmanaged:
Removed: Kueue is disabled and ready to migrate.Unmanaged: ready to migrate, as long as an external Red Hat build of Kueue (RHBOK) operator is installed and working.Managed: not supported in 3.5. OLM accepts it for backward compatibility, but it is rejected at runtime. You will move off it in Phase 5.
Kueue end state: Removed
Kueue path: Removed. You will disable Kueue entirely in Phase 5. Nothing else to prepare now.
Kueue end state: Unmanaged (external RHBOK)
Kueue path: Unmanaged (RHBOK). The external Red Hat build of Kueue operator must be installed and working before you set Unmanaged in Phase 5. If you are on embedded Managed Kueue today, plan the RHBOK migration now using the 2.25 Kueue migration guide.
1.3 Choose your migration approach
- Side-by-side. Stand up a second 3.5 environment next to the untouched 2.25 one and move content across. The 2.25 environment stays intact, so a full backup is recommended rather than mandatory. Choose this if you can afford a second environment and a longer overlap.
- In-place. Modify the existing environment. Choose this if you must migrate inside a strict maintenance window. It carries the highest risk: a robust full-cluster backup is mandatory, because it is the only rollback.
This manual documents the in-place path.
1.4 Notify users
Tell your users the plan and the downtime window. Also warn them that dashboard and workbench URLs change (the Gateway API move) and that Llama Stack data is not carried across (see Remediate the platform).
1.5 Install the cert-manager Operator for Red Hat OpenShift
3.x requires the cert-manager Operator.
Create the namespace, OperatorGroup, and Subscription:
Deployment type: GitOps-managed
Add these three manifests to your Git source too, so the next sync doesn’t prune them.
Verify the operator succeeded and its pods are running:
Expected output (the version suffix will vary):
1.6 Take a verified backup
For an in-place migration this is the only rollback path. Do not continue without it.
- An etcd snapshot of the control plane.
- An OADP (OpenShift API for Data Protection) backup of the OpenShift AI namespaces and persistent volumes.
Follow OpenShift backup and restore. Test a restore before you go on. An untested backup is not a rollback path.
If you use OADP, verify the backup completed:
Expected output (your backup name):
The component backups later in this manual (RayClusters, TrustyAI, AI Pipelines in Phase 5) protect individual components’ state during the flips. They do not replace the full-cluster backup.
Verification
Pre-flight is done when all of these hold:
oc whoamireturns your user, and you are inbash.- 1.1 is done for your deployment type, and nothing can revert your changes.
- OpenShift is ≥ 4.19.9 and OpenShift AI is ≥ 2.25.10.
- The cert-manager CSV reports
Succeeded. - A full-cluster backup exists and you have tested restoring it.
- A proactive support case is open (overview).
Rollback
Nothing in this phase touches OpenShift AI workloads.
Deployment type: GitOps-managed
- Re-enable GitOps only if you are abandoning the migration before making any changes. Restore each Application’s
syncPolicy.automatedfrom Git (or re-apply the Application manifest). If you have already made migration changes, update Git first (see Clean up), or the next sync reverts them.
- cert-manager is a 3.x prerequisite and is harmless on 2.25. Leave it installed.
2 - Baseline
Outcome: a saved, timestamped record of what works today: every InferenceService’s mode and response, every workbench’s HTTP status, every DSPA’s health, every Ray cluster’s state, and every guardrails orchestrator’s backend health. Re-test re-runs the same probes and diffs against this record. Phase 2 of 10 · Before upgrade. Next: Assess.
A migration without a baseline is just hope. Without one, you cannot tell whether something failed because of the migration or was already broken. This phase has no equivalent in the component-organized reference guide, and it is the cheapest insurance in the whole manual.
Prerequisites
- Pre-flight complete. You are logged in as a
cluster-adminuser inbash. - A local directory to hold the record:
Expected output (your timestamp):
Every probe below writes its output into $BASELINE with tee.
Procedure
2.1 Inventory the workloads
Expected output (shape; your names will differ). Each section header is followed by a table or No resources found:
Record the deployment mode of every ISVC. The Serverless and ModelMesh rows are the workloads you convert in Convert model serving. If anything is already missing or broken, write it down now, so the migration doesn’t get blamed for it later.
2.2 Inference-test each model
The probe finds each model’s ID (/v1/models for vLLM) and sends a fixed, deterministic request (temperature: 0) to every externally reachable ISVC. ISVCs that only have a svc.cluster.local URL skip the HTTP probe; their predictor pod state is the smoke test.
Expected output, per ISVC (shape):
Every predictor pod should be Running, and every reachable model should return a sensible completion. If an auth-enabled ISVC returns (error) or nothing, add -H "Authorization: Bearer $(oc whoami -t)" to both curl calls and record that it needs auth.
2.3 Confirm workbenches respond
2.x workbenches are exposed through OpenShift Routes. A 200, 302, or 303 means the pod and Route are healthy.
Expected output, per workbench (shape):
2.4 Confirm the DSPAs and Ray clusters respond
Expected output: each DSPA returns a healthz JSON body, and each Ray cluster shows STATUS=ready with AVAILABLE equal to DESIRED (shape):
2.5 Baseline TrustyAI and Guardrails
Post-upgrade checks that each GuardrailsOrchestrator reports its services HEALTHY. Capture that state now. An orchestrator pointing at a backend that never existed reports UNKNOWN both before and after, and without a baseline you cannot tell that apart from a migration regression.
Expected output, per orchestrator (shape):
Verification
Confirm the record files exist and are non-empty:
Expected output:
EMPTY is correct for a workload type your inventory shows you don’t run (for example, no Ray clusters means ray EMPTY). EMPTY for inventory is not: re-run 2.1. Keep the whole $BASELINE directory. It is your evidence in Re-test.
Rollback
Read-only phase. Nothing to roll back.
3 - Assess
Outcome: a long-lived rhai-cli pod with a persistent backup volume in rhai-migration, a first assessment report, and that report attached to your proactive support case. The findings decide which of Phases 4–6 you need. Phase 3 of 10 · Before upgrade. Next: Convert model serving.
Prerequisites
- Baseline saved.
- Permission to create a namespace, a StatefulSet, and a PVC.
- A StorageClass that can provision a 1 Gi RWO volume. The default StorageClass works on most clusters.
Cluster network: Disconnected (air-gapped)
Disconnected: mirror registry.redhat.io/rhoai/rhai-cli-rhel9:v3.5.0 to your local registry using your internal procedure, and use the mirrored reference in the StatefulSet below.
The migration namespace (rhai-migration) is a management namespace, separate from your workload namespaces. If you use a different name, substitute it everywhere you see rhai-migration in this manual.
Procedure
3.1 Deploy the rhai-cli pod
The image registry.redhat.io/rhoai/rhai-cli-rhel9:v3.5.0 (binary kubectl-odh 1.26.4) pulls with the cluster’s global pull secret. It holds the rhai-cli lint assessment and every rhai-cli migrate action used in this manual. The 2.x helper scripts (/opt/rhai-upgrade-helpers/*.sh, ray_cluster_migration.py) no longer exist.
Create the namespace:
Expected output (first line):
Create the StatefulSet:
Expected output:
Wait for the pod:
Expected output:
Keep this PVC until the very end. /tmp/rhoai-upgrade-backup holds your reports and component backups, including the AI Pipelines snapshot that the post-upgrade check diffs against. Delete it only in Clean up, after copying everything off.
Known issue: rhai-cli pod never becomes Ready (PVC Pending)
Symptom. oc wait times out. The pod is Pending.
Diagnosis.
Workaround. If backup-rhai-cli-0 is Pending, the cluster has no default StorageClass. Uncomment storageClassName, set it to one listed by oc get storageclass, delete the StatefulSet and PVC, and re-apply.
Tracker. None. This is environment-specific.
3.2 Open a shell in the pod and log in
The assessment runs with your credentials, not the pod’s service account. From your workstation:
Then, inside the pod:
Expected output:
In any new shell in the pod (for example, when you come back for the post-upgrade work), re-run the two export lines, or call the binary by its full path, /opt/rhai-cli/bin/rhai-cli.
3.3 How the migrate actions behave
Every remediation in Phases 4–8 is a rhai-cli migrate action:
The action works out on its own whether it is in the pre- or post-upgrade phase.
| Component | Action | Phase |
|---|---|---|
| Model serving | modelserving.serverless-to-raw | 4 |
modelserving.modelmesh-to-raw | 4 | |
modelserving.hardwareprofiles-ignorelist | 5.6 | |
modelserving.managed-isvc-config | 8.3 | |
| Workbenches | workbenches.patch-auth-model, workbenches.verify-migration | 8.4 |
| TrustyAI | trustyai.metrics, trustyai.data | 5.2, 8.7 |
trustyai.patch-guardrails, trustyai.migrate-gorch-otel-exporter | 8.6 | |
trustyai.break-gpu-deadlock | 8.7 | |
| Llama Stack / OGX | llamastack.backup | 5.4 |
| AI Pipelines | ai-pipelines.pre-upgrade-check, ai-pipelines.update-dsp-role | 5.3 |
ai-pipelines.post-upgrade-check | 8.8 | |
| Ray | raycluster.backup | 5.1 |
raycluster.migrate | 8.5 | |
| Kueue | kueue (RHBOK migration) | 5.7 |
| Training | training.verify-workloads | 8.8 |
Known issue: a declined prompt reports success and exits 0
Symptom. A migrate run ends with All migrations completed, but nothing changed:
Diagnosis. Every migrate run asks Proceed with …? [y/N]. If it doesn’t get a y, the action cancels, and that exit code is 0. That includes runs without a TTY, in a pipeline, or through a plain oc exec. Treat “completed with skipped steps” as a failure until you have checked the result independently (for example, oc get isvc -A).
Workaround. Answer y, or pass --yes (-y) when you script it:
The examples in this manual leave out --yes so you see each prompt.
Tracker. None filed. Observed in a field run (2.25.10 → 3.5.1).
Run long actions in a session that will not time out. modelserving.serverless-to-raw deletes and recreates each ISVC one at a time. It took more than two minutes for just two ISVCs. If the shell is interrupted mid-run, ISVCs can be left deleted or half-converted. Use tmux/screen (or nohup inside the pod), and re-check oc get isvc -A before re-running anything.
3.4 Run the assessment
rhai-cli lint is a read-only diagnostic, and it only works before the upgrade. On a cluster already at 3.5 it does nothing: “Current and target versions are the same (3.5), no checks will be executed.”
Full scan (inside the pod):
Expected output: a findings table, followed by an exit code. On an unremediated cluster that is:
| Exit code | Meaning |
|---|---|
0 | All checks passed. |
1 | At least one prohibited or critical finding. This is expected while blockers remain, not a tool error. |
2 | Warnings only. This is acceptable. |
To cut the noise, filter to one component (wrap the value in *):
| Component | --checks | Component | --checks |
|---|---|---|---|
| Dashboard | *dashboard* | Llama Stack / OGX | *llamastack* |
| AI Pipelines | *datasciencepipelines* | ModelMesh | *modelmesh* |
| TrustyAI Guardrails | *guardrails* | Workbenches | *notebook* |
| KServe | *kserve* | Ray | *ray* |
| Kueue | *kueue* | Kubeflow Training | *trainingoperator* |
Reading the rows. The columns are STATUS | KIND | GROUP | CHECK | IMPACT | MESSAGE (KIND now comes before GROUP).
| Impact | Meaning | Action |
|---|---|---|
prohibited | Upgrade is not possible. | Stop. Find the component’s section in this manual; if that doesn’t resolve it, contact Red Hat Support. |
critical | The component or workload will fail. | Fix it in the phase that covers it, then re-run the lint. |
warning | A potential issue or deprecated field. | Review it. |
info | A prerequisite is met. | None. |
Expect the critical count to drop as you work through the phases. Also expect fixes to surface new findings: for example, llamastack / config is a 3.x prerequisite that doesn’t exist yet.
3.5 Submit the assessment to Red Hat
Write the report to the PVC (inside the pod):
Expected output (shape; owner, size, and date vary, but the size must not be 0):
Known issue: lint --output yaml prints LINT_BLOCKED and exits 1
Symptom. While blockers remain, the command prints this to stderr and exits 1:
Diagnosis. This is the expected result before remediation. The YAML still goes to stdout correctly.
Workaround. None needed. Judge the run by the ls -l above, not by the exit code.
Tracker. None. Working as designed.
Copy the report to your workstation (run this outside the pod):
Expected output:
Attach rhai-cli-output.yaml to your proactive support case (How to provide files to Red Hat Support). Re-run and re-submit it as you clear blockers.
Verification
rhai-cli-0isRunninginrhai-migration, and its PVC isBound.rhai-cli-output.yamlis on your workstation and attached to the support case.- You have a list of every
critical/prohibitedfinding. Each one maps to Phase 4, 5, or 6.
Rollback
lint changes nothing. To remove the pod before you’ve started any migrate action:
Expected output:
Do not do this once you’ve begun Phase 4. The PVC then holds your component backups.
4 - Convert model serving
Outcome: every InferenceService on the cluster is RawDeployment and Ready=True, no multi-model ServingRuntime is left, and the KServe lint shows no critical workload findings. That makes it safe to disable Serverless and ModelMesh in Phase 5. Phase 4 of 10 · Before upgrade. Next: Remediate the platform.
This is the core of the migration. 3.5 removes Serverless and ModelMesh, and RawDeployment (displayed as Standard after the upgrade) is the only serving mode left. Convert first; disable later. If you disable a serving mode while a model still depends on it, the model stops serving.
Already RawDeployment-only? If your Baseline inventory shows no Serverless or ModelMesh rows and you run no LLMInferenceService, run the check in 4.1 to confirm, then skip to Remediate the platform.
If you don’t convert: after the operator upgrade, every Serverless and ModelMesh ISVC returns HTTP 503, and LLMInferenceService workloads fail without the new authentication config.
Prerequisites
- Assess complete. You have a shell in
rhai-cli-0(in-pod commands are marked inside the pod) and a workstation shell. - Project access to every namespace that holds an
InferenceServiceorLLMInferenceService. - You have audited the cluster for other consumers of OpenShift Service Mesh v2 and confirmed they can be migrated or removed.
Service Mesh conflict. If something else on the cluster depends on Service Mesh v2, upgrade those applications to Service Mesh v3 before you upgrade OpenShift AI. If an OSSM v2 subscription is still present when the Gateway API GatewayClass is created, the Cluster Ingress Operator can’t install the OSSM v3 components it needs. Gateway API resources then have no effect and nothing routes traffic.
Before converting anything, save every ISVC and ServingRuntime spec. This is your per-object rollback source:
Expected output: one non-empty file (shape):
Procedure
4.1 Enumerate what needs converting
Inside the pod, run the serving-focused lint:
How to read the rows: workload / kserve rows are ISVCs that need conversion (this phase). component / kserve or modelmeshserving rows are cluster configuration changes (Phase 5). dependency rows are operator installs or removals (Phase 5).
From your workstation, list every ISVC that is not already RawDeployment:
Expected output: one row per ISVC to convert, or nothing if you have none (shape):
Why a migrate action instead of oc patch. The KServe admission webhook rejects in-place edits of deploymentMode. Conversion is backup, delete, recreate. The rhai-cli migrate actions do this for you. The manual fallback is KB 7134025.
4.2 Convert Serverless InferenceServices
modelserving.serverless-to-raw works across the whole cluster in one run. It keeps each ISVC’s name and handles the ServiceAccount, Role, and RoleBinding auth resources for you. It asks a single Proceed with conversion? [y/N] question. Answer y (see Known issue: a declined prompt reports success).
Inside the pod, in a tmux/screen session:
Read the closing lines of step 3. If they say completed with skipped steps, nothing was converted: re-run and answer y. The action removes the Serverless ISVCs, their ServingRuntimes, and the related auth and Istio resources, then creates the RawDeployment replacements.
Verify that no Serverless ISVC is left anywhere:
Expected output:
Verify that each converted ISVC is RawDeployment and Ready:
Expected output (shape):
Converted Serverless models get a new endpoint. Re-run the baseline inference probe and record each new .status.url. These are the only model URLs you’ll need to publish to consumers. Models that were already RawDeployment keep theirs.
Known issue: recreated ISVC sits READY=False for minutes
Symptom. Right after conversion, the ISVC reports READY=False.
Diagnosis. RawDeployment pulls and loads the model from scratch, and a CPU model can take a few minutes. Watch the predictor:
Workaround. Wait. If the pod never becomes Ready, check its logs (oc logs -n <ns> <pod> -c kserve-container).
Tracker. None. Expected behavior.
4.3 Convert ModelMesh InferenceServices
ModelMesh is multi-model serving: one ServingRuntime hosts many models. 3.x has no ModelMesh, so each model is redeployed as a single-model RawDeployment ISVC that points storageUri at the same data. For natively supported formats (ONNX, OpenVINO IR) this is a true re-host, with no model conversion and no data movement.
modelserving.modelmesh-to-raw works in place, one namespace at a time. It keeps each ISVC’s name, picks the single-model kserve-ovms runtime for ONNX and OpenVINO IR, and asks one [y/N] question.
Inside the pod:
Verify each ISVC:
Expected output:
If you get ready=False and the model is PVC-backed OVMS, you have hit the next known issue.
Known issue: PVC-backed OVMS model crash-loops after modelmesh-to-raw
Symptom. The action reports Migration completed successfully!, but the predictor never becomes Ready. The failures show up in this order:
- The webhook rejects the pod:
storage type must be one of [s3, hdfs, webhdfs]. storage type [pvc] is not supported. - OVMS crash-loops:
Configuration file is invalid /models/model_config_list.json. It kept the multi-model launch args. - The pod runs but stays
0/1. No container port is declared, so the readiness probe defaults totcpSocket:8080, while OVMS serves REST on 8888.
Diagnosis. The action moved the ISVC and runtime metadata across (multiModel=false, container renamed to kserve-container, modelmesh-enabled label dropped), but didn’t rewrite storage, args, or the probe. Find the real PVC and model path. The storage-config secret key (for example pvc-models) is an alias, not the PVC name:
Workaround. Apply all three fixes. Example: ISVC my-modelmesh-isvc in ml-project-c, runtime ovms-mm, PVC model-store, path mobilenet. Substitute your own values.
pvc://<pvc>/<path> points at the model root, and OVMS finds the version subdirectory itself. Verify:
Expected output:
Tracker. None filed. Observed in a field run. Manual workflow: KB 7134025.
4.4 Sweep leftover ModelMesh objects
Delete any leftover ModelMesh ISVCs and multi-model ServingRuntimes, but only after the new RawDeployment services work. With the in-place conversion, this usually finds nothing.
Confirm multiModel: false first. modelmesh-to-raw converts the runtime in place, so the runtime it flipped is the same object your new ISVC depends on. The sweep below deletes runtimes where .spec.multiModel == true. If the flip didn’t take effect, the sweep deletes the runtime your working model needs.
Expected output:
If it still says true while the ISVC is Ready on RawDeployment, don’t sweep. Re-apply the conversion’s own changes instead:
Also cross-check that no runtime you’re about to delete is referenced by a live ISVC (.spec.predictor.model.runtime). Then sweep:
Expected output: usually nothing. Otherwise, one Deleting … line per leftover:
Known issue: multi-model ServingRuntime won’t delete, “still in use”
Symptom. oc delete servingruntime is refused because the runtime is still in use.
Diagnosis. A ModelMesh ISVC still references it:
Workaround. Delete the ModelMesh ISVC that references it first, then the runtime.
Tracker. None. Expected behavior.
4.5 Confirm every model is RawDeployment
Expected output:
Inside the pod:
Pass it through grep to count the critical workload rows:
Expected output:
Critical rows in the component and dependency groups are cleared in Phase 5.
Known issue: leftover Serverless ISVC stuck in Terminating
Symptom. oc delete isvc on a Serverless ISVC hangs in Terminating indefinitely.
Diagnosis. A finalizer deadlock. The Serverless ISVC’s finalizer cleans up its Knative Service and Istio VirtualService. If Serverless or Service Mesh is already gone, the finalizer can’t reach their APIs and never clears. This is why you convert and delete every Serverless ISVC before Phase 5 removes them.
Workaround. If the operators are still installed, re-enable Serverless/Service Mesh, let the delete finish, then remove them in the right order. If they are already uninstalled, force-clear the finalizer and recreate the model as RawDeployment:
Then look for orphaned ksvc and virtualservice objects.
Tracker. None. A consequence of doing things in the wrong order.
Known issue: recreated ISVC rejected by a deploymentMode webhook error
Symptom. oc apply of a hand-recreated ISVC fails with a deploymentMode admission error.
Diagnosis. The webhook blocks changing the mode on an existing object. It doesn’t block creating a new one. The migrate actions always create fresh objects, so this only happens on the manual fallback.
Workaround. Flip the annotation in your saved YAML, delete the old ISVC, then apply.
Tracker. KB 7134025.
4.6 Prepare distributed inference (LLMInferenceService)
Skip this section if you don’t run llm-d / LLMInferenceService. It needs a cluster admin (operators, Red Hat Connectivity Link) and the model owners (auth, freezing their resources).
Install Red Hat Connectivity Link (RHCL). In 3.x, RHCL replaces the standalone Authorino Operator for LLMInferenceService auth.
Install Red Hat Connectivity Link into kuadrant-system through OLM (an OperatorGroup and Subscription in that namespace), the same pattern as cert-manager in Pre-flight. Look up the package and channel with oc get packagemanifest -n openshift-marketplace | grep -i rhcl. See Installing Connectivity Link on OpenShift.
Create the Kuadrant and Authorino resources:
Verify:
Expected output:
Cluster network: Disconnected (air-gapped)
Disconnected RHCL. Find the wasm-shim image SHA on the wasm-shim-rhel9 catalog page, then:
Create
wasm-plugin-pull-secretinopenshift-ingressfrom the cluster pull secret:Patch the
rhcl-operatorSubscription with the mirrored WASM image (RELATED_IMAGE_WASMSHIM,PROTECTED_REGISTRY), using your mirror registry and the wasm-shim SHA.Inject
WASM_INSECURE_REGISTRIESinto the Gateway pod through a<gateway>-configConfigMap inopenshift-ingress, and reference it from the Gateway’sinfrastructure.parametersRef.
The full command forms are in the official reference guide, §2.8.10.2.
Configure authentication. In 3.5, distributed inference is secure by default: unauthenticated clients get HTTP 403. Choose one:
Disable auth (dev/test only):
RBAC (recommended): create a
ServiceAccount, aRolethat grantsgeton the namedllminferenceservicesresource, and aRoleBinding. Clients then sendAuthorization: Bearer $(oc create token <sa> -n <namespace>).
Freeze the LLMInferenceService config to the 2.25 templates, so scheduler pods don’t fail during the upgrade:
Verify that every LLMInferenceService is Ready:
Expected output, per resource:
Scheduler argument changes in 3.5. If you override LLMInferenceService scheduler arguments: arguments change from camelCase to kebab-case (--certPath → --cert-path), the default TLS cert path moves from /etc/ssl/certs to /var/run/kserve/tls, signed TLS via the OpenShift service signer is now mandatory, and you must include --cert-path and an SSL_CERT_DIR environment variable.
Verification
Inside the pod:
The phase is done when:
- The non-RawDeployment count from 4.5 is
0. - Every ISVC is
Ready=True. - No
workload-group critical finding remains for KServe or ModelMesh. - Every converted model answers the baseline probe, and you have recorded the new URLs of converted Serverless models.
Don’t go to Phase 5 while any critical workload finding remains.
Rollback
The cluster is still on 2.25, Serverless and ModelMesh are still installed, and you saved every spec before you started.
- One ISVC misbehaves after conversion: delete it and re-apply its original object from
./serving-pre-convert-*.yaml. Stripstatus,resourceVersion,uid, andcreationTimestampfirst. The webhook allows this because it creates a new object rather than changing the mode of an existing one. - A runtime was deleted by mistake: re-apply it from the same file.
- Everything: restore from the Pre-flight backup.
5 - Remediate the platform
Outcome: every stateful component is backed up to the rhai-cli PVC and copied to your workstation. Kueue is Removed or Unmanaged. CodeFlare, ModelMesh, and KServe Serverless are Removed. Service Mesh 2, Serverless, and standalone Authorino are uninstalled. The full lint shows zero critical findings. Phase 5 of 10 · Before upgrade. Next: Workbench images.
The rule for this whole phase: back up before you flip, and flip in dependency order. Some flips destroy state, and some backup actions only work while the component that owns the data is still installed.
| Order | Step | Why here |
|---|---|---|
| 1 | Ray, TrustyAI, AI Pipelines backups | While the components that own the backup logic still run |
| 2 | Delete LlamaStackDistributions | Delete-and-replace; there is no upgrade path |
| 3 | Inventory the non-migrating components | Something to compare against after the upgrade |
| 4 | inferenceservice-config ignorelist | After every ISVC is RawDeployment, before the disables |
| 5 | Disable removed components and Service Mesh | Nothing depends on them any more |
| 6 | Uninstall 2.x serving operators, final lint | Clean assessment |
Prerequisites
- Convert model serving complete: the non-RawDeployment ISVC count is
0. - A shell in
rhai-cli-0(inside the pod) and a workstation shell. - You are ready to upgrade soon. The CodeFlare flip in 5.1 leaves user-created RayClusters without CodeFlare’s security config until the upgrade lands. Don’t open a long gap between this phase and Upgrade.
Deployment type: GitOps-managed
GitOps: the DSC, DSCI, and operator Subscriptions you change here are usually in Git. With the reconciler paused (see Pre-flight), patch them directly as shown, and record each change for the Git update in Clean up.
The DSC and DSCI patches here use v1 field names (modelmeshserving, serviceMesh) on purpose: you are still on 2.25. The operator converts the DSC and DSCI to v2 after the upgrade.
Procedure
5.1 Set CodeFlare to Removed and back up the RayClusters
In 3.5, KubeRay replaces CodeFlare for RayCluster management. KubeRay is provisioned by the ray DSC component, which stays Managed. Only codeflare is disabled. Existing RayCluster CRs survive the swap, but back them up in case reconciliation drops fields.
Disabling CodeFlare is a hard 3.5 prerequisite, even if you have no RayClusters. The backup action fails if CodeFlare is still Managed, so flip it first:
Expected output (last line):
Inside the pod, back up every RayCluster (this is read-only):
Expected output (the last command):
rhoai-2.x/raycluster-<name>-<ns>.yaml: the CR as it is today.rhoai-3.x/raycluster-<name>-<ns>.yaml: the converted 3.x shape. It’s noticeably smaller because the oauth-proxy sidecar, ServiceAccount, and volumes are stripped out. That trimmed shape is what a correctly migrated cluster should end up running. Post-upgrade’s--raycluster-from-backupneeds the right one.
Copy the backup off the pod (workstation) and confirm the clusters are still ready:
Expected output, per cluster (shape):
The backup covers CR configuration, not Ray runtime state. Warn users about downtime.
5.2 Back up TrustyAI metrics, data, and Guardrails config
TrustyAI’s storage schema changed between 2.x and 3.x. Without a snapshot, historical bias metrics and training data can become unreadable. Skip this section if this check returns anything other than Managed, or if no TrustyAIService exists:
Expected output (the first line, if TrustyAI applies to you):
Inside the pod. Both actions run cluster-wide. --output-dir is required: the container root filesystem is read-only.
The phase pre-upgrade but effective phase is post-upgrade warning is harmless. Ignore it.
Verify the metrics backup is valid JSON. The container doesn’t ship jq, so read it from your workstation:
Expected output (the last line):
Known issue: PVC-backed TrustyAI data backup prints “read/write on closed pipe”
Symptom. The trustyai.data action prints an unhandled client error but exits 0:
Diagnosis. This is expected for an empty PVC. DATABASE-backed services dump normally (for example, Dumped 844 lines).
Workaround. Not a failure, but confirm that the file count matches what the PVC actually holds rather than trusting the ✓.
Tracker. None filed. Observed in a field run.
Known issue: TrustyAI backup fails with permission denied
Symptom. trustyai.metrics or trustyai.data fails with permission denied.
Diagnosis. No --output-dir was given, so it tried to write to the read-only container root.
Workaround. Pass --output-dir /tmp/rhoai-upgrade-backup/trustyai.
Tracker. None. The CLI’s behavior.
Guardrails otelExporter. If any GuardrailsOrchestrator exports traces or metrics, save spec.otelExporter from your workstation (there’s no action for this):
Expected output: the metrics and data backup files, listed locally (shape):
5.3 AI Pipelines pre-upgrade check
DSPA pipelines keep running across the upgrade, but the schema changed. Inside the pod, scan for deprecated APIs and custom RBAC:
On a clean cluster this passes with nothing to fix. It may report:
- Deprecated
instructLabfield: safe to ignore. It’s tolerated during the upgrade. - Deprecated
v1alpha1DSPA: runrhai-cli migrate run --migration ai-pipelines.update-dsp-role --target-version 3.5.0, or update each CR tov1. - Custom RBAC roles that need updates: check with the AI Pipelines teams, then run
ai-pipelines.update-dsp-role. If the roles are managed through GitOps, the report is advisory only: update the source.
Re-run until it reports no remaining issues. Then capture the baseline snapshot that the post-upgrade check diffs against:
Expected output (the last line):
This file must survive the upgrade. Don’t delete the PVC or the rhai-cli StatefulSet before Post-upgrade runs the post-upgrade check.
5.4 Delete the LlamaStackDistributions
The Llama Stack 2 → 3 transition is delete-and-replace. In 3.5 it becomes OGX (Open GenAI Stack), and LlamaStackDistribution is replaced by OGXServer (v1beta1). The storage moves from SQLite to PostgreSQL, the VectorDB API is removed, and Inference becomes OpenAI-compatible. There is no in-place data migration.
Cluster network: Disconnected (air-gapped)
Disconnected: skip this section. Llama Stack disconnected support starts in OpenShift AI 3.0.
Deleting an LSD permanently loses all of its data: agent state, vector DB metadata and embeddings, telemetry, file metadata, and everything in SQLite.
Cluster admin: identify every LSD and its owners, and tell the owners to archive anything they care about:
LSD owner (optional archive, for reference only): the SQLite data can’t be imported into 3.5. Inside the pod, add --dry-run first to preview:
Delete every LSD. This also clears the llamastack / config critical finding:
Expected output (the last line):
Owners recreate them as OGXServer CRs in Post-upgrade and port their client code: VectorDB → Vector_IO, Completions → OpenAI-compatible format, embeddings → an external embedding-model endpoint, and a review of agent code. See Working with OGX (3.5).
5.5 Inventory the components you aren’t migrating
These carry across with no spec changes. Confirm they’re healthy and record their state now.
Expected output, first command (shape; every pod Running):
- Model registry and catalog: registries should show Available under Settings → Model registry settings. During the upgrade they may be briefly unreachable while their pods restart.
- Feature Store (Tech Preview in 2.25, GA since 3.3): every instance
Ready. Optionally trigger a job:oc create job test --from=cronjob/<cronjob-name> -n <ns>. - Kubeflow Training Operator: PyTorchJobs keep running through the upgrade. KFTO v1 is deprecated as of 2.25.10 and is planned for removal in favor of Trainer v2. A later OpenShift upgrade drains nodes and can interrupt jobs, so make sure running jobs checkpoint.
5.6 Back up and update the inferenceservice-config ConfigMap
This must happen after every ISVC is RawDeployment and before the disables, so that the upgrade reconciler honors the new ignorelist. Back up from your workstation (the pod’s /tmp/rhoai-upgrade-backup path doesn’t exist locally):
Expected output:
Inside the pod. The action adds opendatahub.io/hardware-profile-name and opendatahub.io/hardware-profile-namespace to the disallowed list, and marks the ConfigMap opendatahub.io/managed=false so the upgrade doesn’t redeploy your ISVCs:
Verify (workstation):
Expected output: false, followed by a count of at least 2:
Side effect of managed=false: the upgrade will not redeploy model-serving pods, so they keep their current runtime image. If you want a newer runtime (for example, a newer vLLM build), restart each predictor after the upgrade, once the platform is healthy.
5.7 Disable the removed components
Every workload is now off these components, so removing them doesn’t affect anything running.
Kueue
This is the highest-risk removal. In 3.5, Managed Kueue is accepted by OLM but rejected at runtime. If left Managed, its admission webhook also intercepts Job creation across the whole cluster and can fall out of sync during the upgrade, rejecting Job submissions for any workload. Pick your end state.
Kueue end state: Removed
Removed: disable Kueue entirely.
Expected output (last line):
The KueueReady condition goes to False / reason=Removed. That’s expected, and it stays False after the upgrade.
Kueue end state: Unmanaged (external RHBOK)
Unmanaged (external RHBOK): keep Kueue features through the Red Hat build of Kueue. RHBOK must be installed and working first (the rhai-cli kueue RHBOK migration action can automate the move).
If you were on embedded Managed Kueue, migrate using the 2.25 Kueue migration guide. Before you start, preserve your enabled frameworks:
Rename any LocalQueue named default (for example, to rhoai-kueue-default). RHBOK reserves that name, and admission breaks otherwise:
Expected output (before you set Unmanaged):
Label each Kueue-managed project kueue.openshift.io/managed=true. In a labeled namespace, these kinds must carry the kueue.x-k8s.io/queue-name annotation, or admission is rejected: pytorchjob, notebook, rayjob, raycluster, inferenceservice, llminferenceservice.
Then set the component:
Expected output (last line):
KueueReady reaches True only after the upgrade, once the JobSet operator is installed (Upgrade).
CodeFlare (confirm)
The lint reports this under ray/removal, but ray and codeflare are separate DSC components. You set codeflare to Removed in 5.1. Confirm it:
Expected output:
Known issue: ray: Removed silently leaves RayClusters unmanaged
Symptom. After the upgrade, raycluster.migrate reports Migrated: N, Failed: 0 and oc get raycluster -A shows STATUS=ready, but the head pod still runs the old 2.x spec, oauth-proxy sidecar included. Deleting the head pod doesn’t bring it back, yet the status still reads ready.
Diagnosis. ray isn’t a removed component. In 3.5 it provisions the KubeRay operator. With ray: Removed there’s no KubeRay, so nothing reconciles the rewritten CRs, and nothing updates their status either: it goes stale rather than red.
Workaround. Leave ray: Managed, unless you are deliberately dropping Ray and have no RayClusters to keep. If it’s already Removed, set it back to Managed and continue at Post-upgrade 8.5.
Tracker. None filed. Observed in a field run.
ModelMesh Serving
Expected output (last line):
KServe Serverless mode
Set serving to Removed and the default mode to RawDeployment in one patch:
The Knative stack takes several minutes (5–10) to tear down. Poll until it’s gone:
Expected output (eventually):
Then confirm every model still serves. RawDeployment doesn’t depend on Knative:
Expected output:
Known issue: Serverless teardown seems stuck
Symptom. oc get knativeserving -A still lists resources after 10 minutes.
Diagnosis.
Workaround. Wait for the Knative pods to reach zero. If a converted model goes READY=False during the teardown, check its predictor (oc get pods -n <ns> -l serving.kserve.io/inferenceservice=<name>). RawDeployment models don’t depend on Knative. Pod restarts later in the upgrade are expected.
Tracker. None.
5.8 Remove the Service Mesh dependency
OpenShift 4.19+ handles service mesh itself, so 3.x no longer needs the embedded one. Remove it from the DSCI, wait for the SMCP to drain, then delete the ServiceMeshMemberRoll while the Service Mesh 2 operator is still installed:
Expected output (the last command):
Known issue: oc delete smmr hangs
Symptom. The SMMR delete never returns.
Diagnosis. The SMMR carries a maistra.io/istio-operator finalizer, and only the still-installed Service Mesh 2 operator can clear it:
Workaround. Always do 5.8 before 5.9. If you’ve already uninstalled the operator, reinstall it briefly so the finalizer can run, then delete the SMMR.
Tracker. None. A consequence of the order.
5.9 Uninstall the 2.x serving operators
OpenShift Serverless, Service Mesh 2, and standalone Authorino were dependencies of the 2.x Serverless stack.
Don’t remove servicemeshoperator3 (OSSM v3). The Cluster Ingress Operator installs it to back the 3.x Gateway API. It’s part of the new platform. Only servicemeshoperator (v2) is a leftover.
Delete only the source CSV. These operators install with an all-namespaces OperatorGroup, so OLM mirrors each CSV into every namespace. On a 109-project cluster that’s 108 copies per operator, and a naive oc get csv -A | … | xargs oc delete csv sweep fires about 324 deletes against objects OLM owns. Deleting the single source CSV (the one without olm.copiedFrom) removes them all: in the field run, 324 rows went to 0.
Verify none remain. The trailing \. keeps OSSM v3 out of the match:
Expected output:
The Service Mesh 2 CRDs stay behind, and that’s deliberate for now. OLM never removes CRDs, so the Maistra *.istio.io CRDs survive. After the upgrade they block the 3.5 Data Science Gateway. Don’t delete them now. They’re removed, with a zero-CR safety check, in Post-upgrade 8.2.
5.10 Final pre-upgrade readiness
- Set the OpenShift AI Subscription’s update approval to
Manualso the channel change in Phase 7 can’t upgrade automatically:
Expected output:
- Confirm that the CSV, DSC, and DSCI are healthy:
Expected output:
Reconciliation can take a while. Don’t continue while the DSC or DSCI shows errors.
- Re-run the full assessment (inside the pod):
Expected output: a summary with zero failures (warnings are acceptable):
Verification
Platform remediation is done when:
rhai-cli lintshows no critical or prohibited findings (exit code0or2).- The DSC and DSCI are
Ready, and therhods-operator2.25 CSV isSucceeded. codeflare,modelmeshserving, andkserve.servingareRemoved,rayisManaged, and Kueue isRemovedorUnmanaged.- No Serverless, Service Mesh 2, or standalone Authorino CSVs remain. OSSM v3, if present, is untouched.
./ray-backup,./trustyai-backup,./inferenceservice-config-backup.yaml, and the PVC’sai_pipelines/dspa_pre_upgrade_pods.jsonall exist.
Rollback
You are still on 2.25, so most flips can be reversed. The deletions can’t.
- Component flips: set the component back to
Managedwith the sameoc patch(for example,codeflare,modelmeshserving,kserve.serving, DSCIserviceMesh). For Serverless and Service Mesh, the operators must be reinstalled first if you’ve already done 5.9. inferenceservice-config:oc apply -f ./inferenceservice-config-backup.yaml.- Not reversible: deleted LlamaStackDistributions and their data, and any CSVs or operands you uninstalled (those need a reinstall). For anything beyond a component flip, restore from the Pre-flight backup.
- Don’t leave CodeFlare
Removedfor long without upgrading. Users could create RayClusters without its security configuration.
6 - Workbench images
Outcome: every custom workbench image is triaged (re-import only, or rebuild), code-server workbenches are on 2025.2, every workbench is stopped, and the notebook lint returns PASS or WARNING. Phase 6 of 10 · Before upgrade. Next: Upgrade.
3.x changes how workbenches authenticate (oauth-proxy → kube-rbac-proxy) and how they’re routed (OpenShift Routes → Kubernetes Gateway API with path-based URLs). The operator bumps out-of-the-box images, but custom (BYON) images and old tags need your attention.
Finish all of this before the upgrade. Unmigrated workbenches stay on the 2.x auth layer. Combined with NB_PREFIX routing conflicts, that produces redirect loops or connection failures, especially for RStudio, code-server, and custom images. Workbenches created in 2.25 or earlier are unsupported in 3.5 unless they’re migrated.
Prerequisites
- Remediate the platform complete.
- Users have been told to save their work. Every workbench ends this phase Stopped. If one can’t reach Running, stop or delete it.
- Users know that workbench URLs change after the upgrade. They’ll get new ones from the dashboard, and old bookmarks break.
- Owners of custom images are available. Red Hat doesn’t rebuild custom images. Rebuilding is the application owner’s job.
Procedure
6.1 Find the custom (BYON) images
Expected output: one row per custom image, or No resources found (shape):
Any image built before 3.x (for example, an upstream community Jupyter image) won’t work as-is after the upgrade.
6.2 Triage each custom image
The tag alone doesn’t tell you which case you’re in:
| The image is… | What breaks | What to do |
|---|---|---|
Built FROM the 2025.2 workbench base | Nothing. Gateway NB_PREFIX routing and auth are already built in. | Re-import (6.3), then apply the post-upgrade auth patch (8.4). No rebuild. |
Only tagged 2025.2, on an older base | The tag is cosmetic. It still assumes 2.x routing. | Full rebuild (below). |
| Anything older | Auth and routing | Full rebuild (below). |
Because the tag can’t tell the first two cases apart, check by testing: after the upgrade, start one workbench per unique image and confirm that it routes and authenticates before you trust the rest.
Why 2.x custom images break, and how to rebuild them:
- Authentication. In 2.x, each workbench pod ran an
oauth-proxysidecar. In 3.x, the platform injectskube-rbac-proxy. An image with oauth-proxy configuration built in fights the platform and produces redirect loops. Remove all oauth-proxy binaries, config, and sidecar wiring. The image only needs to serve the notebook on its own port. - Routing. Workbenches now sit behind the Gateway under a path prefix, which is passed in the
NB_PREFIXenvironment variable. The server must serve under that prefix and must not strip it from redirects. For Jupyter, use this entrypoint in place of the upstreamstart-notebook.sh, which ignoresNB_PREFIX:
In the Containerfile: drop any oauth-proxy wiring, COPY the entrypoint in, and set it as the ENTRYPOINT.
Rebuild gotchas.
- Build for the cluster’s architecture:
--platform linux/amd64. An arm64 image fails withexec format error. - Production images should be rebased on UBI9 plus Python from
registry.redhat.io. - NGINX-fronted images (code-server, RStudio) need two extra fixes that Jupyter doesn’t: keep
NB_PREFIXin everyLocation:redirect header, and serve/apias a302rather than an inline rewrite (which avoids 403s).
Background: Introducing the Kubernetes Gateway API for custom image migration.
6.3 Re-register the ImageStream with the rebuilt image
Verify the new tag resolved:
Expected output: an image reference with a digest (shape):
--reference-policy=local pins the ImageStream to the internal registry. If you host the image there, also grant system:image-puller to the workbench ServiceAccount for redhat-ods-applications. See Importing a custom workbench image.
Known issue: oc tag can’t reach the image
Symptom. The ImageStream tag shows an import error.
Diagnosis.
Workaround. Check that the image URL is correct and public, or add a pull secret for the registry to redhat-ods-applications.
Tracker. None.
6.4 Bump out-of-date image tags
| Image | 3.5 requirement |
|---|---|
| Jupyter | 2025.2 recommended. A Jupyter workbench on 2025.1 still lints as compatible. |
| code-server | 2025.2 required |
| RStudio (BuildConfig) | latest required, plus a fresh build after the upgrade |
First check which tags the ImageStream actually offers. The target may not exist on your cluster yet:
Expected output (must include):
Bump every code-server workbench that is on an old tag:
Verify that no code-server workbench is left on 2025.0 or 2025.1:
Expected output:
6.5 Stop every workbench
The notebook controller treats the kubeflow-resource-stopped annotation as “stopped” whenever it’s present. Use a timestamp, not the literal true.
Verify that no workbench has running pods:
Expected output: every RUNNING value is 0 or <none> (shape):
Known issue: a workbench won’t stop, and its pod keeps coming back
Symptom. The pod restarts after you annotate the workbench.
Diagnosis. Check that the annotation actually applied:
Workaround. If it’s empty, re-annotate with a timestamp. Any non-empty value means stopped.
Tracker. None.
6.6 Verify workbench readiness
Inside the pod:
Expected output: the notebook checks report PASS or WARNING, with no FAIL. The report sorts images into compatibility buckets (compatible, custom-needs-verification, incompatible-rebuild-after, and so on) and confirms that every notebook is stopped.
Verification
- The notebook lint has no FAIL.
- Every workbench’s
RUNNINGvalue is0/<none>. - Every custom image is triaged. Rebuilt images are re-imported, and the owners of “rebuild after” images have a date.
Rollback
- Restart a workbench (for example, if the upgrade is postponed): remove the annotation with
oc -n <ns> annotate notebook <name> kubeflow-resource-stopped-. - Revert a tag bump: patch the image back to the previous tag, using the same
oc patch notebook … /spec/template/spec/containers/0/imageform. - ImageStream re-tags are additive. The old tag is still there.
7 - Upgrade
Outcome: rhods-operator 3.5 is Succeeded, no 2.x CSV is left, the JobSet operator is installed, the DSC and DSCI are Ready, and the Subscription is on stable-3.5. Phase 7 of 10 · Upgrade. Next: Post-upgrade.
This is the point of no return. Once you approve the InstallPlan, the only way back is restoring the Pre-flight backup. OpenShift AI doesn’t support rolling back an in-place migration.
Prerequisites
- Phases 4–6 complete. The latest
rhai-cli lintshows zero critical or prohibited findings. Nothing enforces this: the lint can’t stop OLM (see the overview). - The Subscription’s approval is
Manual(5.10). - Every workbench is stopped. Everyone, including you, is logged out of the OpenShift AI dashboard.
Procedure
7.1 Inspect the current subscription
Expected output (your current channel and 2.25.z):
Confirm that the catalog offers the migration channel:
Expected output:
The support-required-upgrade-3.5 channel is kept separate so that nobody can trigger this upgrade by accident. It is the only channel with the cross-major 2.25 → 3.5 path: its edge carries skipRange >=2.25.10 <2.26.0, so any 2.25.10+ goes straight to 3.5. (The unversioned support-required-upgrade channel is for 2.25 → 3.3 only.)
7.2 Mirror the required OSSM v3
Cluster network: Connected
Connected cluster: skip this step. The Cluster Ingress Operator pulls OSSM v3 itself.
Cluster network: Disconnected (air-gapped)
Disconnected cluster. Mirror exactly the OSSM v3 version and channel that the Cluster Ingress Operator requires:
Create an ImageSetConfiguration for servicemeshoperator3 pinned to that minVersion/maxVersion and channel. Run oc-mirror --v2 into your mirror registry, then apply the generated cluster resources, making sure the CatalogSource is named redhat-operators. Verify that the version is available:
Expected output: includes the version reported by GATEWAY_API_OPERATOR_VERSION (shape):
If OSSM-dependent components don’t become ready after the upgrade, see KB 7141146.
7.3 Switch to the migration channel
Confirm that OLM produced an unapproved InstallPlan:
Expected output (shape):
Known issue: no InstallPlan appears, stale ResolutionFailed
Symptom. No InstallPlan appears after the channel switch. The Subscription reports ResolutionFailed / ConstraintsNotSatisfiable.
Diagnosis. First confirm that the channel name is exactly support-required-upgrade-3.5. Then check:
If ResolutionFailed is "True" while the bundle unpack jobs are Complete, the resolver is stale. It’s not a real dependency conflict.
Workaround. Restart the OLM catalog operator to force a fresh resolve:
The 3.5 InstallPlan appears within seconds.
Tracker. None filed. Observed in a field run.
7.4 Approve the upgrade
Because of the skipRange edge, any 2.25.10+ normally resolves to a single InstallPlan straight to 3.5. If OLM produces more than one, approve each in turn. This loop handles both cases:
If your catalog serves a later 3.5.z (for example rhods-operator.3.5.1), change the CSV name in the loop to match.
Verify that the new CSV succeeded and no 2.x CSV remains:
Expected output: exactly one line:
Known issue: the approval loop times out before Succeeded
Symptom. The loop runs out its 30 minutes, and the CSV is still not Succeeded.
Diagnosis.
Workaround. A stuck InstallPlan usually means a removed component was left Managed. Re-run the assessment if you are still on 2.25, fix what it reports, and the upgrade resumes. If the CSV is Succeeded but the DSC is held, see Known issue: DSC held at AdminAckRequired.
Tracker. None.
7.5 Install the JobSet operator
New in 3.5: Kueue depends on the JobSet operator. Install it into its own namespace with an OwnNamespace OperatorGroup. Do not use openshift-operators.
Wait for the CSV, then read the operand CRD’s group/version from the cluster, because it can differ between builds:
Expected output (on jobset-operator.v1.0.0; later builds may say v1.0.1):
Create the operand, using the group/version that was reported:
Expected output:
Known issue: no matches for kind "JobSetOperator"
Symptom. Applying the JobSetOperator fails with no matches for kind "JobSetOperator".
Diagnosis. The wrong API group. Earlier drafts of the migration guide used operator.jobset.x-k8s.io/v1alpha1, which is a different group entirely.
Workaround. Use the group/version that oc get crd … -o jsonpath='{.spec.group}/{.spec.versions[0].name}' reports. On v1.0.0 that’s operator.openshift.io/v1.
Tracker. None. A documentation error, fixed here.
Kueue end state: Unmanaged (external RHBOK)
Kueue Unmanaged: JobSet is what lets KueueReady reach True.
Kueue end state: Removed
Kueue Removed: KueueReady=False is expected and does not block the DSC. JobSet is installed anyway so the platform is ready if you enable Kueue later.
7.6 Wait for the DSC and DSCI
Expected output:
If the wait times out, don’t debug components yet. Check the DSC conditions first. The two most common causes are documented in Post-upgrade:
Ready=False [AdminAckRequired]→ Known issue: DSC held at AdminAckRequiredProvisioningFailed: modelregistry, or a Gateway that never programs → Known issue: stale Service Mesh 2 Istio CRDs
Expected output, once the DSC is healthy: only conditions that are false by design (for example, KueueReady Removed … on the Removed path), or nothing:
7.7 Move off the migration channel
support-required-upgrade-3.5 is a one-shot trigger. It doesn’t advance to later 3.5.z patches. Move to stable-3.5. Don’t use stable-3.x, which would eventually offer a later minor version; that’s a separate planning decision.
Verify:
Expected output:
If users had bookmarked dashboard URLs, set up redirects now: KB 7137771.
Verification
rhods-operator.3.5.xisSucceeded, and norhods-operator.2.*CSV remains.- The JobSet CSV is
Succeeded, andjobsets.jobset.x-k8s.ioexists. - The DSC and DSCI are
Ready, or you are following one of the two linked known issues. - The Subscription is on
stable-3.5,AtLatestKnown.
Rollback
None supported. From here, the only path back to 2.25 is restoring the Pre-flight backup (etcd snapshot plus OADP). If the upgrade is stuck, go forward: fix the cause in Post-upgrade and contact Red Hat Support on your proactive case.
8 - Post-upgrade
Outcome: the DSC is Ready, the Data Science Gateway is Programmed=True, inferenceservice-config is managed again with no unwanted redeploys, every workbench is on kube-rbac-proxy, RayClusters run under KubeRay without the oauth-proxy sidecar, Guardrails and TrustyAI are migrated with no data loss, and every component is verified. Phase 8 of 10 · After upgrade. Next: Re-test.
The operator is on 3.5, but the migration isn’t finished. Several rhai-cli migrate actions still have to bring components across. Work through this page in order. 8.2 (Gateway) blocks 8.5 (Ray), and 8.3 must run before you judge model health.
Prerequisites
- Upgrade complete: the 3.5 CSV is
Succeeded. - The
rhai-cli-0pod and its PVC are still present. In a new pod shell, re-runexport KUBECONFIG=/tmp/.kubeconfig; export PATH="/opt/rhai-cli/bin:$PATH"and log in again. - In-pod actions may print
phase pre-upgrade but effective phase is post-upgrade. That warning is harmless.
The 3.5 operator does these on startup. Don’t do them by hand:
- HardwareProfile migration: AcceleratorProfiles become HardwareProfiles, and Notebooks/ISVCs are annotated (create-only, so your customizations are kept).
- GatewayConfig
ingressMode: a LoadBalancer ingress mode is carried forward. - Kueue ValidatingAdmissionPolicyBinding cleanup: deprecated pre-v2.29 resources are removed.
- DSC v1 → v2 conversion:
datasciencepipelinesbecomesaipipelines, andmodelmeshservingandcodeflareare dropped.
Procedure
8.1 Confirm platform health
Expected output:
If the second line isn’t Ready, read the conditions before anything else:
Kueue end state: Removed
Kueue Removed: a KueueReady False Removed line is healthy.
Kueue end state: Unmanaged (external RHBOK)
Kueue Unmanaged: KueueReady should be True. If it reports Managed is not supported, the pre-upgrade RHBOK migration wasn’t finished: complete it now. If it’s False with JobSet missing, see Upgrade 7.5.
Known issue: DSC held at AdminAckRequired (upgrade gates)
Symptom. The DSC is Not Ready with:
Diagnosis. The operator is healthy and is deliberately refusing to reconcile because pre-migration work is outstanding. Nothing has been migrated and nothing is broken: the platform is held in its pre-upgrade state. The gates live in the odh-upgrade-acks ConfigMap (21 keys in 3.5.1):
| Gate | Example message | Fix in |
|---|---|---|
ack-3.5-kserve | kserve blocking workloads found: 2 Serverless InferenceServices, 1 ModelMesh InferenceServices, 1 multi-model ServingRuntimes | Convert model serving |
ack-3.5-dependencies-kueue-operator | Kueue managementState Managed is not supported | 5.7 Kueue |
ack-3.5-removed-codeflare | CodeFlare internal CR present | 5.1 / 5.7 |
ack-3.5-removed-modelmeshserving | ModelMeshServing internal CR present | 5.7 |
ack-3.5-dependencies-servicemeshoperatorv2 | Service Mesh Operator v2 subscription … is still installed | 5.8 / 5.9 |
ack-3.5-ray | 2 CodeFlare-managed RayClusters still require pre-upgrade backup acknowledgement | 5.1 |
ack-3.5-trustyai | 1 TrustyAIService instances using PVC storage require pre-upgrade backup | 5.2 |
Workaround. Clear each gate by doing the work it names, then let the operator re-evaluate. These are the same conditions rhai-cli lint reports before the upgrade, so a cluster that passed a clean assessment arrives with every gate already true.
Gates are acknowledgements, not verifications. You can write one directly:
The operator accepts that and never re-checks it. In a test, a forced true survived repeated reconciles and moved the count from 14/21 to 15/21, while the RayClusters were never backed up. An admin can release the DSC this way without having done any of the migration, and the DSC then reconciles exactly the state the gates exist to prevent. Only acknowledge a gate when the work is genuinely done.
Tracker. None filed. Observed in a field run (2.25.10 → 2.25.11 → 3.5.1, with all pre-migration steps deliberately skipped).
8.2 Confirm the Data Science Gateway
The dashboard, workbenches, and ModelRegistry all resolve through the Data Science Gateway. It must be Programmed=True before you verify anything else.
Expected output: default-gateway shows READY True, and the last line is:
Then open the Red Hat OpenShift AI link in the OpenShift console and confirm the dashboard loads.
Known issue: Data Science Gateway won’t program, blocked by stale Service Mesh 2 Istio CRDs
This is the most common reason a 3.5 upgrade lands with the DSC Not Ready.
Symptom. A chain of failures that reinforce each other:
- The DSC is stuck
Not Ready:ProvisioningFailed: modelregistry. GatewayConfig/default-gateway:failed to lookup … DestinationRule in version "networking.istio.io/v1".Gateway/data-science-gateway:Programmed=False, listenerBad TLS configuration.- The
istiod-openshift-gatewaypod is stuck at 0/1. Its log saysfailed to list *v1.VirtualService: the server could not find the requested resource. - ModelRegistry:
failed to compute gateway domain: gateway domain is missing. - The ingress-operator log says
Istio CRDs are managed by an unknown party. That’s the giveaway.
Diagnosis. When you uninstalled the Service Mesh 2 (Maistra 2.6.x) operator in 5.9, OLM left its *.istio.io CRDs behind, serving only v1beta1/v1alpha3. On OCP 4.20.31+, 4.21.22+, and 4.22+, the OCP built-in Gateway API (“sail” Istio) provides the control plane, and it refuses to install its own v1 CRDs while foreign Istio CRDs exist.
Workaround. First confirm there are zero Istio custom resources on the cluster, so deleting the CRDs loses no data. Run this in bash: under zsh the loop iterates once and the check is meaningless.
Expected output:
If anything is listed, stop: something still uses those CRs, so migrate or remove it first. Otherwise, delete the 14 stale CRDs and restart the ingress operator so sail reinstalls them at v1:
The recovery then fixes itself in sequence: DestinationRule comes back serving v1 → istiod-openshift-gateway reaches 1/1 → the Gateway is Programmed=True → GatewayConfig is Ready (domain assigned) → ModelRegistry is Ready → the DSC is Ready. Verify:
Expected output (the first line must include v1; the order and the other versions may differ):
The *.maistra.io CRDs hold no CRs and don’t block sail. You can optionally remove them in Clean up.
Tracker. None filed. Observed in a field run.
Known issue: Gateway dashboard URL doesn’t resolve (NetworkPolicy rejected)
Symptom. The Gateway exists, but the dashboard URL doesn’t resolve. Clusters with an SRE-managed admission webhook that restricts NetworkPolicy in openshift-* namespaces are the ones affected.
Diagnosis. The GatewayConfig reconciler’s NetworkPolicy POST is rejected:
Workaround.
Tracker. None.
Cluster network: Disconnected (air-gapped)
Disconnected: if servicemeshoperator3 failed to subscribe, the DSCI isn’t Ready, or data-science-gateway shows Unknown, see KB 7141146 and re-check the OSSM v3 mirror.
8.3 Restore the inferenceservice-config ConfigMap
You set it to managed=false in 5.6. Now hand control back. The action restores the annotation, restarts the KServe controller, and checks that no ISVC was redeployed. Inside the pod:
If you were managing a customized inferenceservice-config by hand before the upgrade, skip the action and only run the verification below.
Verify (workstation):
Expected output:
Each ISVC should have one active ReplicaSet. An extra ReplicaSet scaled to 0 next to the active one means it was redeployed when it shouldn’t have been. ReplicaSets live in each ISVC’s own namespace:
Expected output, per namespace (shape; one predictor ReplicaSet per ISVC):
8.4 Move the workbenches to the new auth model
Workbenches still carry 2.x oauth-proxy config. Without this step they hit redirect loops on first start. Confirm the controllers are up:
Expected output (READY equals the desired count; shape):
Inside the pod, patch every stopped workbench in place. It prompts twice: once before patching, once before the OAuth cleanup. Answer y both times.
Expected output (from verify-migration):
Tell users they can restart their workbenches. Their URLs are new: get them from the dashboard.
Custom images with oauth-proxy built in can’t be fixed by this patch. They need the rebuild. The action flags them.
Deferred image migration. If some workbenches couldn’t be stopped before the upgrade, migrate them now. Bump the tags (Jupyter 2025.2 recommended, code-server 2025.2 required, RStudio latest plus a rebuild). Then either edit and save the workbench in the dashboard (it patches automatically), or delete and recreate it using the same PVC so no data is lost.
Known issue: workbenches.verify-migration reports Failed: N
Symptom. The verify action reports failures.
Diagnosis.
Workaround. The usual cause is a custom image that still has oauth-proxy built in. Rebuild it and re-import it.
Tracker. None.
8.5 Migrate the RayClusters to KubeRay
Prerequisites: the Gateway is Programmed=True (8.2), the workbench migration is done (8.4), and KubeRay is actually running:
Expected output:
If KubeRay is missing, see Known issue: ray: Removed silently leaves RayClusters unmanaged. Set ray back to Managed and wait for the operator before you continue:
Inside the pod:
The dry run prints === DRY RUN MODE === and Summary: N to migrate, M already migrated. To target a single cluster, use --raycluster-cluster, --raycluster-namespace, or --raycluster-from-backup <path to rhoai-3.x copy>. Each migrated cluster restarts its head and worker pods, so expect brief downtime.
STATUS=ready alone is not enough proof. The action rewrites the CR; KubeRay recreates the pods. Confirm the head pod was recreated and now has a single ray-head container with no oauth-proxy:
Expected output (per head pod):
Known issue: RayCluster reports ready but the pods are still the 2.x spec
Symptom. The head pod still lists oauth-proxy, or its age is older than the migration, while oc get raycluster says ready.
Diagnosis. KubeRay hasn’t adopted the rewritten spec. Check the pod age:
Workaround. The CR is already correct, so it’s safe to delete the stale pods and let KubeRay recreate them:
Then re-check: STATUS=ready, AVAILABLE equal to DESIRED, and every pod 1/1. If this keeps happening, confirm that KubeRay is running (above).
Tracker. None filed. Observed in a field run.
The migration leaves the old ray-dashboard-<cluster> Routes and <cluster>-oauth-<hash> Services behind. They now return HTTP 403 because their ServiceAccount is gone. They’re harmless, and you remove them in Clean up.
8.6 Patch the GuardrailsOrchestrators
Both actions run cluster-wide. trustyai.patch-guardrails adds the missing ReadinessProbe. trustyai.migrate-gorch-otel-exporter rewrites spec.otelExporter to the 3.x schema. Inside the pod:
Verify the readinessProbe patch by checking that each orchestrator pod reaches 1/1:
Expected output (per orchestrator; shape):
Then compare each /info with your Baseline. Every service that was HEALTHY before should still be HEALTHY:
Expected output: the same statuses as the baseline (shape):
Known issue: Guardrails /info reports UNKNOWN
Symptom.
Diagnosis. /info reports the health of the backends (the generator and each detector), not the orchestrator itself. Check what it’s configured to reach:
Workaround. If the baseline showed UNKNOWN too, the backend never existed. This isn’t a regression. If the baseline showed HEALTHY, check that the backend’s ISVC is Ready (8.9).
Tracker. None.
8.7 Verify TrustyAI and restore data if needed
Expected output:
Compare the current metric count with your backup, per namespace. Run this on your workstation, against the copy you made in 5.2. The pod image doesn’t ship jq.
Expected output:
If you see DATA LOSS, restore from the backup on the PVC. Confirm the route label with oc get route -n "$NS" --show-labels. Then, inside the pod, do a dry run and restore:
Expected output: each metric reports Successfully scheduled, and the summary is:
Restored metrics get new UUIDs. The original IDs aren’t preserved.
Known issue: GPU ISVC stays Pending next to a TrustyAI service
Symptom. On a GPU cluster, a new GPU-based predictor pod in a namespace with a running TrustyAI service stays Pending indefinitely while the old pod keeps running.
Diagnosis.
Workaround. Inside the pod:
Tracker. None. The CLI ships a dedicated action for it.
8.8 Verify the non-core components
Model registry and catalog. The catalog now runs two pods, model-catalog and model-catalog-postgres:
Expected output:
Registries should show Available in the dashboard. The navigation was renamed: registry admin is now Settings → … → Model registry settings, and the catalog moved from AI hub → Catalog to AI hub → Models. Tell your users.
Feature Store (GA):
Expected output (first line):
Then check the dashboard under Develop & train → Feature Store, which has a new Gateway URL.
AI Pipelines. Inside the pod, diff against the 5.3 snapshot:
Then have pipeline users import and run a pipeline, and confirm that scheduled runs are still enabled.
Llama Stack → OGX. Recreate fresh OGXServer (v1beta1) CRs. Use the 5.4 archive only as reference, because the SQLite data can’t be imported. 3.5 needs PostgreSQL 14+, an explicitly enabled embedding provider, the Vector_IO API, llama-stack-client 0.4.x, and config.yaml (formerly run.yaml). See Deploying an OGX server.
Kubeflow Training Operator. Compare with your pre-upgrade list, then run the read-only enumeration (it creates nothing and pulls nothing):
Expected output (jobs that finished and were cleaned up in the meantime show as diff lines; explain each one):
Inside the pod:
Expected output (when no KFTO v1 job is running, the summary contains one of these):
Any workload still Running/Created is reported as [BLOCKER] instead.
Known issue: training.verify-workloads “completed with failures, please report a bug”
Symptom. With a PyTorchJob still running, the action exits non-zero and ends with:
Diagnosis. A running KFTO v1 job carried across the upgrade is the expected, healthy outcome. The [BLOCKER] refers to the future Trainer v2 migration, not this one.
Workaround. None needed, and no support case is needed either. Confirm that the job list matches your pre-upgrade inventory. A PyTorchJob in a failed state usually means the job itself failed: oc describe pytorchjob <name> -n <ns>.
Tracker. None filed. A misleading message, observed in a field run.
8.9 Verify model serving
Every ISVC should be Ready=True with DEPLOYMENT_MODE Standard (the 3.5 display name for RawDeployment):
Expected output (shape):
Known issues: model-serving symptom matrix
| Symptom | Cause | Fix |
|---|---|---|
READY: True but every call returns HTTP 503 | A Serverless ISVC wasn’t converted before the upgrade | Convert to Standard after the upgrade per KB 7134025 |
| Healthy ISVC, but requests return 503 “Application Not Available” | A ModelMesh ISVC wasn’t converted | Convert per KB 7134025 |
Ready=False after the upgrade | 8.3 hasn’t run yet, or the predictor is failing | Run 8.3 first, then check the predictor pod’s events and logs |
KnativeServing still Ready, idle pods in knative-serving | Serverless Operator wasn’t removed | No functional impact. Uninstall it, then oc delete namespace knative-serving |
Standalone Authorino still Ready | Authorino wasn’t removed | No impact on ISVCs (they use the per-pod oauth-proxy). Breaks LLMInferenceService: uninstall it and use RHCL |
| Gateway API resources don’t work | OSSM v2 wasn’t removed, or stale SM2 *.istio.io CRDs remain | Known issue: stale Istio CRDs |
| Dashboard shows runtimes Outdated | The runtime templates moved on | Redeploy on the latest global serving runtime templates |
8.10 Final assessment
rhai-cli lint only works before the upgrade. On 3.5 it does nothing:
Expected output:
Your post-upgrade confidence comes from 8.1–8.9 and the Re-test diff, not from the lint.
Verification
- The DSC and DSCI are
Ready, the Gateway isProgrammed=True, and the dashboard loads. inferenceservice-configismanaged=true, with one active ReplicaSet per ISVC.workbenches.verify-migrationreportsLegacy (2.x): 0.- Ray head pods run
ray-headonly, are newly created, andAVAILABLEequalsDESIRED. - Guardrails pods are
1/1, and/infomatches the baseline. TrustyAI reportsOK: no data loss. - Model registry, Feature Store, AI Pipelines, and KFTO match the pre-upgrade inventory.
- Every ISVC is
Standard/Ready=True.
Rollback
None supported after the upgrade. Individual steps can be undone in a limited way:
- inferenceservice-config:
oc apply -f ./inferenceservice-config-backup.yaml(from 5.6) restores the pre-upgrade content. - A RayCluster: recreate it from
./ray-backup/rhoai-3.x/with--raycluster-from-backup. - Deleted stale Istio CRDs: sail reinstalls them at
v1. The Maistra v1beta1 versions are deliberately not restored.
For anything else, go forward with Red Hat Support on your proactive case, or restore the Pre-flight backup.
9 - Re-test
Outcome: a saved after record that matches the Baseline everywhere except the differences this page tells you to expect. That before/after pair is your evidence that the migration broke nothing. Phase 9 of 10 · After upgrade. Next: Clean up.
Post-upgrade proved the platform is healthy. This page proves the workloads still serve their users. These are smoke tests: does each thing still answer a request?
Prerequisites
- Post-upgrade verification passed.
- Your
$BASELINEdirectory from Phase 2, and a directory for the after record:
Expected output (shape; both directories exist):
Procedure
9.1 Inference-test each model
Re-run the same probe as the baseline:
Expected output of the diff: differences only for models you converted in Phase 4. Serverless models get a new URL. ModelMesh models change from a grpc://modelmesh-serving… URL to a single-model URL, and may gain an HTTP test they skipped before. Every line for a model that was already RawDeployment is identical, including the completions (temperature: 0):
A changed completion, or an ISVC that has gone missing, is a regression. Investigate it in Post-upgrade 8.9. If a runtime image was intentionally updated (a predictor restarted onto a newer vLLM), small wording differences can be legitimate.
Confirm every ISVC is Ready:
Expected output:
9.2 What changes for a Standard model
The honest answer is narrower than “3.x changes routing and auth”. Measured on a real 2.25.10 → 3.5.1 migration of an externally exposed, auth-enabled vLLM ISVC that was already RawDeployment before the upgrade:
| Property | Before (2.25.10) | After (3.5.1) |
|---|---|---|
deploymentMode | RawDeployment | Standard (display rename only) |
ISVC .status.url | https://<name>-<ns>.apps.<cluster> | identical |
| Route name / host | <name> / same host | identical |
| Route target port | https | identical |
| Route TLS termination / policy | reencrypt / Redirect | identical |
| HTTPRoutes created for the ISVC | 0 | 0 |
| Unauthenticated request | HTTP 302 | identical |
| Authenticated request and inference | served | identical, same output |
Why it survives. For Standard/Raw, the operator creates the Route with an ownerReference to the ISVC and names it after it. Nothing in the upgrade moves that Route onto the Gateway. The Gateway move that does change URLs affects the dashboard and workbenches. Serverless endpoints move because their Knative ingress is gone.
A Standard ISVC is only reachable from outside the cluster if it carries the label networking.kserve.io/visibility: exposed. That label makes the operator create the Route and set .status.url to the external host. The Knative label networking.knative.dev/visibility: cluster-local has no effect on Raw. Also, security.opendatahub.io/enable-auth=true switches the Route from edge/http1 to reencrypt/https.
Check on your own cluster rather than assuming:
Expected output, for an auth-enabled model that was already Raw (shape):
Known issue: auth-enabled model still runs oauth-proxy after the upgrade
Symptom. A customer reports “the URL didn’t change, but auth is still oauth-proxy”:
Diagnosis. This is expected behavior on both counts, not a missed step. The oauth-proxy → kube-rbac-proxy change applies to workbenches only. On 3.5.1, the KServe controller keeps model serving on oauth-proxy.
Workaround. None needed. Don’t try to force the change. oc rollout restart reports success, but the controller scales the new ReplicaSet back to 0 and keeps the original pod, because the ISVC-owned Deployment template still specifies ose-oauth-proxy-rhel9. There’s no modelserving auth-model action (workbenches.patch-auth-model is for workbenches only).
Tracker. None. Working as designed in 3.5.1.
9.3 Reach each workbench through the Gateway
3.x workbenches live at https://<gateway-host>/notebook/<ns>/<name>/. Start them (Phase 6 stopped them all):
Confirm each pod came back with the kube-rbac-proxy sidecar. This proves 8.4 took effect:
Expected output (per workbench pod; no oauth-proxy):
Then probe each workbench through the Gateway:
Expected output, per workbench (any 2xx or 3xx):
Known issue: every workbench probe returns HTTP 000
Symptom. Every line reads HTTP 000.
Diagnosis. GATEWAY_HOST is empty. The gateway domain lives on GatewayConfig .status.domain. There is no .spec.hostname.
Workaround. Use the jsonpath above. If .status.domain itself is empty, the Gateway isn’t programmed: see Known issue: stale Istio CRDs.
Tracker. None.
Known issue: a workbench URL returns 404
Symptom. HTTP 404 for one workbench.
Diagnosis. The Gateway HTTPRoute hasn’t propagated yet, or the Notebook wasn’t patched:
Workaround. Wait about 2 minutes. If it persists, confirm that 8.4 patched this Notebook.
Tracker. None.
9.4 Confirm the DSPAs serve the pipelines API
Expected output: the healthz bodies match $BASELINE/dspa.txt, and the last line is:
Known issue: DSPA endpoint returns 404
Symptom. The healthz probe returns 404, or no route found.
Diagnosis. The pipeline route path can vary after the upgrade:
Workaround. Probe the path that the HTTPRoute exposes.
Tracker. None.
9.5 Confirm Ray clusters accept work
Expected output:
If a cluster isn’t ready, re-run the migration scoped to it (inside the pod): rhai-cli migrate run --migration raycluster.migrate --target-version 3.5.0 --raycluster-namespace <ns>. Then apply the pod check from 8.5.
Known issue: LLM inference returns 502/503 right after the upgrade
Symptom. A model that passed 8.9 returns 502 or 503 during 9.1.
Diagnosis. The 3.x controller may still be rolling the predictor onto a newer runtime image:
Workaround. Wait 60 seconds and re-run the probe.
Tracker. None.
Verification
Archive both directories together. They are your migration evidence:
Expected output (shape):
Re-test passes when:
- The inference diff shows only the expected Serverless URL changes.
- Every workbench answers 2xx/3xx through the Gateway, with
kube-rbac-proxy. - Every DSPA is Ready and healthz matches the baseline.
ray unchanged.
Rollback
Read-only phase. Nothing to roll back. A failed probe is a lead for Post-upgrade, not a reason to roll back.
10 - Clean up
Outcome: every backup is on your workstation (or in your archive), the rhai-cli pod and PVC are gone, there are no Ray dashboard, Serverless, or Service Mesh 2 leftovers, users have their new URLs, and the final 3.5 state is recorded. Phase 10 of 10 · Clean up. This is the last phase.
Prerequisites
- Re-test passed, and the evidence archive is saved.
- The AI Pipelines post-upgrade check has run. It needed the PVC.
Procedure
10.1 Copy everything off the PVC
Deleting the PVC destroys everything under /tmp/rhoai-upgrade-backup: assessment reports, RayCluster CRs, TrustyAI metrics and data, the AI Pipelines snapshot, and Llama Stack archives.
Expected output: the directories created by the phases you ran (shape):
10.2 Remove the rhai-cli pod and PVC
Expected output:
Optionally delete the namespace too: oc delete project rhai-migration.
10.3 Remove the leftover Ray dashboard resources
raycluster.migrate left the CodeFlare ray-dashboard-<cluster> Routes and <cluster>-oauth-<hash> Services behind. They return HTTP 403 because the ServiceAccount they used is gone. Per cluster:
Expected output (the second command):
If a <cluster>-oauth-<hash> Service is still listed, delete it by name.
10.4 Remove any remaining 2.x serving leftovers
Expected output:
If anything is listed, remove it as in 5.9, then run oc delete namespace knative-serving. Never touch servicemeshoperator3.
Optionally, remove the harmless *.maistra.io CRDs. Unlike the *.istio.io ones removed in 8.2, they hold no CRs and don’t block the Gateway:
10.5 Tell users what changed
- New dashboard URL and new workbench URLs (Gateway API). Their 2.x URLs no longer resolve.
- Model endpoints: publish new URLs only for models you converted from Serverless or ModelMesh. Models that were already RawDeployment keep their Route and URL (9.2).
- Renamed dashboard navigation: AI hub → Models (catalog) and Settings → Model registry settings.
- Llama Stack is now OGX: owners recreate their servers as
OGXServer. - Runbooks: remove references to Serverless and ModelMesh, and note that
RawDeploymentnow shows asStandard.
10.6 Record the final state
Deployment type: GitOps-managed
Update Git first, then re-enable sync. If you re-enable first, the next sync reverts the migration. Your Git source must now describe the 3.x state, at least:
- the DSC with
codeflare,modelmeshserving, andkserve.servingRemoved(or dropped under v2),rayManaged, and KueueRemoved/Unmanaged; - the DSCI without
serviceMeshManaged; - the
rhods-operatorSubscription onstable-3.5; - no InferenceServices with Serverless or ModelMesh annotations, and no multi-model ServingRuntimes;
- no Service Mesh 2, Serverless, or standalone Authorino Subscriptions;
- the new cert-manager and JobSet operators (and RHCL, if used);
OGXServerin place ofLlamaStackDistribution.
Before re-enabling, preview what a sync would change:
Expected output: no diff, or only differences you intend:
Then restore syncPolicy.automated on each Application, from Git or by re-applying the Application manifest.
Deployment type: Not GitOps-managed
Save the 3.5 DSC for your runbook:
Expected output:
Verification
./rhoai-upgrade-backup-finalexists, and the PVC and StatefulSet are gone.- There are no
ray-dashboard-*/*-oauth-*leftovers and no 2.x serving operators, andservicemeshoperator3is untouched. - Users have been sent the new URLs.
- 10.6 is done for your deployment type.
- Close your proactive support case with a short summary and the evidence archive.
Rollback
Deleting leftovers is safe: they were inert. The only irreversible step is deleting the PVC, which is why 10.1 comes first. To restore a component backup later, use the copy in ./rhoai-upgrade-backup-final.
11 - Things that broke
Outcome: you match what you’re seeing to a known issue in one scan, and jump to its full write-up (symptom, diagnosis command, workaround, tracker) on the page where it happens.
Each known issue lives inline, on the page where you hit it. This page is only an index into them. Rows are in migration order. If a symptom matches more than one row, take the earliest phase first: later failures are often caused by a skipped earlier step.
Before the upgrade
| You see | Likely cause | Fix |
|---|---|---|
| A converted runtime or DSC component goes back to its old state minutes later | GitOps sync still in flight | Pre-flight |
| A loop runs once with the whole list as one item | Running under zsh, not bash | Pre-flight |
rhai-cli-0 never becomes Ready | PVC Pending, no default StorageClass | Assess |
migrate run says “completed with skipped steps”, exit 0, nothing changed | Confirmation prompt wasn’t answered y | Assess |
lint --output yaml prints LINT_BLOCKED, exit 1 | Expected while blockers remain | Assess |
Converted ISVC READY=False for minutes | RawDeployment reloading the model | Convert model serving |
storage type [pvc] is not supported, then OVMS model_config_list.json invalid, then 0/1 | PVC-backed OVMS not fully converted | Convert model serving |
| Working RawDeployment model loses its runtime after the sweep | multiModel still true on the flipped runtime | Convert model serving |
| ServingRuntime delete refused, “still in use” | A ModelMesh ISVC still references it | Convert model serving |
Serverless ISVC stuck in Terminating | Finalizer deadlock: Knative/Istio already removed | Convert model serving |
deploymentMode webhook error on a hand-recreated ISVC | Changing the mode of an existing object | Convert model serving |
raycluster.backup fails | CodeFlare still Managed | Remediate the platform |
TrustyAI backup permission denied | Missing --output-dir (read-only root) | Remediate the platform |
io: read/write on closed pipe, “Backed up 0 file(s)” | Empty PVC-backed TrustyAI service (harmless) | Remediate the platform |
| Knative teardown takes 10+ minutes | Normal drain, or a stuck controller | Remediate the platform |
oc delete smmr hangs | Service Mesh 2 operator already uninstalled | Remediate the platform |
| Hundreds of CSV deletes from an uninstall sweep | Deleting OLM copies instead of the source CSV | Remediate the platform |
oc tag import error for a custom image | Wrong URL or missing pull secret | Workbench images |
| Workbench pod keeps coming back after stop | Stop annotation not applied | Workbench images |
During the upgrade
| You see | Likely cause | Fix |
|---|---|---|
No InstallPlan; ResolutionFailed / ConstraintsNotSatisfiable | Stale OLM resolver | Upgrade |
Approval loop times out before Succeeded | A removed component left Managed | Upgrade |
no matches for kind "JobSetOperator" | Wrong API group | Upgrade |
DSC Not Ready, KueueReady=False (Unmanaged path) | JobSet operator not installed | Upgrade |
After the upgrade
| You see | Likely cause | Fix |
|---|---|---|
DSC Ready=False [AdminAckRequired] | Upgrade gates: pre-migration work skipped | Post-upgrade |
DSC ProvisioningFailed: modelregistry; Gateway Programmed=False; istiod-openshift-gateway 0/1; “Istio CRDs are managed by an unknown party” | Stale Service Mesh 2 *.istio.io CRDs | Post-upgrade |
| Dashboard Gateway URL doesn’t resolve on a managed cluster | NetworkPolicy rejected by an admission webhook | Post-upgrade |
workbenches.verify-migration reports Failed: N | Custom image still has oauth-proxy built in | Post-upgrade |
RayCluster ready but head pod still has oauth-proxy | KubeRay hasn’t adopted the new spec | Post-upgrade |
raycluster.migrate succeeds but nothing recreates pods; status stale | ray: Removed, so no KubeRay | Remediate the platform |
Guardrails /info shows UNKNOWN | Backend unreachable (check the baseline) | Post-upgrade |
GPU predictor stuck Pending next to TrustyAI | GPU deployment deadlock | Post-upgrade |
training.verify-workloads “please report a bug” | A running KFTO job (healthy) | Post-upgrade |
ISVC Ready but HTTP 503, “Application Not Available”, Outdated runtimes, leftover Knative or Authorino | See the model-serving matrix | Post-upgrade |
Model URL unchanged but auth still oauth-proxy | Expected: only workbenches move to kube-rbac-proxy | Re-test |
Every workbench probe HTTP 000 | Empty GATEWAY_HOST (wrong jsonpath) | Re-test |
| Workbench URL 404 | HTTPRoute not propagated yet, or Notebook not patched | Re-test |
| DSPA healthz 404 | Pipeline route path changed | Re-test |
| LLM 502/503 right after the upgrade | Predictor still rolling | Re-test |
| Old Ray dashboard routes return 403 | Leftover CodeFlare resources | Clean up |
Trackers referenced
- KB 7134025: converting ModelMesh and Serverless InferenceServices to RawDeployment (the manual fallback).
- KB 7137771: dashboard URL 404s after the upgrade (bookmark redirects).
- KB 7141146: OSSM 3.x fails to deploy on a disconnected cluster.
Most of the known issues on these pages say “None filed. Observed in a field run.” They came from real 2.25.10 → 3.5.1 runs and have no Jira or KCS id yet. When one gets a tracker, add its id to the inline write-up.