VMware Cloud Community
insearchof
Expert
Expert

Adding New Storage Adapater Software iSCSI Adapter fails

ESXI 6.5

When I try to add a new iSCSI adapter for my new SQL Cluster servers

I highlight the Host  select configure tab then select storage adapters hit the GREEN Plus + sign select "software iSCSI adapter"

It fails with an error occurred during host configuration operation failed diagnostics report module iSCSI_vmk not loaded

I have 5 ESXI hosts and on three it works but on the two I need it does not

Any ideas?

Thank you

Tom

0 Kudos
12 Replies
daphnissov
Immortal
Immortal

Might want to check vmkwarning.log first on the offending ESXi hosts to see why that module might not have loaded.

0 Kudos
insearchof
Expert
Expert

try

(get-log -vmhost (get-vmhost 10.2.8.10) vmkwarning).entries
get-vmhost : 4/19/2018 10:51:36 PM      Get-VMHost              VMHost with name '10.2.8.10' was not found using the specified
filter(s).
At line:1 char:19
+ (get-log -vmhost (get-vmhost 10.2.8.10) vmkwarning).entries
+                   ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (:) [Get-VMHost], VimException
    + FullyQualifiedErrorId : Core_OutputHelper_WriteNotFoundError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVMH
   ost

get-log : 4/19/2018 10:51:36 PM Get-Log         Log with key 'vmkwarning' not found.
At line:1 char:2
+ (get-log -vmhost (get-vmhost 10.2.8.10) vmkwarning).entries
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (:) [Get-Log], VimException
    + FullyQualifiedErrorId : Core_GetLog_GetLogKeys_Key_Not_Found,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetLog

ing this command line but it fails  

Can I view the logs using this?

Do you have a better method or command line that will work?

0 Kudos
daphnissov
Immortal
Immortal

You need ssh access. It's a file log, not a host log stream.

0 Kudos
insearchof
Expert
Expert

I just exported my bundle

went to var\log and I do not see a current vmkwarning log

I then went to var\run\log folder and found the archived  the date on the file is 3/4/2018 that is the last entry in vmkwarning

Any other ideas?

Thanks

Tom

0 Kudos
daphnissov
Immortal
Immortal

Check vmkernel.log around that time. It may not be included in vmkwarning.

0 Kudos
insearchof
Expert
Expert

daphnissov,

Ok from the powershell cli I was able to recreate the vmkernal log

Here is what I found

This is Host 1

2018-04-21T14:22:30.280Z cpu0:67530 opID=8c09dc27)World: 12235: VC opID StorageAdaptersHeaderViewMediator-apply-19754-ngc:70003767-7c-bb-3944 maps to vmkernel opID 8c09dc27

2018-04-21T14:22:30.280Z cpu0:67530 opID=8c09dc27)WARNING: Device: 1316: Failed to register device 0x43032bdbc050 logical#vmkernel#com.vmware.iscsi_vmk0 com.vmware.iscsi_vmk (parent=0x7b4f43032bdbc245): Already exists

This is Host 3

2018-04-21T14:27:43.587Z cpu4:67747 opID=de776bf5)World: 12235: VC opID StorageAdaptersHeaderViewMediator-apply-20068-ngc:70003802-f1-17-8460 maps to vmkernel opID de776bf5

2018-04-21T14:27:43.587Z cpu4:67747 opID=de776bf5)WARNING: Device: 1316: Failed to register device 0x43034727b050 logical#vmkernel#com.vmware.iscsi_vmk0 com.vmware.iscsi_vmk (parent=0x7e6543034727b24d): Already exists

This is the first time add the iSCSI Adapters to these to hosts?

Any ideas?

0 Kudos
insearchof
Expert
Expert

This is still happening any ideas???

0 Kudos
daphnissov
Immortal
Immortal

Have you tried a simple reboot of the offending hosts?

0 Kudos
Wolken
Enthusiast
Enthusiast

Are these 5 ESXi hosts in the same cluster? Maybe you have to restart vCenter?

0 Kudos
Finikiez
Champion
Champion

Can you show a screenshot with existing storage adapters on Host 1 and Host 3?

0 Kudos
insearchof
Expert
Expert

Thanks Guys

I had a power outage and I restarted my HOST and then I was able to add the iSCSI Adapter.

Do not understand why that had to be done

But glad that fixed it.

You can lock the as fixed

Thank you

0 Kudos
daphnissov
Immortal
Immortal

Feel free to choose a reply and mark your thread as answered.

0 Kudos