Troubleshooting Data Product Hub

Review troubleshooting tips for Data Product Hub.

Flight service URL fails to generate for a subscription

Steps for binding the external Flight service URL route to Data Product Hub from the command line:

  1. Open the terminal and log into the cluster where the Data Product Hub service is deployed. Execute:
sudo su -
  1. Find the podname:
kubectl get pods -n <<operator-namespace>>| grep "data-product-operator"

Two pod names are returned: ibm-cpd-data-product-operator-xxxxx and ibm-cpd-data-product-operator-catalog-xxxxx. You will access the pod that does NOT contain "catalog".

  1. Access the operator pod:
kubectl exec -it <ibm-cpd-data-product-operator-xxxxx> -n <<operator-namespace>> /bin/bash
  1. Locate the update_fcrouteurl.yaml script in the /opt/ansible/installed-version/roles/data-product directory where installed-version is the Cloud Pak for Data version.

  2. Execute the update_fcrouteurl.yaml script:

ansible-playbook update_fcrouteurl.yaml -e "fcservicens=wkc fcservicename=wdp-connect-flight"

Ensure that fcservicens is the correct namespace for the wdp-connect-flight service.

  1. Restart the dataproduct-api service to bind the new external routeURL:
kubectl rollout restart deployment dataproduct-api -n wkc