Skip to content

Users are not able to open the CF page on Heal UI

Users are not able to open the CF page on Heal UI in Post Login Issues.

3 min read Updated SS

Users are not able to open the CF page on Heal UI#

In Example, Users are not able to open CF pages (Heat capacity map/Generate capacity Forecast) directly. To open CF pages, the user needs to open 2 URLs and accept exceptions.

Heat Map Data Not Available for CBC Applications#

After upgradation, heat map data not available for CBC applications. Error: java.lang.IllegalStateException: Duplicate key 468

RCA: Execute query to find redundant mappings:

SELECT count(1), comp_instance_id, cluster_id FROM component_cluster_mapping GROUP BY comp_instance_id, cluster_id HAVING count(1) >= 2;

Solution: Delete redundant entries from component_cluster_mapping table, insert correct tag_mapping entries, update cluster_id, and clean up view_cluster_services.

Observing Workload Column for the DB Service#

The workload column appeared for DB services after disabling DefaultTransaction. The services were collecting only "DefaultTransactions," which needed to be manually deleted from the database.

Solution:

1. Disable Rules for DB Services from the Control Center UI.

2. Delete DefaultTransactions from Database:

DELETE FROM tag_mapping WHERE object_id IN (17686, 17695);
DELETE FROM sub_transactions WHERE transaction_id IN (17686, 17695);
DELETE FROM transaction_response_threshold WHERE transaction_id IN (17686, 17695);
DELETE FROM transaction WHERE name='DefaultTransaction' AND id IN (17686, 17695);

3. Remove DefaultTransactions from Redis:

hgetall /accounts/<account_id>/services/<service_name>/transactions
del /accounts/<account_id>/services/<service_name>/transactions

4. Verify that the workload column for the unwanted services is no longer displayed.

Data Collection Issue in HEAL UI#

Data was not being collected and displayed in the HEAL UI on all servers.

1. Updated the endpoint in the data_communication table to use the raw index.

2. Restart the CA Agent on all affected servers to initiate the data collection process.

3. Update the below consul keys for fine-tuning:

consul kv put service/opensearch/socket/timeout 30
consul kv put service/opensearch/socket/timeout/jim 90
consul kv put service/opensearch/socket/timeout/kpi 90
consul kv put service/opensearch/socket/timeout/txn 90
consul kv put service/opensearch/perrouteconnection 50
consul kv put service/opensearch/perrouteconnection/jim 20
consul kv put service/opensearch/perrouteconnection/kpi 20
consul kv put service/opensearch/maxconnections 100
consul kv put service/opensearch/maxconnections/jim 10
consul kv put service/opensearch/maxconnections/kpi 10
consul kv put service/opensearch/maxconnections/txn 10
consul kv put service/opensearch/connection/timeout 5
consul kv put service/opensearch/connection/timeout/jim 5
consul kv put service/opensearch/connection/timeout/kpi 5
consul kv put service/opensearch/connection/timeout/txn 5
consul kv put service/datareceiver/grpc/worker/thread/multiplier 20
consul kv put service/datareceiver/http/worker/thread/multiplier 20

UI Reports Issue#

Data not appearing in the "Alert Analysis" and "Server Disk Space Utilization" reports. The CPU Utilization report downloaded from the UI does not include all server IPs.

RCA: The issue was caused by the usage of outdated .PRPT files.

Solution:

1. Upgrade the latest .PRPT files.

2. Verify the updated .PRPT files with their respective MD5 checksums:

00566d83ed1bdc6435cbbe8f9d7b362a CapacityUtilizationSummary.prpt
f8d09245c1fcbf5a3e0e3edcf83d9d6d HostUtilizationReport.prpt

3. After the upgrade, reports will function as expected.

Capacity Utilization Report Generation Failure#

The capacity utilization report generation is failing for date ranges of 10 days or more on the UI. Reports for shorter periods generate successfully.

RCA: The report generation failed automatically. Backup logs (with .log extensions) in the Reporting Data Services directory caused the issue.

Solution:

1. Stop the Reporting Data Services.

2. Remove the backup logs causing the issue.

3. Restart the Reporting Data Services.

4. After resolving the issue, reports for 15 days will be generated and downloaded.