Service instance fails to start
Provisioning a Data
Virtualization service instance can take a few minutes, depending on
your environment. If the service instance status does not change to Running, the
provisioning process might have failed or timed out.
For more information about possible statuses, see Service statuses.
Symptoms
The Data
Virtualization service instance does not have a Running status. To
view the status, navigate to
. Click
the data-virtualization service instance.
Causes
dv in the
dv project or namespace. Resolving the problem
-
Log in to Red Hat® OpenShift® Container Platform as a cluster administrator.
oc login ${OCP_URL} - Use the following command to see the status of the Data
Virtualization instance
pods.
oc get pods -n ${PROJECT_CPD_INST_OPERANDS} | grep dvFor example, run the following command.oc get pods -n dv | grep dvYou might see something similar to the following pods.c-db2u-dv-db2u-0 1/1 Running 0 152m c-db2u-dv-db2u-1 1/1 Running 0 152m c-db2u-dv-dvapi-7664954698-7nsst 1/1 Running 0 135m c-db2u-dv-dvcaching-854db58866-2zdq4 1/1 Running 0 135m c-db2u-dv-dvutils-0 1/1 Running 0 136m c-db2u-dv-hurricane-dv-69bd69fb4f-wf86h 2/2 Running 0 147m c-db2u-dv-restore-morph-mk4f5 0/1 Completed 0 145m dv-addon-858ff597cf-kpbq6 1/1 Running 0 162m dv-extension-translations-job-qbxc4 0/1 Completed 0 162m dv-service-provider-59997b484b-9m5jn 1/1 Running 0 162mThe provisioning process can take several minutes until all the pods start and are ready. If the Data Virtualization service instance is successfully provisioned, the following service pods show a status ofReady.c-db2u-dv-db2u-0c-db2u-dv-db2u-xc-db2u-dv-dvapic-db2u-dv-dvcachingc-db2u-dv-dvutils-0c-db2u-dv-hurricane-dvdv-addondv-service-provider
If the service provisioning process takes longer than 30 minutes, you get an error message that indicates that the service instance failed to start. Additionally, when you run the oc get pods command, values in the AGE column are higher than 30 minutes.
- Use the following command to see the status of the Data
Virtualization instance
pods.
oc get pods -n ${PROJECT_CPD_INST_OPERANDS} | grep dvSee the following example.c-db2u-dv-db2u-0 1/1 Running 0 152m c-db2u-dv-db2u-1 1/1 Running 0 152m c-db2u-dv-dvapi-7664954698-7nsst 1/1 Running 0 135m c-db2u-dv-dvcaching-854db58866-2zdq4 1/1 Running 0 135m c-db2u-dv-dvutils-0 1/1 Running 0 136m c-db2u-dv-hurricane-dv-69bd69fb4f-wf86h 2/2 Running 0 147m c-db2u-dv-restore-morph-mk4f5 0/1 Completed 0 145m dv-addon-858ff597cf-kpbq6 1/1 Running 0 162m dv-extension-translations-job-qbxc4 0/1 Completed 0 162m dv-service-provider-59997b484b-9m5jn 1/1 Running 0 162m - Ensure that the following service pods are in
Readystatus:c-db2u-dv-db2u-0c-db2u-dv-db2u-xc-db2u-dv-dvapic-db2u-dv-dvcachingc-db2u-dv-dvutils-0c-db2u-dv-hurricane-dvdv-addondv-service-provider
- If service pods listed in step 2 are in
Readystatus, check whether you can access the Data Virtualization service in the Cloud Pak for Data user interface. If you cannot access the service, follow these steps:- Refresh your browser.
- On the navigation menu, click .
- Find data-virtualization, and click Open in the instance options menu.