Skip to content

Fix: bypass ESXi license/version restriction on SOAP requests#1114

Open
helviojunior wants to merge 1 commit into
vmware:masterfrom
helviojunior:master
Open

Fix: bypass ESXi license/version restriction on SOAP requests#1114
helviojunior wants to merge 1 commit into
vmware:masterfrom
helviojunior:master

Conversation

@helviojunior
Copy link
Copy Markdown

Re-applies the ESXi license fix on top of the upstream sync (vmware/pyvmomi @ pyproject.toml migration, vSphere 9.0).

Prepends the "vmware_client=VMware;" cookie to every SOAP request so ESXi does not reject operations with "Current license or ESXi version prohibits execution of the requested operation."

The cookie is now applied in all three places where it is set:

  • SoapStubAdapter.init
  • response Set-Cookie handling
  • the new SetSessionId() method (added upstream after the original fix)

Re-applies the ESXi license fix on top of the upstream sync
(vmware/pyvmomi @ pyproject.toml migration, vSphere 9.0).

Prepends the "vmware_client=VMware;" cookie to every SOAP request so
ESXi does not reject operations with "Current license or ESXi version
prohibits execution of the requested operation."

The cookie is now applied in all three places where it is set:
  - SoapStubAdapter.__init__
  - response Set-Cookie handling
  - the new SetSessionId() method (added upstream after the original fix)

Signed-off-by: Helvio Junior <helvio_junior@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant