33 Troubleshooting BRM Cloud Native
Learn how to troubleshoot issues in Oracle Communications Billing and Revenue Management (BRM) cloud native.
Topics in this document:
Authorization Error When Running pin_update_balances Utility
Problem Statement
When running the pin_update_balances utility, you may encounter an authorization error and the process fails to complete.
Sample Error Message
E Wed May 15 12:16:35 2024 <hostname> pin_update_balances:2579170 pin_mta.c:1076 3:<hostname>:pin_update_balances:2579170:1778034432:4:1715764595851079:8:bill_inv_pymt_sub.0.0.0.1::::-1 normal error <location=PIN_ERRLOC_FM:5 class=PIN_ERRCLASS_SYSTEM_DETERMINATE:1 errno=PIN_ERR_AUTHORIZATION_FAIL:64> <facility=0 msg_id=0 version=0> Cause
This issue occurs because the user bill_inv_pymt_sub.0.0.0.1 is not authorized to run the PCM_OP_CUST_UPDATE_ROLE opcode.
Solution
-
Update testnap ConfigMap Entries
Update the required entries in configmap_pin_conf_testnap.yaml. Do not change these entries in the CM ConfigMap (configmap_pin_conf_cm.yaml). Change the following values:
Original entries:
- nap login_name root.0.0.0.1 - - userid 0.0.0.1 /service/pcm_client 1
Update it to:
- nap login_name super_user.0.0.0.1 - - userid 0.0.0.1 /service/pcm_client 3
- Run the helm upgrade command to update your Helm release.
-
Update the flist for PCM_OP_CUST_UPDATE_ROLE:
0 PIN_FLD_POID POID [0] 0.0.0.1 /config/role 412 0 0 PIN_FLD_PERMITTEDS ARRAY [0] allocated 20, used 3 1 PIN_FLD_BASE_OPCODES STR [0] "" 1 PIN_FLD_CLASSES STR [0] "" 1 PIN_FLD_FM_OPCODES STR [0] "PCM_OP_ACT_REQUEST_CREATE,PCM_OP_ACT_REQUEST_RETRIEVE,PCM_OP_ACT_USAGE,PCM_OP_BILL_MAKE_BILL" 0 PIN_FLD_PERMITTEDS ARRAY [3] allocated 20, used 3 1 PIN_FLD_BASE_OPCODES STR [0] "PCM_OP_READ_FLDS" 1 PIN_FLD_CLASSES STR [0] "/billinfo,/payinfo/*,/item/misc,/account,/config/payment,/bill,/event/*,/data/trial_bill_sequence,/item/installment/debit,/ledger_" 1 PIN_FLD_FM_OPCODES STR [0] ""
-
Run the PCM_OP_CUST_UPDATE_ROLE opcode using testnap. For more information on how to run testnap in cloud native environments, see "Running Load Utilities Through Configurator Jobs".
- Return the entries in the configmap_pin_conf_testnap.yaml file to their original values:
- nap login_name root.0.0.0.1 - - userid 0.0.0.1 /service/pcm_client 1
- Run the helm upgrade command to update your Helm release.