Aria Operations 8.x "Storage Profile" metrics from vCD Management Pack missing in VM Metrics
book
Article ID: 312286
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
Aria Operations 8.x "Storage Profile" metrics coming from vCD Management Pack version8.10.0.20644188 is missing in VM Metrics
Bills generated for the VMs Usage in Tenant App could not show appropriate data/prices
And Storage Metrics will not be seen for any of the VMs in vROPS - VM - Metrics - Storage Profile
Below events will be observed if vCD Management Pack for vROPS Adapter Instance is configured on Cloud Proxy Collector: (Cloud Proxy instance is not able to reach vRops Suite-Api's)
2022-09-30T06:00:19,156+0000 ERROR [pool-98511-thread-5] (39043) com.integrien.adapter3.vcloud.collector.resource.admin.VirtualMachineResourceCollector.retrieveVMDiskUsedSpace - Unable to retrieve VM metric data for 0 out of 2170. VCD Object metrics will not be computed: Bad Request
[6285] com.vmware.ops.api.client.exceptions.ClientSideException: Bad Request
[6286] at com.vmware.ops.api.client.internal.ResponseHandlerImpl.handleResponse(ResponseHandlerImpl.java:99) ~[vcops-suiteapi-client-1.19.jar:?]
[6287] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222) ~[httpclient-4.5.jar:4.5]
[6288] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:164) ~[httpclient-4.5.jar:4.5]
[6289] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:139) ~[httpclient-4.5.jar:4.5]
[6290] at com.vmware.ops.api.client.internal.RestClientProxy.execute(RestClientProxy.java:527) ~[vcops-suiteapi-client-1.19.jar:?]
[6291] at com.vmware.ops.api.client.internal.RestClientProxy.invoke(RestClientProxy.java:288) ~[vcops-suiteapi-client-1.19.jar:?]
[6292] at com.vmware.ops.api.client.internal.DefaultClient$InvocationHandlerWrapper.invoke(DefaultClient.java:360) ~[vcops-suiteapi-client-1.19.jar:?]
[6293] at com.sun.proxy.$Proxy243.getLatestStats(Unknown Source) ~[?:?]
[6294] at com.integrien.adapter3.vcloud.collector.resource.admin.VirtualMachineResourceCollector.retrieveVMDiskUsedSpace(VirtualMachineResourceCollector.java:218) [vcloud_adapter3.jar:?]
Environment
Aria Operations 8.x
VMware vRealize Operations 8.x
Cause
Suite-API query length is longer due to inclusion of resource UUIDs in the query
Resolution
Fix for this issue will be available in the next release of vCD Management Pack
Workaround:
This issue has been addressed by increasing the HA proxy buff length in Cloud Proxies.
Please follow below steps to address the issue:
SSH to the affected Cloud Proxies and Modify /etc/haproxy/haproxy.cfg file and add 'tune.bufsize 65536' below "maxconn config" and perform a service restart (service haproxy stop and service haproxy start)
After making the required changes, HAproxy log reports "200 - OK" for API and not "400 - Error"
Additional Information
The config entry in HAconfig file doesn't persist once Cloud Proxy is upgraded, hence post upgrade same changes are required to be made again in Could Proxie(s)