Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

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

"vim.fault.CannotAccessNetwork" error when attempting to migrate powered on VMs between Provider VDC Resource Pools (79005)

Last Updated: 8/19/2023Categories: TroubleshootingTotal Views: 4412Language:
Chinese (Simplified)JapaneseEnglish

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

Migrating a powered on VM between Provider VDC resource pools fails with an error of the form:

[ <TASK_UUID> ] Underlying system error: com.vmware.vim.binding.vim.fault.CannotAccessNetwork
- Currently connected network interface 'Network adapter 1' uses network 'DVSwitch: 50 xx xx 6a xx 83 xx 67-2e d2 xx 88 xx 37 xx xx ', which is not accessible.

Editing a powered on VM's properties, for example changing the description or changing hardware settings, results in a similar error.

The affected VM is connected to an NSX VXLAN backed network.

The Provider VDC resource pools are backed by ESXi host clusters that use different distributed switches for VXLAN preparation in NSX.

The affected VM's VXLAN network is backed by multiple port groups across multiple distributed switches and to migrate the VM will need to change port group.

Cause

If vCloud Director's placement algorithm is moving a VM between Provider VDC resource pools as part of a migrate task or due to a VM being edited, it will test the migration by performing a checkRelocate task in vCenter.

This error occurs when the VM needs to change port group as part of its migration to a different ESXi host cluster, such as in the case where a VXLAN network is backed by different port groups on different distributed switches.

When vCloud Director sends the VM specification to vCenter it does not include information on the destination port group to which the VM would need to move in order to maintain connection to the VXLAN network.

The vCenter Server will then perform the check against the original port group and if that is not available in the destination ESXi cluster the checkRelocate will result in a vim.fault.CannotAccessNetwork result which vCloud Director then records as a failure.

Resolution

This issue is resolved in Cloud Director 10.1, available at VMware Downloads.

Workaround

To workaround the issue power off the affected VM before making changes.

If the VM properties are being edited and it is not desired that it change resource pool use a method to stop vCloud Director from performing a migration such as temporarily disabling resource pools in the Provider VDC, or using affinity rules to keep the VM in place.

Alternatively configure the Provider VDC's backing ESXi clusters to all use the same distributed switch for VXLAN preparation in NSX so that a change of port group is not occurring during the migration.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
Workspace ONE Intelligence for Consumer Apps 2020/05/06 リリースのお知らせ (78963)

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
vSAN 暗号化が有効な場合の vCenter Server の置き換え (76306)

KB
•
Download and Install VMware Fusion (2014097)

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 10.x

Take Our Survey

Support Assistant