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

Imaging ESXi hosts from VMware Imaging Appliance fails on task "Select Primary ESXi Server" when deploying VMware Cloud Foundation 2.3.x (55044)

Last Updated: 5/15/2018Categories: TroubleshootingTotal Views: 2389Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

Imaging ESXi hosts fails on  "Select Primary ESXi Server"

You see errors similar to the following in the /var/log/evorack-imaging/evorack-imaging-esxi-service.log file on the VIA VM:

2018-05-07 21:04:45,249 [39 ESXI_SERVER 192.168.100.54] DEBUG: com.vmware.via.esxi.service.ESXiService - Result of command [sh /tmp/readLldpInfo.sh] = [{cmd_exit_result=, cmd_exit_status=0}]
2018-05-07 21:04:45,249 [39 ESXI_SERVER 192.168.100.54] DEBUG: com.vmware.via.esxi.service.ESXiService - getLldpPortId: Emplty Uplink Port value returned from LLDP
2018-05-07 21:04:45,249 [39 ESXI_SERVER 192.168.100.54] ERROR: com.vmware.via.esxi.service.ESXiService - getNodeId: Error: Giving up reading LLDP Port Name from ESXi
2018-05-07 21:04:45,250 [39 ESXI_SERVER 192.168.100.54] ERROR: com.vmware.via.esxi.service.ESXiService - Could not get a valid ToR port number from Physical ESXi node
2018-05-07 21:04:45,250 [39 ESXI_SERVER 192.168.100.54] ERROR: com.vmware.via.esxi.intraimaging.tasks.ESXiSelectPrimaryESXiServer - Unable to retrieve the ToR port number when checking if host is UP
2018-05-07 21:04:45,255 [39 ESXI_SERVER 192.168.100.54] ERROR: com.vmware.via.imaging.SetupActivity - Failed task Select Primary ESXi Server for device type=ESXI_SERVER ip=192.168.100.54

​

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Cause

At this point in the deployment process, VIA expects the ESXi hosts to have a single vmkernel port. This issue can occur if an extra vmkernel port has been created on the ESXi host by an Ethernet-over-USB feature.

Resolution

To verify that this issue is occurring, please perform the following on the ESXi host:

SSH to the host using the credentials root/EvoSddc!2016

Run the command localcli network ip interface list | grep -E 'Name|MAC|Portset|Portgroup'

If you are experiencing this issue you will receive output similar to:

Name: vmk0
MAC Address: 00:10:9b:31:93:b6
Portset: vSwitch0
Portgroup: Management Network
VDS Name: N/A
Name: vmk1
MAC Address: 00:50:56:6b:b9:78
Portset: vSwitchUSB0
Portgroup: IMM_Network0
VDS Name: N/A

Running the command localcli network nic list will give output similar to the following:
Name    PCI Device    Driver  Admin Status  Link Status  Speed  Duplex  MAC Address        MTU   Description
------------------------------------------------------------------------------------------------------------
vmnic1  0000:2f:00.0  elxnet  Up            Up           10000  Full    00:10:9b:31:93:b6  1500  Emulex Corporation Emulex OneConnect OCe14000 NIC
vmnic3  0000:af:00.0  elxnet  Up            Up           10000  Full    00:10:9b:31:8e:f8  1500  Emulex Corporation Emulex OneConnect OCe14000 NIC
vusb0   Pseudo        cdce    Up            Up             100  Full    7e:d3:0a:e5:7c:47  1500  IBM XClarity Controller​

Note: To resolve this issue, you must disable the Ethernet-over-USB feature in the server BIOS. For assistance with this procedure, please consult vendor documentation.

Once this feature has been disabled localcli network ip interface list | grep -E 'Name|MAC|Portset|Portgroup' will result in the following:

Name: vmk0
MAC Address: 00:10:9b:31:93:b6
Portset: vSwitch0
Portgroup: Management Network
VDS Name: N/A

Similarly, once the Ethernet-over-USB feature has been disabled, localcli network nic list will give output similar to the following:

Name    PCI Device    Driver  Admin Status  Link Status  Speed  Duplex  MAC Address        MTU   Description
------------------------------------------------------------------------------------------------------------
vmnic1  0000:2f:00.0  elxnet  Up            Up           10000  Full    00:10:9b:31:93:b6  1500  Emulex Corporation Emulex OneConnect OCe14000 NIC
vmnic3  0000:af:00.0  elxnet  Up            Up           10000  Full    00:10:9b:31:8e:f8  1500  Emulex Corporation Emulex OneConnect OCe14000 NIC​

Retry the imaging task.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

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

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Cloud Foundation

Related Versions:

VMware Cloud Foundation 2.3.x

Take Our Survey

Support Assistant