Registry / aws / oslo-vmware

oslo-vmware

JSON →
library4.9.0pypypiunverified

The Oslo VMware library provides common VMware-related utilities and API interaction patterns for OpenStack projects. It wraps the pyVmomi library for vSphere API access, offering simplified authentication, session management, and operations like VM creation, datastore management, and network configuration. Current version 4.9.0 requires Python >=3.10. Release cadence is tied to OpenStack releases, typically one per cycle.

pip install oslo.vmware
INSTALL
IMPORT
SIG · OSLO-VMWARE
O
oslo-vmware
awspythonv4.9.0
Install
7.0s avg
Import
Disk
83MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v4.9.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 81.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 7.0s · import 0.000s · 79MB
83MB installed
● package 83MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

VMwareAPISession
from oslo_vmware import VMwareAPISession
from oslo.vmware import VMwareAPISession

Initialize a VMware API session using environment variables for credentials. Replace VSPHERE_HOST, VSPHERE_USER, VSPHERE_PASSWORD with actual values.

import os.environ from oslo_vmware import VMwareAPISession session = VMwareAPISession( host=os.environ.get('VSPHERE_HOST', ''), username=os.environ.get('VSPHERE_USER', ''), password=os.environ.get('VSPHERE_PASSWORD', ''), api_retry_count=5, task_poll_interval=1.0 ) print('Connected to vSphere')
Debug
Known issues
breakingIn oslo_vmware 4.x, the import path changed from oslo.vmware to oslo_vmware. Code using the old dotted import will raise ModuleNotFoundError.
fix
Replace 'from oslo.vmware import ...' with 'from oslo_vmware import ...'.
affects: >=4.0.0
breakingThe minimum required Python version is now 3.10. Older Python versions are unsupported.
fix
Upgrade Python to 3.10 or later.
affects: >=4.9.0
deprecatedSupport for the 'insecure' parameter in VMwareAPISession is deprecated. Use the 'ca_file' parameter with a CA bundle instead.
fix
Replace 'insecure=True' with 'ca_file="/path/to/ca.crt"' or set the corresponding environment variable.
affects: >=4.7.0
gotchaSession creation fails without proper credentials. Ensure VSPHERE_HOST, VSPHERE_USER, and VSPHERE_PASSWORD are set in the environment, or pass them directly.
fix
Check that environment variables are defined or provide arguments to VMwareAPISession.
affects: all
Upgrade
Version history
4.9.0latest on PyPI · released Feb 17, 2026
Audit
Dependencies
pyvmomirequiredCore vSphere API binding
oslo.concurrencyrequiredThread-safe operations
oslo.logrequiredLogging configuration
oslo.utilsrequiredUtility functions
Agent activity
24 hits · last 30 days
node
22
Resources
oslo-vmware — pip install oslo-vmware · libregistry