Skip to content

This is the multi-page printable view of this section. .

Return to the regular view of this page.

Upgrade (3.4 → 3.5)

Platform upgrade steps and post-upgrade troubleshooting for moving a MaaS install from 3.4 to 3.5.

1 - Platform Upgrade (3.4 → 3.5)

Migrate your Models as a Service configuration after upgrading the Red Hat OpenShift AI operator from 3.4 to 3.5 — DSC fields, namespaces, ExternalModel API changes, and dashboard configuration.

This page walks through migrating your Models as a Service configuration after upgrading the Red Hat OpenShift AI operator from 3.4 to 3.5. The operator upgrade itself is handled by OLM (change the subscription channel from stable-3.4 to stable-3.x). This guide covers everything else: DSC fields, namespaces, ExternalModel API changes, and dashboard configuration.

Important

This guide is not a replacement for the official Red Hat OpenShift AI 3.5 Release Notes - Known Issues. Always check the release notes for the latest updates.

Prerequisites

  • Red Hat OpenShift AI 3.5+ operator is installed (OLM has completed the upgrade)
  • cluster-admin access
  • Models as a Service was previously working on 3.4

Verify the operator version before proceeding:

oc get csv -n redhat-ods-operator | grep rhods-operator

Expected output (version must be 3.5.x or higher):

NAME                     DISPLAY                 VERSION   REPLACES               PHASE
rhods-operator.3.5.0     Red Hat OpenShift AI    3.5.0     rhods-operator.3.4.3   Succeeded

If the version still shows 3.4.x, the OLM upgrade has not completed yet. Check the subscription channel and InstallPlan before proceeding.

What Changes

The 3.5 release restructures how Models as a Service is configured in the DataScienceCluster. Here are the key changes that require action:

Area3.43.5+
DSC MaaS fieldkserve.modelsAsServiceaigateway.modelsAsAService
DSC Playgroundllamastackoperatorogx
maas-api namespaceredhat-ods-applicationsredhat-ai-gateway-infra
ExternalModel APImaas.opendatahub.io/v1alpha1inference.opendatahub.io/v1alpha1 (ExternalProvider)
Dashboard configmaasAuthPolicies flag supportedmaasAuthPolicies rejected by admission webhook

For the full list of structural changes (status conditions, new CRDs, Tenant CR deprecation), see the What Changes table in the troubleshooting page.

Step 1: Back Up Current State

Before making any changes, back up your current configuration:

# Back up the DataScienceCluster
oc get dsc default-dsc -o yaml > dsc-backup.yaml

# Back up the dashboard config
oc get odhdashboardconfig odh-dashboard-config -n redhat-ods-applications -o yaml > dashboard-backup.yaml

# Back up ExternalModels if you have any
oc get externalmodel.maas.opendatahub.io -A -o yaml > externalmodels-backup.yaml 2>/dev/null || true

Step 2: Add aigateway Component to the DSC

The Models as a Service control plane moved from kserve.modelsAsService to its own top-level aigateway component in 3.5. Add it to the DSC:

oc patch datasciencecluster default-dsc --type=merge \
  -p '{"spec":{"components":{"aigateway":{"managementState":"Managed","modelsAsAService":{"managementState":"Managed"}}}}}'
Warning

Without aigateway set to Managed, regular (non-admin) users will not see the AI asset endpoints page (under Gen AI studio) in the Red Hat OpenShift AI Dashboard. Admin users may still see it, which makes this a silent failure that only affects your end users.

Verify the patch was applied:

oc get datasciencecluster default-dsc \
  -o jsonpath='{.spec.components.aigateway.modelsAsAService.managementState}'
# Expected: Managed

Step 3: Add ogx Component (AI Playground)

The llamastackoperator DSC component was renamed to ogx in 3.5. Add the new component and explicitly remove the old one in the same patch:

oc patch datasciencecluster default-dsc --type=merge \
  -p '{"spec":{"components":{"ogx":{"managementState":"Managed"},"llamastackoperator":{"managementState":"Removed"}}}}'
Important

Do not leave llamastackoperator as Managed (and do not just omit it - on some clusters the field already defaults to Managed). Reproduced and confirmed on a live 3.5.0 cluster: having both llamastackoperator: Managed and ogx: Managed at the same time causes the operator to reject the ogx module with "LlamaStackOperator is set to Managed; it has been deprecated, set it to Removed before enabling OGX". That error aborts the entire module-provisioning batch at runlevel 32 - which also includes aigateway and mlflowoperator. The practical symptom is not just a missing Playground tab: aigateway’s CRDs never get installed, maas-api never deploys, ModelsAsAServiceReady stays False, and applying MaaSModelRef fails with no matches for kind "MaaSModelRef" even though modelsAsAService shows Managed. See Issue 14 for the full diagnosis and fix if you already hit this.

Warning

On some RHOAI 3.5.0 installations, the OGX CRD may still not be available after removing llamastackoperator. If the DSC reports OGXReady: False with no matches for kind "OGX", set ogx back to Removed to unblock the DSC - this one genuinely only affects the AI Playground feature, not Models as a Service.

# Only if OGX is still blocking DSC Ready after removing llamastackoperator:
oc patch datasciencecluster default-dsc --type=merge \
  -p '{"spec":{"components":{"ogx":{"managementState":"Removed"}}}}'

Step 4: Handle the Frozen kserve.modelsAsService Field

The old kserve.modelsAsService field is frozen by CEL validation (self == oldSelf). You cannot change its value in-place. This is by design - it prevents accidental removal of a running Models as a Service configuration during the transition period.

You will see a policy 299 deprecation warning:

DataScienceCluster default-dsc violates policy 299 - "spec.components.kserve.modelsAsService is deprecated;
use spec.components.aigateway.modelsAsAService instead. Clear to Removed after migration (re-enabling is blocked).
The field remains respected at least through 3.6."

This warning is expected at this point. Both old and new paths coexist through 3.6, so Models as a Service continues to work while both are present.

After you have confirmed that aigateway.modelsAsAService is working (Step 11), you can silence the warning by setting the old field to Removed:

oc patch datasciencecluster default-dsc --type=json \
  -p '[{"op":"replace","path":"/spec/components/kserve/modelsAsService/managementState","value":"Removed"}]'
Important

On fresh Red Hat OpenShift AI 3.5+ installs, do NOT add kserve.modelsAsService to the DSC. The CEL validation will reject any attempt to re-enable it after it has been set to Removed.

Step 5: Wait for DSC Ready

Wait for the DataScienceCluster to finish reconciling after the patches:

oc wait datasciencecluster default-dsc --for=condition=Ready --timeout=600s

If the DSC does not become Ready within the timeout, check which component is blocking:

oc get datasciencecluster default-dsc -o jsonpath='{range .status.conditions[*]}{.type}: {.status} ({.reason}) {.message}{"\n"}{end}'
Tip

