Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion module/sources/vmware/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def __init__(self):
ConfigOptionGroup(title="tag source",
description="""\
sync tags assigned to clusters, hosts and VMs in vCenter to NetBox
INFO: this requires the installation of the 'vsphere-automation-sdk',
INFO: this requires the installation of the 'vcf-sdk' package,
see docs about installation possible values:
* object : the host or VM itself
* parent_folder_1 : the direct folder this object is organized in (1 level up)
Expand Down
4 changes: 3 additions & 1 deletion module/sources/vmware/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,9 @@ def create_api_session(self):
return False

if vsphere_automation_sdk_available is False:
log.warning(f"Unable to import Python 'vsphere-automation-sdk'. Tag syncing will be disabled.")
log.warning("Unable to import the Python 'vcf-sdk' package (successor of the archived "
"'vsphere-automation-sdk', which no longer imports on Python 3.12+ with "
"setuptools >= 82), run 'pip install --upgrade vcf-sdk'. Tag syncing will be disabled.")
return False

log.debug(f"Starting vCenter API connection to '{self.settings.host_fqdn}'")
Expand Down
2 changes: 1 addition & 1 deletion settings-example.ini
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ password = super-secret
; tag source options

; sync tags assigned to clusters, hosts and VMs in vCenter to NetBox
; INFO: this requires the installation of the 'vsphere-automation-sdk',
; INFO: this requires the installation of the 'vcf-sdk' package,
; see docs about installation possible values:
; * object : the host or VM itself
; * parent_folder_1 : the direct folder this object is organized in (1 level up)
Expand Down
Loading