Symptoms:
- Error creating any type of vOrg Network
- vCloud Director Database:
NSX Manager REST API
<?xml version="1.0" encoding="UTF-8"?>
<vdnScopes>
<vdnScope>
<objectId>vdnscope-3</objectId>
<objectTypeName>VdnScope</objectTypeName>
<vsmUuid>4208D515-7E95-159A-55F0-4FAEBFB7F6AE</vsmUuid>
<nodeId>6c665106-07bc-4230-a5e3-631b41f32adf</nodeId>
<revision>0</revision>
<type>
<typeName>VdnScope</typeName>
</type>
<name>DC-TransportNetwork</name>
<description></description>
<clientHandle></clientHandle>
<extendedAttributes/>
<isUniversal>false</isUniversal>
<universalRevision>0</universalRevision>
<id>vdnscope-3</id>
<clusters>
<cluster>
<cluster>
<objectId>domain-c170</objectId>
<objectTypeName>ClusterComputeResource</objectTypeName>
<vsmUuid>4208D515-7E95-159A-55F0-4FAEBFB7F6AE</vsmUuid>
<nodeId>6c665106-07bc-4230-a5e3-631b41f32adf</nodeId>
<revision>40</revision>
<type>
<typeName>ClusterComputeResource</typeName>
</type>
<name>Edge-01</name>
<scope>
<id>datacenter-2</id>
<objectTypeName>Datacenter</objectTypeName>
<name>DC</name>
</scope>
<clientHandle></clientHandle>
<extendedAttributes/>
<isUniversal>false</isUniversal>
<universalRevision>0</universalRevision>
</cluster>
</cluster>
<cluster>
<cluster>
<objectId>domain-c7</objectId>
<objectTypeName>ClusterComputeResource</objectTypeName>
<vsmUuid>4208D515-7E95-159A-55F0-4FAEBFB7F6AE</vsmUuid>
<nodeId>6c665106-07bc-4230-a5e3-631b41f32adf</nodeId>
<revision>71</revision>
<type>
<typeName>ClusterComputeResource</typeName>
</type>
<name>vCloudProvider</name>
<scope>
<id>datacenter-2</id>
<objectTypeName>Datacenter</objectTypeName>
<name>DC</name>
</scope>
<clientHandle></clientHandle>
<extendedAttributes/>
<isUniversal>false</isUniversal>
<universalRevision>0</universalRevision>
</cluster>
</cluster>
</clusters>
<virtualWireCount>1</virtualWireCount>
<controlPlaneMode>UNICAST_MODE</controlPlaneMode>
</vdnScope>
</vdnScopes>
This issue occurs because the VXLAN vdnscope ID doesn't match vCloud Director Database vdbscope
Resolution:
To update the vCloud Director database with new vdnscope ID:
Stop the vCloud Director services. [http://pubs.vmware.com/vcd-55/index.jsp?topic=%2Fcom.vmware.vcloud.install.doc_55%2FGUID-F14315CC-B3...]
Open a connection to the vCloud Director database using SQL Management Studio
Run this SQL statement:
select id, name, vdn_scope_id from network_pool where name = Name_VXLAN_Pool;
Note: Note the name and the vdn_scope_id for the affected pool.
Run this SQL statement to change the vdn_scope_id value for the affected network pool:
update network_pool set vdn_scope_id = vdnscope_new where vdn_scope_id = vdnscope_old and name = Name_VXLAN_Pool;
Note: Replace vdnscope_new and vdnscope_old with the new and old values. For example:
update network_pool set vdn_scope_id = vdnscope-3 where vdn_scope_id = vdnscope-2 and name = Name_VXLAN_Pool;
Start the vCloud Director services on a single cell. [ http://pubs.vmware.com/vcd-55/index.jsp?topic=%2Fcom.vmware.vcloud.install.doc_55%2FGUID-F14315CC-B3...]
Verify if vOrg networks are created using the VXLAN pool.
If vOrg networks are created, start the cell services
Hope it helps!!
Thanks Scott
Moderator note: Please post technical problems/questions in the appropriate product forum area. This thread has been moved to the vCloud Director area.
Thanks Scott