Generation of PostgreSQL Database Definition Files - OpenShift(4.2)
When Usage Engine is deployed and the admin user is left blank the platform-0 pod will not get to a running state.
Verify database setup scripts are exported.
#verify pods
NAME READY STATUS RESTARTS AGE
ec-5dd845bf5c-srk74 1/1 Running 0 153m
uepe-operator-controller-manager-0 2/2 Running 0 154m
desktop-online-7ff989968b-9hd2b 1/1 Running 0 154m
platform-0 0/1 Init:CrashLoopBackOff 9 22m
#Check logs from platform init container
$ kubectl logs platform-0 -c init
MZ db not initilized and Admin user for DB is not set.
=========== PREPARING DB SCRIPTS ===========
Copy the file database-setup.tar from persistance storage directory backup to the database server and follow the instructions
=========== DB SCRIPTS PREPARED ===========The database-setup.tar is located on NFS persistence storage directory backup, copy it and follow next subsection, Extract PostgreSQL Database Definition Files - OpenShift(4.2) .