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
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.
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.