Troubleshooting
Problem
When you try to access the resource map from resource management, you get the error message: "Critical: Resource MAP - Failure to complete requested query." However, you can view the location map properly from the "Resource details --> Location" tab.

Symptom
aiops-akora-ui-<xxxxxxxx>~server log
{"name":"access","hostname":"aiops-akora-ui-768c58bd95-c7xdj","pid":1,"level":30,"logType":"audit","initiator":{"id":"1000331001","name":"cpadmin","typeURI":"security/account/user","credential":{"type":"cookie","identity_status":"Confirmed"},"host":{"address":"101.127.39.23"}},"requestData":{"path":"/api/p/hdm_asm_ui_api/1.0/ui-api/locations/clusters/kmeans?field=name&field=entityTypes&field=uniqueId&field=businessCriticality&field=_compositeOfIds&field=vertexType&field=btsName&field=cellName&window=POLYGON((103.91036514079545%201.3182651566098804,%20103.91036514079545%201.3182651566098804,%20103.9390202432317%201.3182651566098804,%20103.9390202432317%201.307526982960967,%20103.91036514079545%201.307526982960967,%20103.91036514079545%201.3182651566098804))&numClusters=1&maxRadius=358&percentConvex=1&clusterPrefix=cluster-&vertexType=resource","type":"GET","context":"--"},"outcome":"failure","reason":{"reasonCode":500,"message":"Internal Server Error"},"target":{"name":"aiops-akora-ui-768c58bd95-c7xdj"},"msg":"Audit","time":"2025-01-03T06:34:20.581Z","v":0}
aiops-topology-ui-api-<xxxxxxxxx>~ui-api log
AUDIT [2025-01-03 06:34:20.578] [REQ-579660] [HNAUA0169A] proxyRequest.send - Received "getLocationClustersKmeans" request from user cpadmin @ 10.226.161.14 (GET /1.0/ui-api/locations/clusters/kmeans?field=name&field=entityTypes&field=uniqueId&field=businessCriticality&field=_compositeOfIds&field=vertexType&field=btsName&field=cellName&window=POLYGON((103.91036514079545%201.3182651566098804,%20103.91036514079545%201.3182651566098804,%20103.9390202432317%201.3182651566098804,%20103.9390202432317%201.307526982960967,%20103.91036514079545%201.307526982960967,%20103.91036514079545%201.3182651566098804))&numClusters=1&maxRadius=358&percentConvex=1&clusterPrefix=cluster-&vertexType=resource). Return status is 500 Server Error (Inventory Service returned error)
aiops-topology-inventory-<xxxxxxxxx> log
org.jdbi.v3.core.statement.UnableToExecuteStatementException: org.postgresql.util.PSQLException: ERROR: Cannot find SRID (4326) in spatial_ref_sys
from asm_feature_collection_clustered('cfd95b7e-3bc7-4006-a4a8-a73a79c71255', 'select "item_geo_location"."item_id" as id from "item_geo_location" join "geo_location" on "geo_location"."id" = "item_geo_location"."geo_location_id" where (ST_Contains(ST_SetSRID(ST_GeomFromText(''POLYGON((103.83108726938782 1.3143807443382387, 103.83108726938782 1.3143807443382387, 103.86304872979741 1.3143807443382387, 103.86304872979741 1.3003557248671134, 103.83108726938782 1.3003557248671134, 103.83108726938782 1.3143807443382387))''), 4326), centroid::geometry))', '''cluster-'' || ST_ClusterKMeans(ST_Transform(geo_location.centroid::geometry, 3857), 1, 358.0)', 1, 1E0, true, '{resource}', '{name,entityTypes,uniqueId,businessCriticality,_compositeOfIds,vertexType}')", arguments:{positional:{}, named:{}, finder:[]}]
Caused by: org.postgresql.util.PSQLException: ERROR: Cannot find SRID (4326) in spatial_ref_sys
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSE9G0Q","label":"IBM Cloud Pak for AIOps"},"ARM Category":[{"code":"a8m3p000000hAHpAAM","label":"Watson AIOps-\u003EAI Manager"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
03 February 2025
UID
ibm17182398