Troubleshooting

Common failures, how to diagnose them, and where to get help if none of this resolves it.

Start with the resource’s conditions

oc describe -n <namespace> openstacklightspeed

Condition

Meaning

OpenStackLightspeedReady

Overall readiness. False/Unknown: engine, database, or OKP hasn’t converged yet.

Deployment-specific issues

lightspeed-stack (engine) pod not becoming healthy

oc logs -n <namespace> deploy/lightspeed-stack-deployment -c lightspeed-service-api
oc logs -n <namespace> deploy/lightspeed-stack-deployment -c ogx

Usual causes: bad/unreachable models[].llmEndpoint, invalid apitoken, or a missing tlsCACertBundle for a self-signed endpoint. ogx logs the actual auth/TLS error from the provider.

PostgreSQL pod not starting

oc logs -n <namespace> deploy/lightspeed-postgres-server

Shrinking spec.database.size below the existing PVC is rejected (not supported in place). Revert the size, or delete/recreate the PVC to actually shrink it (loses data).

ImagePullBackOff on any operator-managed pod

The OKP pod comes from registry.redhat.io, not quay.io:

Failed to pull image "registry.redhat.io/...": unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials.

Means the pull secret is missing registry.redhat.io credentials — see the registry-access steps to fix and verify with the documented oc run test.

CA bundle errors

If tlsCACertBundle causes a CA parsing error, check every key in the ConfigMap’s data for valid PEM data and no stray whitespace (all keys are parsed, not just one named cert).

Getting operator logs

oc logs -n <operator-namespace> deploy/openstack-lightspeed-operator-controller-manager

Still stuck? See the documentation home for the repos to file an issue against. When filing one, include oc describe -n openstack-lightspeed openstacklightspeed output, pod logs, and your CR spec — redact API tokens, endpoint URLs/hostnames, and any retrieved context from all three before posting, since these are public issue trackers.