Retrieving log files for Watson OpenScale

Learn how to retrieve log files for Watson OpenScale and send those files to IBM Support.

Before you begin

You must have login credentials for the cluster. You must have the namespace Project name, which you can usually obtain from your cluster administrator.

Procedure

  1. Log into the cluster by running the following command: oc login OpenShift_URL: port
  2. To check what pods are available, run the following command: oc get pods --namespace Project

    Use the list that you generate to supply that information in the podName variable when you run the following commands.

  3. To retrieve the logs for the common API, configuration, dashboard, datamart, gateway, payload logging, scheduling processing, and others, run the following command: oc logs podName --namespace Project > pod.log
  4. To retrieve the logs for bias, explainability, and feedback processing, run the following command: oc logs podName --namespace Project
    For example, to retrieve the log for explainability, enter the following command:

    oc logs aiopenscale-ibm-aios-explainability-5bdc4db87c-rd5q8 --container explainability-service --namespace my_cp4d_namespace

  5. Package and send log files to IBM Support by compressing your logs into a .zip file and then sending the compressed files to IBM Support.

Results

The following sample output shows the list of available pods:
NAME                                                          READY STATUS  RESTARTS AGE 
aiopenscale-ibm-aios-bias-b8d666ccd-b6vlp                   2/2   Running 0        11h 
aiopenscale-ibm-aios-common-api-5fcb84d465-m6tqt            1/1   Running 0        11h 
aiopenscale-ibm-aios-configuration-69b5c7669f-ntwpn         1/1   Running 0        11h 
aiopenscale-ibm-aios-dashboard-597d6d8cc5-k8zg9             1/1   Running 0        11h 
aiopenscale-ibm-aios-datamart-5848f45c68-6rm7r              1/1   Running 0        11h 
aiopenscale-ibm-aios-drift-85cc555b5f-jf6qr                 2/2   Running 0        11h 
aiopenscale-ibm-aios-etcd-0                                 1/1   Running 0        11h 
aiopenscale-ibm-aios-etcd-1                                 1/1   Running 0        11h 
aiopenscale-ibm-aios-etcd-2                                 1/1   Running 0        11h 
aiopenscale-ibm-aios-explainability-5bdc4db87c-rd5q8        2/2   Running 0        11h 
aiopenscale-ibm-aios-fast-path-6fbbd8bb9d-qkwxb             1/1   Running 0        11h 
aiopenscale-ibm-aios-feedback-76b97b5878-hhdwd              2/2   Running 0        11h 
aiopenscale-ibm-aios-ml-gateway-discovery-59dc669596-wxbhd  1/1   Running 0        11h 
aiopenscale-ibm-aios-nginx-9f884c4c8-dbkl8                  1/1   Running 0        11h 
aiopenscale-ibm-aios-payload-logging-66447bccb9-xfwvv       1/1   Running 0        11h 
aiopenscale-ibm-aios-payload-logging-api-8485657799-75q9z   1/1   Running 0        11h 
aiopenscale-ibm-aios-redis-sentinel-5ddd4f59c-dnpzj         1/1   Running 0        11h 
aiopenscale-ibm-aios-redis-sentinel-5ddd4f59c-qsvbw         1/1   Running 0        11h 
aiopenscale-ibm-aios-redis-sentinel-5ddd4f59c-ths5b         1/1   Running 0        11h 
aiopenscale-ibm-aios-redis-server-5f96b5bbd-cbnlc           1/1   Running 0        11h 
aiopenscale-ibm-aios-redis-server-5f96b5bbd-l5sp4           1/1   Running 0        11h 
aiopenscale-ibm-aios-redis-server-5f96b5bbd-rhds8           1/1   Running 0        11h 
aiopenscale-ibm-aios-scheduling-744d8bdbcd-jx4rh            1/1   Running 0        11h

The following sample output includes the pods for the common API, configuration, dashboard, datamart, gateway, payload logging, scheduling, and other processing:

NAME                                                          READY STATUS  RESTARTS AGE
aiopenscale-ibm-aios-common-api-577b75c445-p9ftk            1/1   Running 0        1h 
aiopenscale-ibm-aios-configuration-86b87746f8-nvt5t         1/1   Running 0        1h 
aiopenscale-ibm-aios-dashboard-55444db6b6-vfxsz             1/1   Running 0        1h 
aiopenscale-ibm-aios-datamart-55fc74474d-9hjw4              1/1   Running 0        1h 
aiopenscale-ibm-aios-ml-gateway-discovery-88c87d548-52ldh   1/1   Running 0        1h 
aiopenscale-ibm-aios-nginx-7d7695c447-cm2j6                 1/1   Running 0        5d 
aiopenscale-ibm-aios-payload-logging-84c794df8-dwsv9        1/1   Running 0        1h 
aiopenscale-ibm-aios-payload-logging-api-896674959-hzbq8    1/1   Running 0        1h 
aiopenscale-ibm-aios-scheduling-7d6d96545c-2v8s8            1/1   Running 0        1h 
aios-redis-sentinel-6d5bffbcd8-dnssh                        1/1   Running 0        5d 
aios-redis-sentinel-6d5bffbcd8-nss89                        1/1   Running 0        5d 
aios-redis-sentinel-6d5bffbcd8-wg992                        1/1   Running 0        5d 
aios-redis-server-6f4c55fd75-24nqn                          1/1   Running 0        5d 
aios-redis-server-6f4c55fd75-5ntxb                          1/1   Running 0        5d 
aios-redis-server-6f4c55fd75-kdqn5                          1/1   Running 0        5d 
etcd-0                                                      1/1   Running 1        5d 
etcd-1                                                      1/1   Running 0        5d 
etcd-2                                                      1/1   Running 0        5d

The following sample output shows the pods for bias, explainability, and feedback processing:

NAME                                                           READY STATUS  RESTARTS AGE
aiopenscale-ibm-aios-bias-744df9d95d-slhnp                   2/2   Running 0        1h 
aiopenscale-ibm-aios-explainability-5cdb4687f5-hln7h         2/2   Running 0        1h 
aiopenscale-ibm-aios-feedback-59f7c558bd-xgd56               2/2   Running 0        1h