I am attempting to assign a license to a ESXi server, but when I go to Home -> Administration -> Licensing, I get the following error:
An internal error occurred in the vSphere Client
Details: The given key was not present in the dictionary
This occurs with vSphere Client 6.0
Occurring on every user who has administrative access.
Any help is appreciated!
Thanks,
Chris
I had the same problem.
I solved it by entering via SSH to my Platform Service Controller server (or your vCenter server in case you have all in the same VM) and deleting logs in my /storage/log path. Then Reboot.
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 11G 2.4G 7.8G 24% /
udev 1004M 164K 1004M 1% /dev
tmpfs 1004M 60K 1004M 1% /dev/shm
/dev/sda1 128M 38M 84M 31% /boot
/dev/mapper/core_vg-core 5.0G 139M 4.6G 3% /storage/core
/dev/mapper/log_vg-log 5.0G 4.7G 0 100% /storage/log
/dev/mapper/db_vg-db 9.9G 166M 9.2G 2% /storage/db
/dev/mapper/dblog_vg-dblog 7.8M 1.1M 6.3M 15% /storage/dblog
/dev/mapper/seat_vg-seat 7.8M 1.1M 6.3M 15% /storage/seat
/dev/mapper/netdump_vg-netdump 7.8M 1.1M 6.3M 15% /storage/netdump
/dev/mapper/autodeploy_vg-autodeploy 7.8M 1.1M 6.3M 15% /storage/autodeploy
/dev/mapper/invsvc_vg-invsvc 7.8M 1.1M 6.3M 15% /storage/invsvc
Hope it helps.
Regards.
from the summary.txt file generated:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at VpxClient.Licensing.Controls.LicensesByKeyControl.PopulateLicenseList()
at VpxClient.Licensing.Controls.LicensesByKeyControl.SetLicenseAssignments(IDictionary`2 licenseAssignments, LicenseData[] allLicenses, LicenseEntityView licenseEntities)
at VpxClient.Admin.LicenseMgmtView.PopulateLicensesByKey()
at VpxClient.Admin.LicenseMgmtView.PopulateReport()
at VpxClient.Admin.LicenseMgmtView.OnLicenseEditorLoad(IList`1 faultList)
at VpxClient.Licensing.InMemoryModel.Impl.LicenseEditorImpl.<>c__DisplayClassb.<>c__DisplayClasse.<LoadAsync>b__a(Object )
I'm seeing this as well with the C# client. It shows all of the hosts as unlicensed and therefore cannot vMotion, etc.
The web client shows everything licensed as it should.
Thanks
I had the same problem.
I solved it by entering via SSH to my Platform Service Controller server (or your vCenter server in case you have all in the same VM) and deleting logs in my /storage/log path. Then Reboot.
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 11G 2.4G 7.8G 24% /
udev 1004M 164K 1004M 1% /dev
tmpfs 1004M 60K 1004M 1% /dev/shm
/dev/sda1 128M 38M 84M 31% /boot
/dev/mapper/core_vg-core 5.0G 139M 4.6G 3% /storage/core
/dev/mapper/log_vg-log 5.0G 4.7G 0 100% /storage/log
/dev/mapper/db_vg-db 9.9G 166M 9.2G 2% /storage/db
/dev/mapper/dblog_vg-dblog 7.8M 1.1M 6.3M 15% /storage/dblog
/dev/mapper/seat_vg-seat 7.8M 1.1M 6.3M 15% /storage/seat
/dev/mapper/netdump_vg-netdump 7.8M 1.1M 6.3M 15% /storage/netdump
/dev/mapper/autodeploy_vg-autodeploy 7.8M 1.1M 6.3M 15% /storage/autodeploy
/dev/mapper/invsvc_vg-invsvc 7.8M 1.1M 6.3M 15% /storage/invsvc
Hope it helps.
Regards.
Hello defernandez
I had the same issue and solved it by restarting the vCenter.
Best regards,
Hi,
I confirm also , restarting the esxi 6 i didn't get this issue.
thanks
best regards
Thierry