The MCP Lifecycle Operator (new in 3.5) is a common blocker - it can OOMKill on clusters with many secrets. See Issue 1: MCP Lifecycle Operator OOMKill for the workaround.

Step 6: Verify Namespace and Secrets

In 3.5, maas-api moves to the redhat-ai-gateway-infra namespace. The controller should auto-create this namespace and copy the maas-db-config secret.

Verify the namespace exists:

oc get namespace redhat-ai-gateway-infra

Verify the maas-db-config secret was copied to the new namespace:

oc get secret maas-db-config -n redhat-ai-gateway-infra

If the secret is missing, copy it manually:

oc get secret maas-db-config -n redhat-ods-applications -o json | \
  jq 'del(.metadata.resourceVersion, .metadata.uid, .metadata.creationTimestamp, .metadata.ownerReferences) | .metadata.namespace = "redhat-ai-gateway-infra"' | \
  oc apply -f -

Verify maas-api is running in the new namespace:

oc rollout status deployment/maas-api -n redhat-ai-gateway-infra --timeout=120s

Step 7: Label Namespace for Gateway Access

If the MaaS gateway is configured with label-based namespace selection (the secure configuration), the new namespace needs the matching label. Without it, the gateway rejects HTTPRoutes from redhat-ai-gateway-infra and the Dashboard shows “Error loading components”.

oc label namespace redhat-ai-gateway-infra maas.opendatahub.io/gateway-access=true --overwrite

Verify the HTTPRoutes are accepted:

oc get httproute -n redhat-ai-gateway-infra -o wide

If HTTPRoutes show NotAccepted, see Issue 3: MaaS Gateway Namespace Label for diagnosis steps.

Step 8: Migrate LLMInferenceServices to Body-Based Routing (BBR)

In 3.5, the MaaS gateway enables body-based routing (BBR) by default: clients call /v1/chat/completions with the model in the request body instead of the path-based /llm/{model-namespace}/{model-name} URL. However, this only applies to new LLMInferenceServices. LLMInferenceServices that existed before the upgrade are not automatically re-rendered against the new serving presets - the operator pins the preset on each LLMInferenceService via the serving.kserve.io/config-llm-template status annotation, so existing instances deliberately keep their old configuration to avoid spurious rollouts. Upgraded models keep serving the old path-based endpoint, and BBR requests against them fail. If you expect to take advantage of the new feature, you must trigger the update from the pinned presets.

List all LLMInferenceServices; every one that existed before the upgrade is affected:

oc get llminferenceservice -A

Migrate each LLMInferenceService using one of the following paths.

Path A: Delete and let the operator re-reconcile

Delete the LLMInferenceService and re-create it from your manifest or GitOps repository. The operator re-renders it against the latest presets, including the new BBR HTTPRoute and all other policy changes:

oc delete llminferenceservice <name> -n <namespace>
# Re-create it from your manifest or GitOps repository
oc apply -f <llminferenceservice>.yaml -n <namespace>
Warning

Deleting the LLMInferenceService guarantees downtime: the model is unavailable until the operator recreates the service and the replacement pod is Ready.

Path B: Remove the pinned status annotation

Remove the pinned preset annotation from the status subresource to trigger a reconcile against the latest presets without recreating the custom resource:

oc patch llminferenceservice <name> -n <namespace> --subresource=status --type=json \
  -p '[{"op":"remove","path":"/status/annotations/serving.kserve.io~1config-llm-template"}]'
Warning

This path might still come with downtime: if the latest presets change more than the HTTPRoute and gateway policy objects, the underlying deployments roll. Whether users observe downtime depends on your ability to perform a rolling update - you need enough spare cluster capacity to run the old and new pods side by side.

Note

The status patch is an out-of-band change that GitOps does not track, so the resource drifts until the next sync. If you manage LLMInferenceServices with OpenShift GitOps or a similar tool, Path A fits your workflow more naturally.

Verify BBR works against each migrated model:

MAAS_HOST=$(oc get gateway maas-default-gateway -n openshift-ingress \
  -o jsonpath='{.spec.listeners[?(@.name=="https")].hostname}')
API_KEY=$(oc whoami -t)

# Get the model ID (canonical form for body-based routing)
MODEL_ID=$(curl -sk "https://${MAAS_HOST}/v1/models" \
  -H "Authorization: Bearer ${API_KEY}" | jq -r '.data[0].id')

# Send a chat completion request (body-based routing)
curl -sk "https://${MAAS_HOST}/v1/chat/completions" \
  -H "Authorization: Bearer ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d "{
    \"model\": \"${MODEL_ID}\",
    \"messages\": [{\"role\": \"user\", \"content\": \"Hello!\"}]
  }"

Step 9: Migrate ExternalModels (if applicable)

If you have ExternalModel resources (third-party LLM APIs like OpenAI, Bedrock, Gemini), they need manual migration. The old ExternalModel CRD under maas.opendatahub.io/v1alpha1 is not auto-migrated to the new ExternalProvider CRD under inference.opendatahub.io/v1alpha1.

Check for existing ExternalModels:

# Old API group (3.4)
oc get externalmodel.maas.opendatahub.io -A

# New API group (3.5)
oc get externalprovider.inference.opendatahub.io -A

If you have old ExternalModels, recreate each one under the new API. Example for an OpenAI provider:

# 1. Create the new ExternalProvider
cat <<EOF | oc apply -f -
apiVersion: inference.opendatahub.io/v1alpha1
kind: ExternalProvider
metadata:
  name: openai
  namespace: <model-namespace>
spec:
  endpoint: "api.openai.com"
  provider: "openai"
  auth:
    type: apikey
    secretRef:
      name: openai-api-key
EOF

# 2. Delete the old ExternalModel (after verifying the new one is Ready)
oc get externalprovider openai -n <model-namespace>
oc delete externalmodel.maas.opendatahub.io openai -n <model-namespace>
Warning

The 3.5 ExternalProvider CRD has a stricter validation regex on spec.auth.secretRef.name that does not allow dots. If your secret names contain dots (e.g. glm5.1-w8a8-key), you must rename them first. See Issue 2: ExternalModel Migration - Secret Names with Dots for details.

Step 10: Update OdhDashboardConfig

The maasAuthPolicies flag was removed from the OdhDashboardConfig CRD in 3.5. The admission webhook rejects any manifest that includes it.

Check if your dashboard config has the flag:

oc get odhdashboardconfig odh-dashboard-config -n redhat-ods-applications \
  -o jsonpath='{.spec.dashboardConfig.maasAuthPolicies}'

If it returns a value, remove it:

oc patch odhdashboardconfig odh-dashboard-config -n redhat-ods-applications --type=json \
  -p '[{"op":"remove","path":"/spec/dashboardConfig/maasAuthPolicies"}]'

