Unable to update the cloud proxy group/collector for an adapter instance after upgrade. UI continues to report previously assigned cloud proxy group/collector.
book
Article ID: 456460
calendar_today
Updated On:
Products
VMware Cloud FoundationVCF Operations
Issue/Introduction
After upgrading to VCF Ops 9.1 or after applying patch 9.1.4.0, unable to assigning an adapter instance to a new cloud proxy group; the integration still points to the previous cloud proxy rather than the new cloud proxy in the configured cloud proxy group
Adapter accounts assigned to could proxy groups are not load balancing across the cloud proxies within the group
Environment
VCF Ops: 9.1, 9.1.4.0
VCF: 9.1
Cause
Postgres shared table data displays duplicate adapter instance assignment to different collectors.
This should not happen as each adapter instance must be assigned to only one collector.
Resolution
Run the following commands on the primary node:
su - postgres -c "/opt/vmware/vpostgres/current/bin/psql -d vcopsdb -p 5433"
SELECT adapter_id, COUNT(*) as adapter_count, array_agg(ctid) as ctids FROM collector_adapter WHERE adapter_id IN ( SELECT adapter_id FROM collector_group_adapter ) GROUP BY adapter_id;
SELECT adapter_id, COUNT(*), array_agg(ctid) as ctids FROM collector_adapter GROUP BY adapter_id HAVING count(*) > 1;
SELECT adapter_id, COUNT(*), array_agg(ctid) as ctids FROM collector_group_adapter GROUP BY adapter_id HAVING count(*) > 1;
SELECT ctid, * FROM collector_adapter;
SELECT ctid, * FROM collector_group_adapter;
If the results return an adapter_count value greater than 1 under *** 1. Cross-table Adapter Counts ***, open a new support case by following the Creating and managing Broadcom cases KB and forward along all the results from the previous commands for review.