Generation of PostgreSQL Database Definition Files - OpenShift(4.2)
When Global variable macro (Development)Â 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) .