Step 11: Verification Checklist

Run through these checks to confirm the migration is complete:

CheckCommand
DSC is Readyoc get dsc default-dsc -o jsonpath='{.status.conditions[?(@.type=="Ready")].status}'
Expected: True
maas-api in new namespaceoc get pods -n redhat-ai-gateway-infra | grep maas-api
Expected: Running
MaaS Config CR existsoc get configs.maas.opendatahub.io default
Expected: resource found
ModelsAsAServiceReadyoc get dsc default-dsc -o jsonpath='{.status.conditions[?(@.type=="ModelsAsAServiceReady")].status}'
Expected: True
Health endpointCLUSTER_DOMAIN=$(oc get ingresses.config.openshift.io cluster -o jsonpath='{.spec.domain}')
curl -sk "https://maas.${CLUSTER_DOMAIN}/maas-api/health"
Expected: {"status":"healthy"}
BBR works against pre-3.5 models/v1/chat/completions request per the Step 8 verification
Expected: JSON completion response
Regular user sees AI asset endpointsLog into the Red Hat OpenShift AI Dashboard as a non-admin user and verify the AI asset endpoints page is visible under Gen AI studio
No policy 299 warning (after Step 4 cleanup)oc get dsc default-dsc -o jsonpath='{.spec.components.kserve.modelsAsService.managementState}'
Expected: Removed (or empty if the field was deleted)

Troubleshooting

If you hit issues during migration, see the Post-Upgrade Troubleshooting page. Here is a quick mapping from migration symptoms to known issues:

Symptom During MigrationSee
DSC stuck not-ready after patchingIssue 1 (MCP Lifecycle Operator OOM)
Dashboard shows “Error loading components”Issue 3 (namespace label) or Issue 4 (hostname discovery)
maas-api returns 500 on /v1/tenantsIssue 4 (gateway hostname discovery)
ExternalProvider creation fails on secret nameIssue 2 (dotted secret names)
HTTPRoutes show NotAcceptedIssue 3 (namespace label)
HTTP 500/503 under load after migrationIssue 7 (WASM auth timeout)
HTTP 429 Too Many RequestsIssue 9 (token rate limit default)

References

2 - Post-Upgrade Troubleshooting (3.4 → 3.5)

Known issues and workarounds for customers who upgraded Red Hat OpenShift AI from 3.4 to 3.5 with Models as a Service enabled.

This page covers known issues and workarounds for customers who upgraded Red Hat OpenShift AI from 3.4 to 3.5 with Models as a Service enabled. All issues listed here have been reproduced and validated on test clusters.

Important

This guide is not a replacement for the official Red Hat OpenShift AI 3.5 Release Notes - Known Issues. Always check the release notes for the latest updates.

Tip

For step-by-step migration instructions, see Platform Upgrade (3.4 -> 3.5). This page covers troubleshooting for issues that occur during or after the migration.

What Changes in the 3.4 -> 3.5 Upgrade

The 3.5 release introduces several structural changes to the Models as a Service platform:

AreaChange
DSC fieldkserve.modelsAsService is frozen (CEL: self == oldSelf). New path is aigateway.modelsAsAService. Both coexist through 3.6.
maas-api namespaceMoves from redhat-ods-applications to redhat-ai-gateway-infra. The controller auto-copies the maas-db-config secret with FQDN conversion.
DSC status conditionModelsAsServiceReady (3.4) becomes ModelsAsAServiceReady (3.5). The old condition is removed after upgrade.
New componentMCP Lifecycle Operator is added to the DSC. It watches all ConfigMaps and Secrets cluster-wide.
New CRDsaitenants.maas.opendatahub.io, configs.maas.opendatahub.io, maastenantconfigs.maas.opendatahub.io.
ExternalModel APIMoves from maas.opendatahub.io/v1alpha1 to inference.opendatahub.io/v1alpha1 as ExternalProvider. Old resources are not auto-migrated.
OdhDashboardConfigThe maasAuthPolicies flag is removed. The 3.5 webhook rejects it if present.
Tenant CRTenant is deprecated. Replaced by MaasTenantConfig. Legacy values are preserved during AITenant bootstrap.
DSC component renamellamastackoperator is renamed to ogx. If upgrading from 3.4, update the DSC spec or the Playground section will not appear.

Issue 1: MCP Lifecycle Operator OOMKill

Jira: RHOAIENG-82694

The MCP Lifecycle Operator is new in 3.5. It watches all ConfigMaps and Secrets cluster-wide using full structured informers, loading complete object data into the operator’s in-memory cache. On clusters with many namespaces and secrets, memory consumption grows proportionally and exceeds the default limit, causing the operator pod to enter CrashLoopBackOff with OOMKilled.

This blocks the DataScienceCluster from reaching Ready state, which breaks all downstream features: Model Catalog, Models as a Service, API Keys.

Symptoms

  • DSC status: "Some modules are not ready: mcplifecycleoperator"
  • mcp-lifecycle-operator-controller-manager pod in CrashLoopBackOff
  • All Models as a Service dashboard pages show errors

Diagnosis

# Check DSC status
oc get datasciencecluster default-dsc -o jsonpath='{.status.conditions[?(@.type=="Ready")]}'

# Check MCP lifecycle operator pod
oc get pods -n redhat-ods-applications | grep mcp-lifecycle

# Check for OOMKilled events (get the pod name from the previous command)
oc describe pod -n redhat-ods-applications \
  $(oc get pods -n redhat-ods-applications -o name | grep mcp-lifecycle) | grep -A5 "Last State"

Workaround

Set the MCP Lifecycle Operator management state to Removed in the DSC:

oc patch datasciencecluster default-dsc --type=merge \
  -p '{"spec":{"components":{"mcplifecycleoperator":{"managementState":"Removed"}}}}'

Wait for the DSC to reconcile:

oc wait datasciencecluster default-dsc --for=condition=Ready --timeout=300s
Note

Setting the MCP Lifecycle Operator to Removed disables the Model Context Protocol server management feature. If you need MCP server support, contact Red Hat support for guidance on increasing the operator’s memory limits.

Issue 2: ExternalModel Migration - Secret Names with Dots

Jira: RHOAIENG-89784

In 3.5, the ExternalModel API moved from maas.opendatahub.io/v1alpha1 to inference.opendatahub.io/v1alpha1 as ExternalProvider. The new CRD introduces a stricter validation regex on spec.auth.secretRef.name:

^[a-z0-9]([a-z0-9\-]*[a-z0-9])?$

Dots in secret names (which are valid Kubernetes names) now fail this validation. If you have an ExternalModel referencing a secret like glm5.1-w8a8-key, the migration to ExternalProvider will fail silently.

Additionally, old ExternalModel resources under maas.opendatahub.io are not auto-migrated to the new inference.opendatahub.io ExternalProvider CRD. You need to recreate them manually.

