NFS mount fails from vCenter UI when vmkernel is on NSX VDS VLAN Backed Segments and Nodes prepared just for VLAN Transport Zone
search cancel

NFS mount fails from vCenter UI when vmkernel is on NSX VDS VLAN Backed Segments and Nodes prepared just for VLAN Transport Zone

book

Article ID: 312972

calendar_today

Updated On:

Products

VMware NSX Networking

Issue/Introduction

To unblock the customer if a situation as above may arise.

Symptoms:
NFS mount fails on ESXi Hosts that are having all the vmkernel on c-VDS  VLAN Backed NSX Segment.
In vCenter UI the error received during mounting NFS Datastore "An error occurred during host configuration"

Relevant Log Location 

vpxd.log

2022-xx-xxTxx:xx:xx:xxxZ info vpxd[13379] [Originator@6876 sub=vpxLro opID=l9gppktm-125780-auto-2p1x-h5:70039439-d0] [VpxLRO] -- FINISH task-13385
2022-xx-xxTxx:xx:xx:xxxZ info vpxd[13379] [Originator@6876 sub=Default opID=l9gppktm-125780-auto-2p1x-h5:70039439-d0] [VpxLRO] -- ERROR task-13385 -- datastoreSystem-3017 -- vim.host.DatastoreSystem.createNasDatastore: vim.fault.Platform
ConfigFault:
--> Result:
--> (vim.fault.PlatformConfigFault) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = <unset>,
-->    text = "Please make sure you have configured networking for VMkernel"
-->    msg = "Received SOAP response fault from [<SSL(<io_obj p:0x00007f96040eb818, h:63, <TCP 'yy.yy.yy.yy : 54964'>, <TCP 'zz.zz.zz.zz : 443'>>), /vpxa>]: createNasDatastore
--> Received SOAP response fault from [<<io_obj p:0x000000516b92e908, h:26, <TCP '127.0.0.1 : 21602'>, <TCP '127.0.0.1 : 8307'>>, /sdk>]: createNasDatastore
--> An error occurred during host configuration."
--> }
--> Args:
-->
--> Arg spec:
--> (vim.host.NasVolume.Specification) {
-->    remoteHost = "xx.xx.xx.xx",
-->    remotePath = "/mnt/nfsstore1",
-->    localPath = "Datastore 1",
-->    accessMode = "readWrite",
-->    type = "NFS",
-->    userName = <unset>,
-->    password = <unset>,
-->    remoteHostNames = <unset>,
-->    securityType = <unset>
--> }

hostd.log

2022-xx-xxTxx:xx:xx:xxxZ  info hostd[2099759] [Originator@6876 sub=Solo.Vmomi opID=l4fxnre1-10815428-auto-6ft8l-h5:70841703-66-ba-cb40 user=vpxuser:VSPHERE.LOCAL\Administrator] Activation [N5Vmomi10Activatio
nE:0x0000005bccb39800] : Invoke done [createNasDatastore] on [vim.host.DatastoreSystem:ha-datastoresystem]
2022-10-21T07:05:24.043Z verbose hostd[2099759] [Originator@6876 sub=Solo.Vmomi opID=l4fxnre1-10815428-auto-6ft8l-h5:70841703-66-ba-cb40 user=vpxuser:VSPHERE.LOCAL\Administrator] Arg spec:
--> (vim.host.NasVolume.Specification) {
-->    remoteHost = "aa.aa.aa.aa",
-->    remotePath = "/mnt/backups"",
-->    localPath = "vi-ds",
-->    accessMode = "readOnly",
-->    type = "NFS41",
-->    remoteHostNames = (string) [
-->       "aa.aa.aa.aa"
-->    ],
-->    securityType = "AUTH_SYS",
--> }
2022-xx-xxTxx:xx:xx:xxxZ info hostd[2099759] [Originator@6876 sub=Solo.Vmomi opID=l4fxnre1-10815428-auto-6ft8l-h5:70841703-66-ba-cb40 user=vpxuser:VSPHERE.LOCAL\Administrator] Throw vim.fault.PlatformConfigFault
2022-10-21T07:05:24.044Z info hostd[2099759] [Originator@6876 sub=Solo.Vmomi opID=l4fxnre1-10815428-auto-6ft8l-h5:70841703-66-ba-cb40 user=vpxuser:VSPHERE.LOCAL\Administrator] Result:
--> (vim.fault.PlatformConfigFault) {
-->    text = "Please make sure you have configured networking for VMkernel",
-->    msg = "",
--> }

Environment

VMware NSX-T Data Center

Cause

While creating NFS Datastore, it checks if there are any connected vmknics. It was identified in the case of converged DVS OpaqueNetwork backing which also needs to be considered for vmkernel.

Resolution

The fix will be included in vSphere 8.0.1

Workaround:
Method A
1. log in to vCenter UI.
2. Select the ESXi Host that you require to mount the NFS Datastore and which has all the vmkernels on NSX-T VLAN backed Segment on cdvs (converged DVS prepared for NSX-T).
3. Create a dummy vmkernel on a normal dvs portgroup  either on the same C-DVS Switch or any other DVS Switch even if it can be on a Standard vSwitch (VSS)

Method B
1. Take an SSH Session to the ESXi Host in question 
2. Use the command mentioned below to mount NFS on ESXi directly.
     esxcfg-nas -a <Datastore Name> -s <Mount point> -o <NFS IP>

Additional Information

Impact/Risks:
The NFS mount on ESXi Host from the vCenter UI fails with an error "An error occurred during host configuration."