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:
  1. Delete the existing Db2 Data Management Console instance.
  2. Log into the cluster command line as an administrator.
  3. 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.

  4. Provision a new Db2 Data Management Console instance.