Symptoms

  • ExternalModel resource exists under maas.opendatahub.io but has no status
  • No corresponding ExternalProvider exists under inference.opendatahub.io
  • External models do not appear in the dashboard

Diagnosis

# Check old ExternalModels (3.4 API group)
oc get externalmodel.maas.opendatahub.io -A

# Check new ExternalProviders (3.5 API group)
oc get externalprovider.inference.opendatahub.io -A

# Look for secrets with dots in the name (exclude Helm and service-account tokens)
oc get secrets -A -o custom-columns='NS:.metadata.namespace,NAME:.metadata.name' --no-headers \
  | awk '$2 ~ /\./ && $2 !~ /^sh\.helm/ && $2 !~ /dockercfg/ {print}'

Workaround

For each ExternalModel with a dotted secret name:

# 1. Create a replacement secret without dots
oc create secret generic glm51-w8a8-key -n <model-ns> \
  --from-literal=api-key=<same-api-key-value>

# 2. Delete the old secret
oc delete secret glm5.1-w8a8-key -n <model-ns>

# 3. Create the new ExternalProvider (inference.opendatahub.io)
cat <<EOF | oc apply -f -
apiVersion: inference.opendatahub.io/v1alpha1
kind: ExternalProvider
metadata:
  name: glm51-w8a8
  namespace: <model-ns>
spec:
  endpoint: "your-provider-endpoint.com"
  provider: "openai"  # or anthropic, azure-openai, bedrock-openai
  auth:
    type: apikey
    secretRef:
      name: glm51-w8a8-key
EOF

# 4. Delete the old ExternalModel
oc delete externalmodel.maas.opendatahub.io <name> -n <model-ns>

# 5. Verify the new ExternalProvider is Ready
oc get externalprovider -n <model-ns>

For ExternalModels without dots in the secret name, the same manual recreation is still needed - just skip the secret rename step.

Issue 3: MaaS Gateway Namespace Label

Jira: RHOAIENG-83207

When the Models as a Service gateway is configured with label-based namespace selection (the secure configuration), the namespaces that host HTTPRoutes need to carry the matching label. The exact label depends on your gateway configuration - the setup-maas guide uses maas.opendatahub.io/gateway-access=true, while the release notes reference maas-gateway-access=true. Without the correct label, the gateway rejects the internal HTTPRoute that serves the Models as a Service API, and the dashboard shows “Error loading components”.

This only applies when the gateway uses allowedRoutes.namespaces.from: Selector. If your gateway uses from: All (the default insecure configuration), this issue does not affect you. After upgrading to 3.5, if the gateway was reconfigured to use label-based selection (per RHOAIENG-80360 security hardening), the missing label will break Models as a Service.

Symptoms

  • API Keys page shows “Error loading components”
  • Model Catalog page shows “Models as a Service could not be loaded”
  • HTTPRoutes in redhat-ods-applications show NotAccepted status

Diagnosis

# First, check what label your gateway expects
oc get gateway maas-default-gateway -n openshift-ingress \
  -o jsonpath='{.spec.listeners[0].allowedRoutes.namespaces}'

# Then check if the required label exists on the namespaces
oc get namespace redhat-ods-applications --show-labels | grep -i maas
oc get namespace redhat-ai-gateway-infra --show-labels | grep -i maas

# Check HTTPRoute status
oc get httproute -n redhat-ods-applications -o wide
oc get httproute -n redhat-ai-gateway-infra -o wide

Workaround

Apply the label that your gateway selector expects. Check the matchLabels from the diagnosis step above, then apply it:

# If your gateway uses maas.opendatahub.io/gateway-access (setup-maas guide default):
oc label namespace redhat-ods-applications maas.opendatahub.io/gateway-access=true
oc label namespace redhat-ai-gateway-infra maas.opendatahub.io/gateway-access=true

# If your gateway uses maas-gateway-access (release notes workaround):
# oc label namespace redhat-ods-applications maas-gateway-access=true
# oc label namespace redhat-ai-gateway-infra maas-gateway-access=true

Wait a few seconds for the HTTPRoute to be accepted, then reload the dashboard.

Issue 4: Gateway Hostname Discovery (ClusterIP + Route Topology)

Jira: RHOAIENG-89775

When the Models as a Service gateway is deployed without a cloud load balancer (common on on-premise, bare-metal, or any cluster using ClusterIP + Route topology), the maas-api /v1/tenants endpoint returns HTTP 500 with "Failed to resolve gateway". This happens because:

  1. extractGatewayMetadata() in maas-api first tries spec.listeners[].hostname on the Gateway - but only for listeners with attachedRoutes > 0. If the hostname is not set in the spec, or routes are not yet attached after upgrade, this returns empty.
  2. It then falls back to status.addresses - which is either empty (no LoadBalancer) or contains the internal .svc.cluster.local address.
  3. There is no fallback to discover the OpenShift Route hostname.

This breaks the Models as a Service dashboard because maas-ui calls /v1/tenants at startup to auto-detect the gateway hostname (new in 3.5). In 3.4 the hostname was hardcoded, so this code path was never exercised.

Symptoms

  • Dashboard shows “Error loading API keys” or “Error loading components”
  • maas-api logs show: Failed to extract gateway metadata - could not determine external hostname from gateway
  • Gateway condition shows Programmed: False with reason AddressNotAssigned

Diagnosis

# Check if spec.listeners have an explicit hostname
oc get gateway maas-default-gateway -n openshift-ingress \
  -o jsonpath='{.spec.listeners[*].hostname}'

# Check what address the gateway reports
oc get gateway maas-default-gateway -n openshift-ingress \
  -o jsonpath='{.status.addresses[*]}'

# Check attachedRoutes count (must be > 0 for hostname discovery to work)
oc get gateway maas-default-gateway -n openshift-ingress \
  -o jsonpath='{range .status.listeners[*]}{.name}: attachedRoutes={.attachedRoutes}{"\n"}{end}'

# Check maas-api logs for the error
oc logs deploy/maas-api -n redhat-ai-gateway-infra | grep -i "hostname\|external\|gateway metadata"

If spec.listeners[].hostname is empty and status.addresses is empty or shows a .svc.cluster.local address, this issue is confirmed.

Workaround

Set the hostname explicitly on the Gateway listeners. This workaround is confirmed for passthrough routes. For re-encrypt routes, additional adjustments may be needed - check the Jira ticket comments for the latest guidance.

Note

The Models as a Service team recommends re-encrypt routes over passthrough when using cluster wildcard default domain certs, to avoid HTTP coalescing issues.

Replace <cluster-domain> with your cluster’s apps domain:

CLUSTER_DOMAIN=$(oc get ingress.config.openshift.io cluster -o jsonpath='{.spec.domain}')

