Hi,
We're trying to use Python's pyVmomi PowerOn function to power on virtual machine in VMWare Esxi 7.0.0 but got exception below.
error message: (vim.fault.RestrictedVersion) {
dynamicType = <unset>,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = 'Current license or ESXi version prohibits execution of the requested operation.',
faultCause = <unset>,
faultMessage = (vmodl.LocalizableMessage) [] }
Our license is VMware vSphere 7 Hypervisor.
ESXi version: 7.0.0
Does our license support PowerOn function?
Do we need to upgrade ESXi version to the newest version?
Could you help clarify this problem and provide the suggestion?
Thanks,
Graham
vSphere 7.0 release is a major vSphere release.
All major vSphere releases require new license keys.
The existing 6.x license should not be valid for vSphere 7.0.
I observed the same error in my vCenter setup , after updating to 7.0 license it started working for me.
Refer below link if you are running pyVmomi directly on ESX:
https://github.com/vmware/pyvmomi/issues/625
Hi doskiran,
The following is our license on VMWare ESXi web, but it doesn't show the license version.
Do you know how to check the version of our license?
Do you have any command or where could I find my license version?
Thanks,
Graham
Command to check the ESXi license info:
~ # vim-cmd vimsvc/license --show
Hi doskiran,
Here is our license information.
./vim-cmd vimsvc/license --show
[200] Sending request for installed licenses...[200] Complete, result is:
serial: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
vmodl key: esx.hypervisor.cpuPackageCoreLimited
name: VMware vSphere 7 Hypervisor
total: 0
used: 1
unit: cpuPackage:32core
Properties:
[ProductName] = VMware ESX Server
[ProductVersion] = 7.0
[count_disabled] = This license is unlimited
[feature] = vsmp:8 ("Up to 8-way virtual SMP")
[FileVersion] = 7.0.0.6
It seems our FileVersion(license version?) is 7.0.0.6.
Do we still need to update license?
Thanks,
Graham
Hi doskiran,
Does the new license have the vimapi ("vSphere API") feature?
If so, what version of license should we update to?
Thanks,
Graham
Hi Graham,
vimapi feature is not available in VMware vSphere 7 Hypervisor license.
Its available from VMware vSphere 7 Foundation / Essentials / Standard / Enterprise.. license
Thanks,
Kiran
Thanks for your clarification!
Graham