No desktops after a Cloud Pak for Business Automation deployment with OCP
After a Cloud Pak for Business Automation deployment with OpenShift Container Platform (OCP), you might notice that the Business Automation Workflow, Workplace, and Case desktops are missing from Business Automation Navigator.
Resolution
If the Workplace init job
is completed but you cannot find the Workplace desktop in the list of
desktops in Business
Automation Navigator, resolve this issue
by re-creating the job, which will successfully create the Workplace desktop in Business
Automation Navigator.
To delete and re-create the Workplace init job, follow these steps:
To delete and re-create the Workplace init job, follow these steps:
- Delete and re-create the Workplace init job:
- Get the job name:
- oc get jobs | grep workplace-job
- Delete the job and re-create
it:
- oc get jobs <workplace-job-name> -o json | jq 'del(.spec.selector)' | jq 'del(.spec.template.metadata.labels)' | oc replace --force -f -
- Get the job name:
If the Case init job is completed but you cannot find any Case desktops in Business
Automation Navigator, resolve the issue by force rerunning
the Case init job as follows. The rerun Case init job will go through the initialization actions,
including the creation of the Case desktops in Business
Automation Navigator.
- Delete the config.ok file from the Business
Automation Navigator pluginstore persistent volume:
- Log in to the system:
- oc login -u=<username> -p=<password> <URL>
- Get the Business
Automation Navigator pluginstore
persistent volume name:
- oc get pv | grep pluginstore
- Get the Business
Automation Navigator pluginstore
path:
- oc get pv <pluginstore-PV-Name> -o json | jq '[.spec]' | grep path
- Delete the config.ok
file:
- rm <pluginstore-path>/properties/config.ok
- Log in to the system:
- Delete and recreate the Case init job:
- Get the job name:
- oc get job|grep case-init-job
- Delete the
job:
- oc get jobs <case-init-job-name> -o json | jq 'del(.spec.selector)' | jq 'del(.spec.template.metadata.labels)' | oc replace --force -f -
- Get the job name:
Also, ensure that you use OCP V4.6.12 or later. Network connectivity problems that occur in OCP versions earlier than 4.6.12 might break the communication between pods, which can sometimes prevent the successful creation of desktops.