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 Removed: a KueueReady False Removed line is healthy.
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.
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.