When we discover multiple Vcenters that have different servers running with same MORids the VMware tags get updated incorrectly in the cmdb_key_value table.
Release or Environment
New York and Orlando
1. In "VCenterVMTagsSensor" we were looking into the table "cmdb_ci_vm_object" which doesn't have vCenter reference column.
2. In "VCenterVMTagsSensor" we call one of the lookup method from "vmUtils" script include which doesn't support the query we expect.
Because of the above two reasons the query was returning all morids irrespective of vCenter, which was resulting in wrong tags being updated.
Please apply the update set attached to the article.