VMware Cloud Community
jstander
Enthusiast
Enthusiast

vRB 7.2.x sync error with vROPS 6.5: "Unable to retrieve data from vROps"

Since upgrading to vROPS 6.5 my sync for the connected vCenter server fails with error "Unable to retrieve data from vROps".

This seems to connect just fine to vROPS but then during a query ("Trying to get over-sized, idle and powered-off VMs list from vROps) the sync process fails and produces the log output below.

Found that the version is also showing incorrectly, which should be 6.5.0:

     c.v.i.c.d.v.c.VmDataSynchronizer - Fetching Datacenter statistics from vROps: <IP ADDRESS> 6.3.0.000000    

-------------

I see the errors in /var/log/vrb/data-collector/itfm-vc-dc.log

2017-03-15 16:38:39.399 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.c.j.SyncJob - *** Job Started ***

2017-03-15 16:38:39.400 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.c.j.SyncJob - Started wait for the first sync of 'VC Inventory Sync Job'

2017-03-15 16:38:39.400 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.c.j.SyncJob - Completed wait for the first sync of 'VC Inventory Sync Job'

2017-03-15 16:38:39.400 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.u.BasicVlsiOperations - Creating client for VC server at https://server.domain.com/sdk/vimService

2017-03-15 16:38:39.401 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.u.BasicVlsiOperations - Retrieving service instance content via vlsi...

2017-03-15 16:38:39.439 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.u.BasicVlsiOperations - Logging in via Vlsi...

2017-03-15 16:38:39.630 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.j.VCOPsStatsSyncJob - VCOPs Stats collection started for VC with id 0.

2017-03-15 16:38:39.642 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.VmDataSynchronizer - Fetching Datacenter statistics from vROps: <IP ADDRESS> 6.3.0.000000

2017-03-15 16:38:39.759 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.u.VropsOperations - Detected vROps version equal to or higher than 6.2, using username-password based authentication.

2017-03-15 16:38:40.086 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.VmDataSynchronizer - Found 1 Datacenter(s) in this vCenter. Fetching their usage information.

2017-03-15 16:38:40.096 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.VmDataSynchronizer - Collecting following stats for Datacenter: [mem|consumed|capacityRemainingValue, cpu|alloc|capacityRemainingValue, diskspace|alloc|capacityRemainingValue, cpu|usagemhz_average, mem|host_usage, diskspace|total_usage]

2017-03-15 16:38:40.264 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.VmDataSynchronizer - Processing stats obtained from vROps.

2017-03-15 16:38:40.264 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.VmDataSynchronizer - Syncing DATACENTER(s) obtained from vC and vROps.

2017-03-15 16:38:40.264 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.VmDataSynchronizer - Persisting stats obtained from vROps.

2017-03-15 16:38:40.320 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.VmDataSynchronizer - Fetching ClusterComputeResource statistics from vROps: <IP ADDRESS> 6.3.0.000000

2017-03-15 16:38:40.432 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.u.VropsOperations - Detected vROps version equal to or higher than 6.2, using username-password based authentication.

2017-03-15 16:38:40.729 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.VmDataSynchronizer - Found 2 ClusterComputeResource(s) in this vCenter. Fetching their usage information.

2017-03-15 16:38:40.733 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.VmDataSynchronizer - Collecting following stats for ClusterComputeResource: [mem|consumed|capacityRemainingValue, cpu|alloc|capacityRemainingValue, diskspace|alloc|capacityRemainingValue, cpu|usagemhz_average, mem|host_usage, diskspace|total_usage]

2017-03-15 16:38:41.055 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.VmDataSynchronizer - Processing stats obtained from vROps.

2017-03-15 16:38:41.055 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.VmDataSynchronizer - Syncing CLUSTER_COMPUTE_RESOURCE(s) obtained from vC and vROps.

2017-03-15 16:38:41.055 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.VmDataSynchronizer - Persisting stats obtained from vROps.

2017-03-15 16:38:41.223 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.u.VropsOperations - Detected vROps version equal to or higher than 6.2, using username-password based authentication.

2017-03-15 16:38:42.551 INFO  [VCOPsStatsSyncJob (llvc01.sovsystems.com)] c.v.i.c.d.v.c.VmDataSynchronizer - Trying to get over-sized, idle and powered-off VMs list from vROps.

[11:29] 

2017-03-15 15:22:24.401 INFO  [VCOPsStatsSyncJob (server.domain.com)] c.v.i.c.d.v.c.u.VropsOperations - Detected vROps version equal to or higher than 6.2, using username-password based authentication.

2017-03-15 15:22:27.023 ERROR [VCOPsStatsSyncJob (server.domain.com)] c.v.i.c.d.c.j.SyncJob - *** Job failed ***

com.vmware.itfm.cloud.datacollector.vc.ciq.exceptions.CIQException: Unable to retrieve data from vROps '<IP ADDRESS>'.

[11:29] 

Caused by: org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: Unable to unmarshal (to type [simple type, class java.lang.String]): Could not map [NOT_EXISTING] to ResourceState (through reference chain: com.vmware.ops.api.model.resource.ResourceDtoList["resourceList"]->com.vmware.ops.api.model.resource.ResourceDto["resourceStatusStates"]->com.vmware.ops.api.model.resource.ResourceStatusState["resourceState"]); nested exception is org.codehaus.jackson.map.JsonMappingException: Unable to unmarshal (to type [simple type, class java.lang.String]): Could not map [NOT_EXISTING] to ResourceState (through reference chain: com.vmware.ops.api.model.resource.ResourceDtoList["resourceList"]->com.vmware.ops.api.model.resource.ResourceDto["resourceStatusStates"]->com.vmware.ops.api.model.resource.ResourceStatusState["resourceState"])

----------

The error "Unable to retrieve data from vROps" appeared after upgrading to vROps 6.5.

I tested with both vRB 7.2.0 and 7.2.1 and experience the same results, however I do not get the error when connected to vCenter server which is linked to a vROps 6.3 environment.

Has anyone else run into the same problem?

0 Kudos
1 Reply
sbeaver
Leadership
Leadership

I am seeing something like that just have not had to the time to really dig into things and tagging into your post Smiley Happy

Steve Beaver
VMware Communities User Moderator
VMware vExpert 2009 - 2020
VMware NSX vExpert - 2019 - 2020
====
Co-Author of "VMware ESX Essentials in the Virtual Data Center"
(ISBN:1420070274) from Auerbach
Come check out my blog: [www.virtualizationpractice.com/blog|http://www.virtualizationpractice.com/blog/]
Come follow me on twitter http://www.twitter.com/sbeaver

**The Cloud is a journey, not a project.**
0 Kudos