oc patch gateway maas-default-gateway -n openshift-ingress --type=json \
  -p "[
    {\"op\": \"add\", \"path\": \"/spec/listeners/0/hostname\", \"value\": \"maas.${CLUSTER_DOMAIN}\"},
    {\"op\": \"add\", \"path\": \"/spec/listeners/1/hostname\", \"value\": \"maas.${CLUSTER_DOMAIN}\"}
  ]"

# Restart maas-api to pick up the new hostname
oc rollout restart deploy/maas-api -n redhat-ai-gateway-infra
oc rollout status deploy/maas-api -n redhat-ai-gateway-infra --timeout=60s

After the restart, verify the fix:

TOKEN=$(oc whoami -t)
MAAS_URL="https://maas.${CLUSTER_DOMAIN}"
curl -sk -w "\nHTTP: %{http_code}\n" \
  -H "Authorization: Bearer ${TOKEN}" \
  "${MAAS_URL}/maas-api/v1/tenants"

You should see HTTP 200 with the correct externalUrl in the response.

Issue 5: Payload-Processing OOMKill

Jira: RHOAIENG-88898
Target fix: RHOAI 3.5.1

The payload-processing pods in openshift-ingress have a hardcoded memory limit of 256Mi. Under load or with large payloads, they get OOMKilled. Manual oc set resources patches are reverted within seconds by the maas-controller SSA reconciliation loop.

Symptoms

  • payload-processing pod in CrashLoopBackOff with OOMKilled
  • Inference requests fail intermittently
  • Manual resource patches are reverted

Diagnosis

# Check current limits
oc get deployment payload-processing -n openshift-ingress \
  -o jsonpath='{.spec.template.spec.containers[0].resources}'

# Check for OOMKilled restarts
oc describe pod -n openshift-ingress -l app=payload-processing | grep -A3 "Last State"

Workaround

First, annotate the deployment to prevent the controller from reverting your changes, then increase the memory limit:

# Prevent SSA reconciliation
oc annotate deployment payload-processing -n openshift-ingress \
  opendatahub.io/managed=false

# Increase memory limit
oc set resources deployment payload-processing -n openshift-ingress \
  --limits=memory=1Gi --requests=memory=256Mi

Wait for the rollout to complete:

oc rollout status deployment payload-processing -n openshift-ingress --timeout=60s
Important

Remove the opendatahub.io/managed=false annotation before any future Red Hat OpenShift AI upgrades so the controller can manage the deployment again.

Issue 6: RHCL 1.4.x Rate Limiting and Gateway OOM

Jira: RHOAIENG-76586

Red Hat Connectivity Link (RHCL) 1.4.x changed how the WASM plugin is injected into the gateway. This breaks rate limiting silently - counters that use auth.identity.user.username fail because the identity data is not passed into the WASM plugin context. Additionally, the RHCL 1.4 WASM plugin requires more memory to compile, which can cause gateway pods to OOMKill at the default 1Gi limit.

Symptoms

  • Rate limiting stops working - requests are never throttled even when limits are exceeded
  • Gateway pod OOMKilled at 1Gi memory limit (RHCL 1.4 WASM requires more memory)
  • TokenRateLimitPolicy shows Enforced but limits have no effect

Diagnosis

# Check RHCL version
oc get csv -A | grep rhcl-operator | head -1

# Check gateway memory limits (deployment name = <gateway-name>-<gatewayclass-name>)
GATEWAY_DEPLOY=$(oc get deployments -n openshift-ingress -o name \
  | grep maas-default-gateway | head -1)
oc get "${GATEWAY_DEPLOY}" -n openshift-ingress \
  -o jsonpath='{.spec.template.spec.containers[0].resources.limits.memory}'

Workaround

Note

Downgrading RHCL is probably not the way out of this. 1.3.x does not appear in the configurations matrix for Red Hat OpenShift AI 3.4 and 3.5 (see Version Notes), so the workarounds below are the better starting point.

If you are on RHCL 1.4.x, apply both workarounds from the release notes:

1. Disconnect the Gateway from operator management and increase memory to 2Gi:

GATEWAY_NAME="maas-default-gateway"

# Prevent operator from reverting gateway changes
oc annotate gateway ${GATEWAY_NAME} -n openshift-ingress \
  opendatahub.io/managed=false

oc apply -f - <<EOF
apiVersion: v1
kind: ConfigMap
metadata:
  name: ${GATEWAY_NAME}-proxy-config
  namespace: openshift-ingress
data:
  deployment: |
    spec:
      template:
        spec:
          containers:
            - name: istio-proxy
              resources:
                limits:
                    memory: 2Gi
EOF

oc patch gateway ${GATEWAY_NAME} -n openshift-ingress --type=merge \
  -p "{\"spec\":{\"infrastructure\":{\"parametersRef\":{\"group\":\"\",\"kind\":\"ConfigMap\",\"name\":\"${GATEWAY_NAME}-proxy-config\"}}}}"

2. Add identity filter to AuthPolicy:

Add a response.success.filters.identity section to your AuthPolicy so that Authorino writes the user identity into the WASM plugin context. Without this, rate limit counters that use auth.identity.user.username fail silently. See the full AuthPolicy patch in the release notes.

Important

Remove the opendatahub.io/managed=false annotation from the Gateway before any future Red Hat OpenShift AI upgrades so the controller can manage it again.

Issue 7: WASM Auth Timeout Under Load

Jira: RHOAIENG-71638

RHCL configures the Kuadrant WASM plugin with a default 200ms Authorino authentication service timeout. Under high concurrent request load, Authorino authentication latency can exceed this threshold due to cache misses. The WASM plugin uses failureMode: deny, so timed-out authentication requests result in HTTP 500 or 503 responses even when model backends are healthy.

This affects both Red Hat OpenShift AI 3.4 and 3.5.

Symptoms

  • HTTP 500 or 503 on inference requests under concurrent load
  • Model pods are healthy with no errors in their logs
  • Gateway Envoy logs show WASM auth timeout errors

Diagnosis

# Check for 500/503 errors in gateway logs
oc logs -n openshift-ingress -l gateway.istio.io/managed=istio.io-gateway-controller \
  -c istio-proxy --tail=100 | grep -E "50[03]"

# Check current AUTH_SERVICE_TIMEOUT
oc get subscription -n openshift-operators rhcl-operator \
  -o yaml | grep -A5 AUTH_SERVICE_TIMEOUT

Workaround

Set AUTH_SERVICE_TIMEOUT to 10s on the RHCL operator Subscription:

RHCL_NAMESPACE=openshift-operators
RHCL_SUBSCRIPTION=rhcl-operator

oc patch subscription "${RHCL_SUBSCRIPTION}" -n "${RHCL_NAMESPACE}" \
  --type=merge \
  -p '{"spec":{"config":{"env":[{"name":"AUTH_SERVICE_TIMEOUT","value":"10s"}]}}}'
Warning

The merge patch replaces the entire spec.config.env array. If your subscription already has other env vars, edit the subscription manually (oc edit subscription) and add the entry to the existing list instead.

Wait for the operator to roll out:

oc wait --for=jsonpath='{.status.state}'=AtLatestKnown \
  subscription/${RHCL_SUBSCRIPTION} -n ${RHCL_NAMESPACE} --timeout=300s
oc wait --for=condition=Available --timeout=120s \
  deployment/kuadrant-operator-controller-manager -n ${RHCL_NAMESPACE}

Issue 8: Envoy ext_proc Body Corruption

Jira: OSSM-15498
Priority: Blocker
Status: In progress

When two or more ext_proc filters are chained on the same Envoy listener, body data can be corrupted or truncated. The upstream fix landed in Envoy 1.37.1+, but has not been backported to the 1.36.x or 1.35.x branches used by OSSM 3.x.

The AI Gateway data plane requires chained ext_proc stages (pre-processing + main processing via Praxis). Until this is fixed, model-level subscription enforcement through the data plane may be bypassed.

Diagnosis

# Check Envoy version
GATEWAY_POD=$(oc get pods -n openshift-ingress \
  -l gateway.istio.io/managed=istio.io-gateway-controller \
  -o jsonpath='{.items[0].metadata.name}' 2>/dev/null)
oc exec "$GATEWAY_POD" -n openshift-ingress -c istio-proxy -- envoy --version

If the version is below 1.37.1, the fix is not available.

Status

No workaround exists. This is being tracked as a blocker for RHOAI 3.5 Z-stream and 3.6 GA. The fix depends on an OSSM update that includes the upstream Envoy patch.

Issue 9: Token Rate Limiting (429 Too Many Requests)

Jira: RHOAIENG-89785

The default tokenRateLimits in a MaaSSubscription is 1000 tokens per hour. This is easily exhausted with even a single chat conversation. When the limit is hit, all subsequent requests return HTTP 429 Too Many Requests - even though the model backend is healthy and has capacity.

The 429s come from Kuadrant’s TokenRateLimitPolicy, not from the model itself. Every 429 response has a tiny 18-byte body and 15-30ms latency - far too fast to be an actual LLM response.

This affects both Red Hat OpenShift AI 3.4 and 3.5.

Symptoms

  • Playground shows [server_error] Too Many Requests
  • Gateway access logs show HTTP 429 on /v1/chat/completions
  • Model pod is healthy with no errors in its logs

Diagnosis

# Check the current token rate limit
oc get maassubscription -A -o yaml | grep -A5 tokenRateLimits

# Check the generated TokenRateLimitPolicy
oc get tokenratelimitpolicy -A -o yaml | grep -A5 "limit:"

# Confirm 429s in gateway logs
oc logs -n openshift-ingress -l gateway.istio.io/managed=istio.io-gateway-controller \
  -c istio-proxy --tail=100 | grep "429"

Workaround

Increase the token limit in your MaaSSubscription. Edit the subscription directly:

# List subscriptions
oc get maassubscription -A

# Edit the subscription and increase tokenRateLimits[].limit
oc edit maassubscription <name> -n <namespace>

Change the tokenRateLimits section:

spec:
  modelRefs:
  - name: <model-name>
    namespace: <model-ns>
    tokenRateLimits:
    - limit: 100000   # was 1000
      window: 1h

Wait for the TokenRateLimitPolicy to reconcile:

oc get tokenratelimitpolicy -A -o yaml | grep -A5 "limit:"
Note

Do not edit the TokenRateLimitPolicy directly - the maas-controller will overwrite it. Always edit the MaaSSubscription source.

Issue 10: Duplicate AI Playground Endpoints (LlamaStackDistribution)

Jira: RHOAIENG-89786

After upgrading to 3.5 and enabling the ogx component in the DSC, the AI Playground may show two provider endpoints for the same model. The MaaS-routed endpoint (maas-vllm-inference-1/publishers/...) works, but the default endpoint (vllm-inference-2/...) talks directly to the KServe pod and bypasses MaaS auth - failing with connection errors or model-not-found errors depending on timing.

The root cause is a leftover LlamaStackDistribution CR in the model namespace. Deleting it removes the duplicate provider.

Symptoms

  • Playground shows two AI asset endpoints for the same model
  • One endpoint works (MaaS), the other fails with “Server error” or “model does not exist”
  • Intermittent failures when Playground picks the wrong provider

Diagnosis

# Check for LlamaStackDistribution in model namespaces
oc get llamastackdistribution -A

# Check providers visible to the playground
oc logs -n <model-ns> -l app=lsd-genai-playground --tail=50 | grep provider

Workaround

Delete the LlamaStackDistribution from the model namespace:

oc delete llamastackdistribution -n <model-ns> --all

Then recreate the playground to pick up only the MaaS provider:

# Delete the old playground pod
oc delete pod -n <model-ns> -l app=lsd-genai-playground

# Or recreate the playground from the dashboard:
# Add to playground -> select only the model with publishers/ prefix -> Create

Issue 11: OTEL Collector Proxy Interception (Observability Metrics Showing 0)

Jira: RHOAIENG-91640

On clusters behind a corporate HTTP proxy, the RHOAI observability pipeline breaks silently after upgrade. The OTEL collector pods (data-science-collector-collector-*) and TargetAllocator (data-science-collector-targetallocator) in redhat-ods-monitoring inherit the cluster-wide HTTP_PROXY/HTTPS_PROXY env vars. When the collector tries to reach the TargetAllocator to discover scrape targets, the request goes through the proxy. The proxy returns an HTML page (authentication or redirect), which the collector fails to parse as JSON. With no scrape targets, no metrics reach the RHOAI Prometheus instance, and the MaaS usage dashboard shows 0 for all metrics.

The collector config uses a short hostname to reach the TargetAllocator (http://data-science-collector-targetallocator:80). This short hostname has no dots and no .svc suffix, so it does not match the NO_PROXY entries (.svc, .cluster.local). Go’s net/http proxy resolution checks the original hostname against NO_PROXY before DNS resolution, so the request gets routed through the corporate proxy.

This does not affect clusters without an HTTP proxy.

Symptoms

  • MaaS usage dashboard shows 0 for all token metrics
  • OTEL collector logs: "Failed to retrieve the job list" with "unexpected key name <!DOCTYPE html..."
  • RHOAI Thanos Querier returns “Empty query result” for all metrics (including authorized_calls_total, vllm:num_requests_running)
  • Limitador metrics are correct when queried directly inside the pod

Diagnosis

# Check if the cluster uses a proxy
oc get proxy/cluster -o jsonpath='{.spec.httpProxy}'

# Check OTEL collector logs for HTML parse errors
oc logs -n redhat-ods-monitoring data-science-collector-collector-0 \
  | grep -i "Failed to retrieve"

# Check if TargetAllocator has proxy env vars
oc get deploy data-science-collector-targetallocator -n redhat-ods-monitoring \
  -o jsonpath='{.spec.template.spec.containers[0].env[*].name}' | tr ' ' '\n' | grep -i proxy

# Verify TargetAllocator returns JSON (not HTML) when accessed directly
oc exec -n redhat-ods-monitoring data-science-collector-collector-0 -- \
  curl -s http://data-science-collector-targetallocator:8080/jobs | head -1

If the last command returns HTML (<!DOCTYPE html...) instead of JSON, this issue is confirmed.

Workaround

Patch the OpenTelemetryCollector CR to override the proxy env vars to empty on both the collector and TargetAllocator:

oc patch opentelemetrycollector data-science-collector -n redhat-ods-monitoring --type=merge -p '{
  "spec": {
    "env": [
      {"name": "HTTP_PROXY", "value": ""},
      {"name": "HTTPS_PROXY", "value": ""},
      {"name": "http_proxy", "value": ""},
      {"name": "https_proxy", "value": ""}
    ],
    "targetAllocator": {
      "env": [
        {"name": "HTTP_PROXY", "value": ""},
        {"name": "HTTPS_PROXY", "value": ""},
        {"name": "http_proxy", "value": ""},
        {"name": "https_proxy", "value": ""}
      ]
    }
  }
}'

Wait for the pods to restart:

oc rollout status deployment/data-science-collector-targetallocator -n redhat-ods-monitoring --timeout=60s
oc rollout status statefulset/data-science-collector-collector -n redhat-ods-monitoring --timeout=120s

Verify the collector discovers scrape jobs:

oc logs -n redhat-ods-monitoring data-science-collector-collector-0 --tail=20 | grep "Scrape job added"

You should see scrape jobs listed (e.g., serviceMonitor/redhat-ods-monitoring/limitador-metrics/0).

Important

Do NOT use oc set env statefulset/... or oc set env deployment/... directly. The OTel operator reconciles the StatefulSet and Deployment from the CR spec, so manual env changes get reverted immediately. You must patch the OpenTelemetryCollector CR itself.

Warning

The RHOAI operator manages the OpenTelemetryCollector CR and may revert changes on reconciliation. If that happens, annotate the CR to prevent operator management: oc annotate opentelemetrycollector data-science-collector -n redhat-ods-monitoring opendatahub.io/managed=false. Remove this annotation before any future Red Hat OpenShift AI upgrades.

Issue 12: HTTPRoute Rule Name Collision (Multi-Model Gateway)

Jira: RHOAIENG-93709
Status: New

In Red Hat OpenShift AI 3.5, the v3-5-0-kserve-config-llm-router-route LLMInferenceServiceConfig preset introduces 12 hardcoded HTTPRoute.spec.rules[].name entries (e.g., chat-completions, completions, models). When multiple LLMInferenceServices are attached to the same MaaS Gateway, Istio merges all their HTTPRoutes into a single Virtual Host. Because the rule names are identical across services, Envoy treats them as duplicates - one service’s Endpoint Picker (EPP) configuration overwrites the other’s, causing all traffic to be routed to a single EPP regardless of which model was requested.

This is a regression from Red Hat OpenShift AI 3.4 where the name field was omitted in the preset, allowing Istio to auto-generate unique rule names per service. Related upstream issues: istio#58392, istio#61594.

Symptoms

  • Inference requests to a second model return responses from the first model (or vice versa)
  • Only one EPP pod receives traffic even though multiple models are deployed
  • Prefix caching and KV cache-aware routing break because requests land on the wrong EPP

Diagnosis

# List all HTTPRoutes attached to the MaaS gateway
oc get httproute -A -o json | jq -r '
  .items[]
  | select(.spec.parentRefs[]? | .name == "maas-default-gateway")
  | "\(.metadata.namespace)/\(.metadata.name)"'

# Check for duplicate rule names across HTTPRoutes
oc get httproute -A -o json | jq -r '
  [.items[]
   | select(.spec.parentRefs[]? | .name == "maas-default-gateway")
   | .spec.rules[]? | .name // empty]
  | group_by(.) | map(select(length > 1) | {name: .[0], count: length})
  | .[]'

If the second command returns results, you have duplicate rule names causing route shadowing.

Workaround

No workaround exists. The upstream fix is tracked in istio#61601, which resolves InferencePool endpoint pickers per backendRef instead of per rule name. The LLMInferenceService routing may also add suffixes to sectionNames to avoid collisions at the HTTPRoute level.

Issue 13: Stale DNSRecord After Gateway Service Type Change

Jira: RHOAIENG-93962

When a Models as a Service gateway is initially deployed with a LoadBalancer service type and then switched to ClusterIP (via ConfigMap parametersRef), the DNS operator does not clean up the dnsrecord object created for the original LoadBalancer. The stale record has a CNAME pointing to a defunct AWS ELB hostname, which breaks DNS resolution for the gateway hostname from both inside and outside the cluster.

The root cause is that the dnsrecord is owned by the Service via ownerReferences. When the service type changes from LoadBalancer to ClusterIP, the service is patched in place - not deleted and recreated - so the ownerReference stays valid and Kubernetes garbage collection does not remove the dnsrecord. The DNS operator does not watch for service type changes.

Symptoms

  • Dashboard shows “Error loading API keys” with dial tcp: lookup maas.apps.<cluster> on 172.30.0.10:53: no such host
  • The Models as a Service URL resolves from outside the cluster but not from inside (or fails from both sides depending on timing)
  • Gateway and Route are correctly configured, service is ClusterIP with no external IP

Diagnosis

# Check for stale dnsrecord objects in openshift-ingress
oc get dnsrecord -n openshift-ingress

# If a dnsrecord exists, check its target
oc get dnsrecord -n openshift-ingress -o jsonpath='{range .items[*]}{.metadata.name}: {.spec.dnsName} -> {.spec.targets}{"\n"}{end}'

# Check the gateway service type
oc get svc -n openshift-ingress -l gateway.networking.k8s.io/gateway-name=maas-default-gateway \
  -o jsonpath='{.items[0].spec.type}'

# Verify the ELB target is dead
nslookup $(oc get dnsrecord -n openshift-ingress -o jsonpath='{.items[0].spec.targets[0]}')

If the service type is ClusterIP but a dnsrecord exists with a CNAME target that returns NXDOMAIN, this issue is confirmed.

Workaround

Delete the stale dnsrecord:

oc delete dnsrecord -n openshift-ingress \
  $(oc get dnsrecord -n openshift-ingress -o name)

After deletion, internal DNS resolves immediately via the wildcard *.apps.* record (pointing to the OpenShift Router). External DNS may take longer due to negative caching of the stale CNAME.

Note

This only affects clusters where the gateway service type was changed from LoadBalancer to ClusterIP. Fresh ClusterIP deployments (where LoadBalancer was never used) are not affected.

Issue 14: LlamaStackOperator/OGX Conflict Blocks the Entire AIGateway Module

Reproduced live on a RHOAI 3.5.0 cluster (stable-3.x channel) during a fresh Models as a Service install: aigateway.modelsAsAService showed Managed in the DSC spec, but maas-api never deployed, ModelsAsAServiceReady stayed False, and applying MaaSModelRef failed with no matches for kind "MaaSModelRef" in version "maas.opendatahub.io/v1alpha1" - even though the health check, gateway, and PostgreSQL all looked fine. setup-maas.sh timed out waiting 300s for the maas-api deployment to appear.

The root cause has nothing to do with Models as a Service itself: the DSC also had llamastackoperator.managementState: Managed (either left over from a previous state, or defaulted by the CRD schema when the field is omitted). The opendatahub-operator provisions modules in batches by runlevel, and aigateway, mlflowoperator, and ogx are all provisioned together at runlevel 32. Having both llamastackoperator: Managed and ogx: Managed set makes the operator reject the ogx module outright, which aborts that entire batch - so aigateway’s CRDs (maasmodelrefs.maas.opendatahub.io, configs.maas.opendatahub.io, etc.) and mlflowoperator’s CRD never get installed either, even though nothing in the DSC spec or status message mentions llamastackoperator at all.

Symptoms

  • oc get datasciencecluster default-dsc -o jsonpath='{.status.conditions[?(@.type=="Ready")]}' shows "Some modules are not ready: aigateway, mlflowoperator, ogx"
  • AIGatewayReady condition: Failed to get module status: no matches for kind "AIGateway" in version "components.platform.opendatahub.io/v1alpha1"
  • oc get crd | grep maas.opendatahub.io returns nothing - the MaaS CRDs were never installed
  • maas-api deployment does not exist in redhat-ai-gateway-infra (or redhat-ods-applications on 3.4-style layouts), even 5+ minutes after the DSC was applied
  • oc apply -f manifests/05-maas-models/.../maas-model.yaml (or any MaaSModelRef) fails with no matches for kind "MaaSModelRef" ... ensure CRDs are installed first
  • rhods-operator logs (oc logs -n redhat-ods-operator deployment/rhods-operator) repeat "module CRDs not yet available, requesting requeue" for aigateway, mlflowoperator, ogx in an endless loop, interleaved with an ERROR: "BuildModuleCR failed" / error":"LlamaStackOperator is set to Managed; it has been deprecated, set it to Removed before enabling OGX" and "provisioning failed: module provisioning failed: ogx"

Diagnosis

# Confirm the DSC is not Ready and which modules are stuck
oc get datasciencecluster default-dsc -o jsonpath='{.status.conditions[?(@.type=="Ready")]}'

# Check both fields - this is the smoking gun if both show Managed
oc get datasciencecluster default-dsc -o jsonpath='{.spec.components.llamastackoperator}{"\n"}'
oc get datasciencecluster default-dsc -o jsonpath='{.spec.components.ogx}{"\n"}'

# Confirm via operator logs
oc logs -n redhat-ods-operator deployment/rhods-operator --tail=500 \
  | grep -i "LlamaStackOperator is set to Managed"

Workaround

Set llamastackoperator to Removed explicitly (it is superseded by ogx in 3.5 and does not need to stay Managed for anything, including 3.4 compatibility):

oc patch datasciencecluster default-dsc --type=merge \
  -p '{"spec":{"components":{"llamastackoperator":{"managementState":"Removed"}}}}'

# Should flip to True within ~60-90s
oc wait datasciencecluster default-dsc --for=condition=Ready --timeout=180s

Once Ready=True, the aigateway, mlflowoperator, and MaaS CRDs install automatically and maas-api/maas-controller deploy without any further action. Re-run the phase that timed out (for example ./scripts/setup-maas.sh --from-phase 4) to finish deploying models and governance resources.

Important

manifests/04-rhoai-config/datasciencecluster.yaml in this guide now sets llamastackoperator: Removed explicitly alongside ogx: Managed, so fresh installs following Phase 4 as written should not hit this. This issue is most likely to surface on clusters where the DSC already existed (e.g. a prior 3.4 install, or a partially-completed 3.5 attempt) before setup-maas.sh ran - the script detects modelsAsAService: Managed and skips re-applying the DSC, so a pre-existing llamastackoperator: Managed value is never corrected. See Step 3 for the equivalent guidance during a 3.4 -> 3.5 upgrade.

Quick Reference: Triage Order

When you hit problems after upgrading from 3.4 to 3.5, check in this order:

StepCheckFix
1Is DSC Ready? (oc get dsc default-dsc -o jsonpath='{.status.conditions[?(@.type=="Ready")].status}')If not, check for MCP Lifecycle Operator OOM (Issue 1)
2Is the namespace labeled? (oc get ns redhat-ods-applications --show-labels | grep -i maas)Apply label (Issue 3)
3Does maas-api report a hostname error? (check logs in redhat-ai-gateway-infra)Set spec.listeners[].hostname on Gateway (Issue 4)
4Are payload-processing pods OOMKilled?Annotate + increase memory (Issue 5)
5Are ExternalModels missing after upgrade?Recreate as ExternalProvider (Issue 2)
6HTTP 500/503 under load?Set AUTH_SERVICE_TIMEOUT to 10s (Issue 7)
7HTTP 429 Too Many Requests?Increase tokenRateLimits in MaaSSubscription (Issue 9)
8RHCL 1.4.x installed? (oc get csv -n openshift-operators | grep rhcl)Apply WasmPlugin + 2Gi gateway memory fix (Issue 6)
9ext_proc filter_chain_not_found errors in gateway logs?No workaround yet, track OSSM update (Issue 8)
10Playground shows two endpoints for same model?Delete LlamaStackDistribution (Issue 10)
11Cluster behind HTTP proxy and observability metrics show 0? (oc get proxy/cluster -o jsonpath='{.spec.httpProxy}')Override proxy env vars via OpenTelemetryCollector CR (Issue 11)
12Multiple models on same gateway and traffic goes to wrong model?No workaround yet, track RHOAIENG-93709 (Issue 12)
13Changed gateway from LoadBalancer to ClusterIP and DNS broken? (oc get dnsrecord -n openshift-ingress)Delete stale dnsrecord (Issue 13)
14maas-api never appears / MaaSModelRef CRD missing, but modelsAsAService: Managed? (oc get datasciencecluster default-dsc -o jsonpath='{.spec.components.llamastackoperator}')Set llamastackoperator to Removed (Issue 14)

References