Hi Roland,
I thing you are right. I had cluster that I removed from vcenter but not from vshield (unprepared).
Unfortunately I can not delete the mapping
GET https://<vsm_ip>>/api/2.0/vdn/map/cluster
<?xml version="1.0" encoding="UTF-8"?>
<error>
<details>id to load is required for loading; nested exception is java.lang.IllegalArgumentException: id to load is required for loading</details>
<errorCode>100</errorCode>
</error>
GET https://<vsm_ip>/api/2.0/vdn/map/cluster/domain-c25392
<?xml version="1.0" encoding="UTF-8"?>
<clusterMapping>
<clusterMappingSpec>
<switch>
<objectId>dvs-33</objectId>
<type>
<typeName>VmwareDistributedVirtualSwitch</typeName>
</type>
<name>dvVFA1sw</name>
<revision>694</revision>
<objectTypeName>VmwareDistributedVirtualSwitch</objectTypeName>
<scope>
<id>datacenter-21</id>
<objectTypeName>Datacenter</objectTypeName>
<name>clrdc01</name>
</scope>
<extendedAttributes/>
</switch>
<vlanId>0</vlanId>
</clusterMappingSpec>
</clusterMapping>
DELETE https://<vsm_ip>/api/2.0/vdn/cluster/domain-c25392/switches/dvs-33
404 Not Found
I will open ticket. Thanks for helping me!
Best Regards,
Jacek