IBM Cloud Docs
Debugging your Portworx installation

Debugging your Portworx installation

Virtual Private Cloud Classic infrastructure

This troubleshooting topic applies to only Red Hat OpenShift clusters that run version 3.11.

When you create a Portworx service instance from the IBM Cloud catalog, the Portworx installation in your cluster fails and the service instance shows a status of Provision failure.

Before Portworx is installed in your cluster, a number of checks are performed to verify the information that you provided on the Portworx service page of the IBM Cloud catalog.

If one of these checks fails, the status of the Portworx service is changed to Provision failure. You can't see the details of what check failed or what information is missing to complete the installation.

Follow this guide to start troubleshooting your Portworx installation and to verify the information that you entered in the IBM Cloud catalog.

If you find information that you entered incorrectly or you must change the setup of your cluster, correct the information or the cluster setup. Then, create a new Portworx service instance to restart the installation.

Step 1: Verifying the IBM Cloud catalog information

Start by verifying that the information that you entered in the IBM Cloud catalog is correct. If information was entered incorrectly, the installation does not pass the pre-installation checks and fails without starting the installation.

  1. Verify that the cluster where you want to install Portworx is located in the IBM Cloud region and resource group that you selected.

    ibmcloud oc cluster get --cluster <cluster_name_or_ID>
    
  2. Verify that the IBM Cloud API key that you entered has sufficient permissions to work with your cluster. You must be assigned the Editor platform access role and the Manager service access role for Red Hat OpenShift on IBM Cloud. For more information, see User access permissions.

  3. Verify that you entered the etcd API endpoint for your Databases for etcd service instance in the correct format.

    1. Retrieve the Databases for etcd endpoint.

    2. Add the etcd endpoint in the format etcd:<etcd_endpoint1>;etcd:<etcd_endpoint2>. If you have more than one endpoint, include all endpoints and separate them with a semicolon (;).

      Example endpoint:

      etcd:https://1ab234c5-12a1-1234-a123.databases.appdomain.cloud:32059
      
  4. Verify that you stored the credentials to access your Databases for etcd service instance in a Kubernetes secret in your cluster. For more information, see Setting up a Databases for etcd service instance for Portworx metadata.

    1. Review steps 4-6 and verify that you retrieved the correct username, password, and certificate.
    2. List the secrets in your cluster and look for the secret that holds the credentials of your Databases for etcd service instance.
      oc get secrets
      
    3. Make sure that the username, password, and certificate are stored as a base64 encoded value in your Kubernetes secret.
    4. Verify that you entered the correct name of the secret in the IBM Cloud catalog.
  5. If you chose to set up volume encryption with IBM Key Protect, make sure that you created an instance of IBM Key Protect in your IBM Cloud account and that you stored the credentials to access your instance in a Kubernetes secret in the portworx project of your cluster. For more information, see Enabling per-volume encryption for your Portworx volumes.

    1. Make sure that the API key of your service ID, and the IBM Key Protect instance ID, root key, and API endpoint are stored as base64 values in the Kubernetes secret of your cluster.
    2. Make sure that you named your secret px-ibm.
    3. Make sure that you created the secret in the portworx project of your cluster.

Step 2: Verifying the cluster setup

If you entered the correct information on the IBM Cloud catalog page, verify that your cluster is correctly set up for Portworx.

  1. Verify that the cluster that you want to use meets the minimum hardware requirements for Portworx.
  2. If you want to use a virtual machine cluster, make sure that you added raw, unformatted, and unmounted block storage to your cluster so that Portworx can include the disks into the Portworx storage layer.

Step 3: Reach out to Portworx and IBM

Contact Portworx support by using one of the following methods.