URL_PREFIX attribute points to source cluster
Symptoms
After you restore IBM® Software Hub and an OpenPages tethered namespace to a new cluster by using a cpd-cli
oadp command, the URL_PREFIX attribute of the IBM Software Hub
product-configmap for the tethered namespace might still point to the source
cluster.
Resolving the problem
A Red Hat®
OpenShift® project (namespace)
administrator can edit the IBM Software Hub
product-configmap to update the URL_PREFIX for your
deployment.
To fix this problem, follow these steps:
- Log in to Red Hat
OpenShift Container Platform as a user with sufficient permissions to
complete the
task.
${OC_LOGIN} - Change to the project where you installed IBM Software Hub:
oc project ${PROJECT_CPD_INST_OPERANDS} - Run the following command to edit the IBM Software Hub
product-configmap:
oc edit cm product-configmap - Update the
URL_PREFIXattribute of theproduct-configmapmanually. For example:data: ... URL_PREFIX: domain.my.company.com ... - Restart the
openpages-stspods after the restore by running the following command:for i in `oc get pods | grep openpages-<instancename>-sts | cut -f1 -d\ `; do oc delete po ${i}; done