Troubleshooting
Problem
The Spectrum Scale GUI may display an error message instead of actual data in performance charts if a key for a queried metric disappeared (e.g., a node was renamed or removed from the cluster).
Symptom
The Spectrum Scale GUI may display "Error loading data" instead of actual data in different performance charts.
Cause
Due to a change in the API of the underlying component that measures performance data, no values in the "domain" field are returned anymore. This happens only for entities that were removed (or renamed). These missing "domain" values lead to a parsing exception on the GUI side.
Environment
All environments.
Diagnosing The Problem
The following exception appears in the log file /var/log/cnlog/mgtsrv/gpfsgui_trc.log:
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:668)
at java.util.ArrayList.get(ArrayList.java:444)
at com.ibm.gss.gui.performance.MetricsUtility.lambda$updateDomainInfo$4(MetricsUtility.java:311)
at com.ibm.gss.gui.performance.MetricsUtility$$Lambda$362.000000001C005DA0.apply(Unknown Source)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:204)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1393)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:523)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:513)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:719)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:245)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:490)
at java.util.stream.ReferencePipeline.max(ReferencePipeline.java:526)
at com.ibm.gss.gui.performance.MetricsUtility.updateDomainInfo(MetricsUtility.java:311)
at com.ibm.gss.gui.performance.MetricsUtility.getStats(MetricsUtility.java:211)
at com.ibm.gss.gui.performance.MetricsUtility.getFirstX(MetricsUtility.java:195)
at com.ibm.gss.gui.performance.PerfUtility.getPerfObjects(PerfUtility.java:250)
at com.ibm.gss.gui.logic.MonitorRPC.getLinesFromPartialConfigInternal(MonitorRPC.java:1102) at com.ibm.gss.gui.logic.MonitorRPC.getLinesFromPartialConfig(MonitorRPC.java:1034)
... 38 more
Resolving The Problem
Users running IBM Spectrum Scale V5.0.2.0 thru V5.0.2.1 should apply IBM Spectrum Scale V5.0.2.2 or later, available from Fix Central at: https://www.ibm.com/support/fixcentral/swg/selectFixes?parent=Software%20defined%20storage&product=ibm/StorageSoftware/IBM+Spectrum+Scale&release=5.0.2&platform=All&function=all .
Users running IBM Spectrum Scale V5.0.1.0 thru 5.0.1.2 should contact IBM Service to obtain and apply the efix for your level of code, reference APAR IJ13061.
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
31 January 2019
UID
ibm10744521