Troubleshooting core services errors
Diagnose and resolve common issues with core platform services including authentication failures, service startup problems, and connectivity errors.
IBM Container Registry authentication failure
Symptom
Image pull fails due to an authentication or access error.
pull access denied
unauthorized
authentication requiredResolution
docker login cp.icr.ioUsername: cp
Password: <IBM entitlement key>./deploy.sh up --profile coreCore service fails to start
Symptom
One or more services do not run after deployment.
Resolution
./deploy.sh status./deploy.sh logs <service-name> -fdocker ps -a./deploy.sh up --profile coreThe NGINX endpoint is not accessible
Symptom
https://<host>:8443/Resolution
./deploy.sh status./deploy.sh logs nginx -f-
Verify that the server firewall allows inbound access to port
8443. - Verify that you use the correct hostname or IP address.
./deploy.sh up --profile core --regenerate-certsBrowser displays certificate warning or certificate mismatch
Symptom
The browser displays a certificate warning due to certificate mismatch, expiration, or trust issues.
Resolution
Verify that NGINX_HOSTNAME and NGINX_HOST_IP match the hostname
or IP address used to access the service.
./deploy.sh up --profile core --regenerate-certshttps://<host>:8443/OpenSearch fails to start
Symptom
The OpenSearch container stops or shows an unhealthy status.
Resolution
./deploy.sh logs opensearch -f.env.core:OPENSEARCH_INITIAL_ADMIN_PASSWORDIf the issue relates to certificates or a stale OpenSearch setup, perform a clean redeployment of OpenSearch related core data only if data loss is acceptable.
./deploy.sh cleanup --profile core --volumes
./deploy.sh up --profile corePostgreSQL connection issue
Symptom
A service fails to connect to PostgreSQL.
Resolution
.env.core:POSTGRES_USER
POSTGRES_PASSWORD
POSTGRES_DB
GATEWAY_DB_NAME
GATEWAY_DB_USER
GATEWAY_DB_PASSWORD./deploy.sh logs postgres -f./deploy.sh status./deploy.sh up --profile coreRedis connection issue
Symptom
A service fails to connect to Redis.
Resolution
./deploy.sh logs redis -fIf you configure REDIS_PASSWORD, ensure that dependent services use the same value.
If Redis authentication is not required, leave REDIS_PASSWORD empty.
./deploy.sh up --profile coreAIOps connection issue
Symptom
AIOps related services cannot connect to IBM Z Automation Web Console or IBM Z Workload Scheduler endpoints.
Resolution
SMU_HOSTNAME
SMU_USERNAME
SMU_PASSWORD
SMU_ADMIN_USERNAME
SMU_ADMIN_PASSWORD
ZWS_HOSTNAME
ZWS_USERNAME
ZWS_PASSWORD
AIOPS_USERNAME
AIOPS_PASSWORD./deploy.sh logs aiops -fVerify that the deployment host can connect to the configured IBM Z Automation Web Console or IBM Z Workload Scheduler hosts.
./deploy.sh up --profile coreGateway service issue
Symptom
The gateway service fails to start or dependent services fail to authenticate with the gateway.
Resolution
GATEWAY_DB_NAME
GATEWAY_DB_USER
GATEWAY_DB_PASSWORD
GATEWAY_ADMIN_API_KEY./deploy.sh logs gateway -fGATEWAY_ADMIN_API_KEY is required for the first deployment.
./deploy.sh up --profile coreContent Ingestion UI authentication issue
Symptom
The Content Ingestion UI prompts for credentials, but login fails.
Resolution
BASIC_AUTH_USERNAME
BASIC_AUTH_PASSWORD./deploy.sh logs content-ingestion-ui -f./deploy.sh up --profile coreClient ingestion authentication issue
Symptom
Client ingestion requests fail with unauthorized or authentication errors.
Resolution
CLIENT_INGESTION_AUTH_KEY./deploy.sh logs client-ingestion-service -f./deploy.sh up --profile coreDocker Compose CLI Container Not Running (applicable only for zCX environments)
docker-compose-cli container is not running, do the following:- Verify the container status:
docker ps -a | grep docker-compose-cli - If the container is not running, restart
it.
docker start docker-compose-cli
Clean redeployment of core services
./deploy.sh cleanup --profile core --volumes
./deploy.sh up --profile core./deploy.sh cleanup --profile core --volumes --images
./deploy.sh up --profile core--volumes removes persisted data.