Skip to content

fix: use community.vmware for standalone ESXi compatibility#133

Open
vvaldez wants to merge 1 commit into
redhat-cop:mainfrom
vvaldez:fix/provision-vcenter-standalone-esxi
Open

fix: use community.vmware for standalone ESXi compatibility#133
vvaldez wants to merge 1 commit into
redhat-cop:mainfrom
vvaldez:fix/provision-vcenter-standalone-esxi

Conversation

@vvaldez

@vvaldez vvaldez commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Specifically for provision_vcenter

vmware.vmware.guest_info uses the vSphere REST API session endpoint (com.vmware.cis.session) which only exists on vCenter Server. When deploying to standalone ESXi, the module fails with:

ApiAccessError: Unknown interface: com.vmware.cis.session

Replace with community.vmware.vmware_vm_info which uses pyvmomi/SOAP and works on both vCenter and standalone ESXi. The role already depends on community.vmware (vmware_guest_powerstate on line 43).

Tested against standalone ESXi 8.0.2 build-23305546.

Regression introduced in commit 498656e (Aug 2024) which replaced community.vmware modules with vmware.vmware certified modules without accounting for standalone ESXi API differences.

…ion_vcenter

vmware.vmware.guest_info uses the vSphere REST API session endpoint
(com.vmware.cis.session) which only exists on vCenter Server. When
deploying to standalone ESXi, the module fails with:

  ApiAccessError: Unknown interface: com.vmware.cis.session

Replace with community.vmware.vmware_vm_info which uses pyvmomi/SOAP
and works on both vCenter and standalone ESXi. The role already depends
on community.vmware (vmware_guest_powerstate on line 43).

Tested against standalone ESXi 8.0.2 build-23305546.

Regression introduced in commit 498656e (Aug 2024) which replaced
community.vmware modules with vmware.vmware certified modules without
accounting for standalone ESXi API differences.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vvaldez vvaldez requested a review from mikemorency as a code owner June 9, 2026 19:43
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