Loading

×Sorry to interrupt
This page has an error. You might just need to refresh it.
[NoErrorObjectAvailable] Uncaught ReferenceError: addCTracking is not defined
Failing descriptor: {markup://c:KM_ArticleThemeLayout}

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Removing a subnet from the External Network repopulates it after saving. (78922)

Last Updated: 5/5/2020Categories: TroubleshootingTotal Views: 3616Language:
Chinese (Simplified)JapaneseEnglish

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

A subnet specified on the External Network needs to be removed.

Deleting the subnet from Manage & Monitor > External Networks  > Properties(Right-click) > Network Specification > Select the subnet > Delete > OK will be successful.

Verifying the Manage & Monitor > External Networks  > Properties(Right-click) > Network Specification > Select the subnet > Delete > OK will show that the subnet still remains.

If multiple subnets are present on the external network,specifying an IP address on another subnet will give the following error:

The following IP addresses are not in the subnet range

Cause

This issue occurs when there are vApps using the IPs from the <subnet-to-be-removed>.

To identify the vApps causing the issue,run the following statement from the Cloud Director Database.

select

logical_network.id,

logical_network.name,

logical_network.scope_type,

logical_network.ip_scope_id,

ip_scope.id,

ip_scope.gateway,

ip_scope.subnet_prefix_length

from logical_network

left join logical_network_ip_scope lnis on lnis.logical_network_id = logical_network.id

left join ip_scope on ip_scope.id = lnis.scope_id

where logical_network.id in ('select id from logical_network where name like '<Name of the External Network>' and scope_type = '1'')

order by logical_network.scope_type;

In the Flash UI, Organization > My Cloud > vApps > Open the vApp > Networking > vApp networks attached to the <subnet-to-be-removed> can be seen.

Impact / Risks

The vApp networks using the IP from a <subnet-to-be-removed> will have to be deleted.
If the VMs inside the vApp are using the network, plan downtime and reconfigure the VM to use a different network before proceeding with the fix.

Resolution

This issue is resolved in

VMware Cloud Director 10.0, available at VMware Downloads.

VMware Cloud Director 10.0.0.1, available at VMware Downloads

VMware Cloud Director 10.1, available at VMware Downloads.

Workaround

A workaround is available for all other versions via the Cloud Director API

To remove a vApp network via API using Postman:

For authentication, refer https://blogs.vmware.com/cloudprovider/2017/10/getting-started-vcloud-director-9-0-api-part-1.html

The API version corresponding to the Cloud Director version is as below:

Cloud API 32.0 (Cloud Director 9.7)

Cloud API 31.0 (Cloud Director 9.5)

Cloud API 30.0 (Cloud Director 9.1)

Cloud API 29.0 (Cloud Director 9.0)

Follow steps in the Get Information About a vApp of https://vdc-download.vmware.com/vmwb-repository/dcr-public/d24907d9-d8b5-4268-9b72-d5cc4a791cc5/3c92fd28-fc9a-4083-a5f6-bc0a23639dad/vcloud_sp_api_guide_32_0.pdf  to get the details of the vApps.

Follow steps in the Example: Retrieve a NetworkConfigSection of https://vdc-download.vmware.com/vmwb-repository/dcr-public/d24907d9-d8b5-4268-9b72-d5cc4a791cc5/3c92fd28-fc9a-4083-a5f6-bc0a23639dad/vcloud_sp_api_guide_32_0.pdf#page=193&zoom=100,0,0  to get the vApp networking details.

Follow steps in the Example: Update a NetworkConfigSection of https://vdc-download.vmware.com/vmwb-repository/dcr-public/d24907d9-d8b5-4268-9b72-d5cc4a791cc5/3c92fd28-fc9a-4083-a5f6-bc0a23639dad/vcloud_sp_api_guide_32_0.pdf to remove the network and update the vApp networking configuration.

Execute the API request as per Step 3 to verify the vApp network is deleted.

Remove the subnet to be removed from the External Network by Manage & Monitor > External Networks  > Properties(Right-click) > Network Specification > Select the subnet > Delete > OK

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
「URL を確認して、やり直してください (Check the URL and try again)」- vCenter 7.0 VAMI の [アップデート] パネル (78906)

KB
•
将 Cloud Director 9.5 迁移到 10.0 的过程中，出现“无法读取或写入配置文件: 密钥库已被篡改，或密码不正确”错误 (78924)

KB
•
VMware Intelligent Hub 20.04 for iOS リリースのお知らせ (78889)

KB
•
将事件从 vRealize Log Insight 导出到 NFS 失败，并显示 "无法添加新的导出任务。错误：NFS 路径语法无效 " (78902)

Results 1-4 of 4

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Cloud Director for Service Provider

VMware Cloud Director

Related Versions:

VMware Cloud Director for Service Provider 9.x

VMware Cloud Director for Service Provider 9.7.x

Take Our Survey

Support Assistant