IBM Support

IBM Maximo Application Suite - An unexpected exception occurred while getting debug information

Troubleshooting


Problem

In IBM Maximo Application Suite - Admin console when viewing the debug information for an application, an error message is displayed in the downloaded logs in place of the logs themselves.

Symptom

Error is showed: An unexpected exception occurred while getting debug information

Cause

Proper permissions are not set.

Diagnosing The Problem

  1. Go to: https://admin.<masinstance>.domain/applications/manage
  2. Click in details in one of the status tiles
  3. Click Download debug information

A log file is downloaded and contains a permission error message:

HTTP response body:

b'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods is forbidden: User \\"system:serviceaccount:mas-xxxxxx-core:ibm-mas-coreapi\\" cannot list resource \\"pods\\" in API group \\"\\" in the namespace \\"mas-xxxxxxx-manage\\"","reason":"Forbidden","details":{"kind":"pods"},"code":403}\n'

Resolving The Problem

Add the verb "list" to the pod resource in the ibm-mas-coreapi-base:<mas instanceid> cluster role, as follow:

[...]
- verbs:
- get
- list

apiGroups:
- ''
resources:
- pods
- pods/log
[...]
Problem is addressed by known issue DT243960.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSRHPA","label":"IBM Maximo Application Suite"},"ARM Category":[{"code":"a8m3p000000hAeeAAE","label":"Maximo Application Suite-\u003ECore"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.10.0;8.11.0"}]

Document Information

Modified date:
07 December 2023

UID

ibm17091467