Spectrumgtw: SpectrumVmotionPush Exception while sending relation_graph

book

Article ID: 143039

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

We are seeing UIM-Spectrum sync problems and the below errors are sen in the SpectrumGtw log:

 

Nov 26 2019 20:18:13,238 [twScheduler_Worker-9] WARN            Connection - Response : InboundJaxrsResponse{context=ClientResponse{method=POST, uri=http://xxxxxxxxxx1:8086/spectrum/restful/relationgraph, status=400, reason=Bad Request}} 

Nov 26 2019 20:18:13,239 [twScheduler_Worker-9] ERROR           Connection - Exception while processing the POST request 

Nov 26 2019 20:18:13,239 [twScheduler_Worker-9] ERROR  SpectrumVmotionPush - Exception while sending relation_graph request to Spectrum com.nimsoft.probe.gateway.spectrumgtw.common.SpectrumGtwException 

Nov 26 2019 20:18:13,240 [twScheduler_Worker-9] FATAL  SpectrumVmotionPush - com.nimsoft.probe.gateway.spectrumgtw.common.SpectrumGtwException 

at com.nimsoft.probe.gateway.spectrumgtw.restfw.Connection.post(Connection.java:180) 

at com.nimsoft.probe.gateway.spectrumgtw.restfw.Connection.post(Connection.java:146) 

at com.nimsoft.probe.gateway.vmservice.SpectrumVmotionPush.sendRelationGraphRequest(SpectrumVmotionPush.java:136) 

at com.nimsoft.probe.gateway.vmservice.SpectrumVMClient.pushVirtualChanges(SpectrumVMClient.java:84) 

at com.nimsoft.probe.gateway.spectrumgtw.common.VMServerJob.startSync(VMServerJob.java:121) 

at com.nimsoft.probe.gateway.spectrumgtw.common.VMServerJob.execute(VMServerJob.java:52) 

at org.quartz.core.JobRunShell.run(JobRunShell.java:202) 

at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) 

Nov 26 2019 20:18:13,241 [twScheduler_Worker-9] ERROR w.common.SpectrumGtwRestRespHandler - com.nimsoft.probe.gateway.spectrumgtw.common.SpectrumGtwException 

Cause

Vmware (check vmware logs)

Vmware log shows the following:

 Collection - 28, vmware] Failed to execute single perf query for entity resgroup-702. Max query size exceeded. Request processing is restricted by administrator (vpxd.stats.maxQueryMetrics).

 

Environment

Release : 8.51

Component : UNIFIED INFRASTRUCTURE MGMT

UIM 8.51, Spectrum 10.3.2 and SpectrumGTW 8.67HF4

 

Resolution

We have encountered this issue may be resolved with the following actions: 


1) Vmware log shows the following:

 Collection - 28, vmware] Failed to execute single perf query for entity resgroup-702. Max query size exceeded. Request processing is restricted by administrator (vpxd.stats.maxQueryMetrics). Follow VMware KB 2107096 to resolve.


For the above error message you have to follow the instructions in the  VMware KB 2107096 to resolve.

https://kb.vmware.com/s/article/2107096




2) For spectrumgtw the following actions helped to resolve this issue:


• deactivate the ems probe
• deactivate the spectrumgtw probe
• deactivate the vmware probe
• remove the vCenters from the UIM Inventory (in USM inventory select the vcenters and delete them)


• delete the models from Spectrum Oneclick
• Delete .....\Nimsoft\probes\service\ems\db
• Delete Spectrum gateway cache../../\Nimsoft\probes\service\ems\cache
• in SPectrum OC set 'No integration' , then to 'Spectrum gateway integration'
start vmware, ems and spectrum gateway probe


After the full model delete it in Spectrum and UIM side it will synchronize on the next UIM Synch or you can force the synchronization in the probe configuration.