Cannot connect to the databases
Connection to databases cannot be established with the new Db2 Data Management Console that you provisioned.
Symptoms
You delete the Db2 Data Management Console instance, and provision a new instance in a short period of time. The new Db2 Data Management Console instance cannot create a connection profile for the existing database instances.
Resolving the problem
As a workaround, perform these steps:
- Delete the existing Db2 Data Management Console instance.
- Log into the cluster command line as an administrator.
- Run the following
command:
oc delete $(oc get configmap -l type=profile -o name -n ${PROJECT_CPD_INST_OPERANDS}) -n ${PROJECT_CPD_INST_OPERANDS}
The command deletes the
configmaps
. - Provision a new Db2 Data Management Console instance.