Troubleshooting installation errors

This section provides step-by-step instructions for resolving common issues encountered during installation.

Resolving cpd-cli not found error

  1. Open Finder (macOS) or File Explorer (Windows).
  2. Navigate to your Downloads folder and locate the cpd-cli-darwin folder.

    If you don't find the folder, use the search function to locate it.

  3. Copy the following three items from the cpd-cli-darwin folder:image displaying the folders and files to copy from the cpd-cli-darwin folder
  4. Move Files to /usr/local/bin:
    1. Open Terminal (macOS) or Command Prompt (Windows).
    2. Open the /usr/local/bin directory in Finder or File Explorer.
      open /usr/local/bin
    3. Paste the copied items into /usr/local/bin using Cmd+V (macOS) or Ctrl+V (Windows).
  5. Verify that cpd-cli is now accessible from your system’s path by using the following command:
    cpd-cli version

Resolving OC not found error

  1. Open Finder (macOS) or File Explorer (Windows).
  2. Navigate to your Downloads folder and locate the OC executable.
  3. Move Files to /usr/local/bin:
    1. Copy the OC executable.
    2. Open the /usr/local/bin directory using either:
      • Finder/File Explorer
      • Terminal/Command Prompt
      If you are using the terminal or command prompt, enter the following:
      cd /usr/local/bin
      Open
    3. Paste the oc executable into /usr/local/bin using Cmd+V (macOS) or Ctrl+V (Windows).
  4. Verify that OC is now accessible from your system’s path by using the following command:
    OC version

CPD Scheduler deployment issue

If you installed the scheduler before creating the role bindings and the deployment fails, perform the following steps:

  1. In the OpenShift console, navigate to Home > Search.
  2. In the Resources drop-down list, select CustomResourceDefinition.
  3. Change the filter type from Label to Name.
  4. In the search box, type Scheduling.
  5. Scroll down to find the Scheduling tile.
  6. Click Scheduling and go to the Instances tab.
  7. Locate the instance ibm-cpd-scheduler.
  8. Click the three vertical dots next to it and select Delete Scheduling to remove the instance.
  9. Reinstall the CPD Scheduler by following the instructions in Install Cloud Pak for Data.