diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 5e3c942..455ab57 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -14,3 +14,4 @@ | 0.2.0 | 4.4.0 | 4.6.x | | 0.2.1 | 4.4.0 | 4.6.x | | 0.2.2 | 4.4.0 | 4.6.x | +| 0.2.3 | 4.4.0 | 4.6.x | diff --git a/README.md b/README.md index b976806..ff995e6 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,8 @@ sudo systemctl restart netbox netbox-rq Bei selbstsignierten Proxmox-Zertifikaten `Validate SSL` deaktiviert lassen. Wenn Proxmox langsam antwortet, kann `API timeout` am Endpoint erhoeht werden. +Der Proxmox-Client ignoriert Proxy-Umgebungsvariablen des NetBox-Dienstes, damit interne Proxmox-Adressen nicht versehentlich ueber einen HTTPS-Proxy laufen. + Wenn Passwort-Login auf `access/ticket` haengt, zuerst den Realm im Benutzernamen pruefen (`root@pam`, `user@pve`, `user@ldaprealm`). Fuer produktive Imports ist ein Proxmox API-Token meistens stabiler als Passwort-Login. Wenn `Sync interval minutes` gesetzt ist, prueft ein Systemjob alle fuenf Minuten, welche Endpoints faellig sind, und stellt die eigentlichen Sync-Jobs in die Queue. diff --git a/netbox_vmware_importer/__init__.py b/netbox_vmware_importer/__init__.py index fb28686..b9f40d5 100644 --- a/netbox_vmware_importer/__init__.py +++ b/netbox_vmware_importer/__init__.py @@ -5,7 +5,7 @@ class VMwareImporterConfig(PluginConfig): name = "netbox_vmware_importer" verbose_name = "Virtualization Importer" description = "Synchronize VMware vSphere and Proxmox VE virtual machines into NetBox." - version = "0.2.2" + version = "0.2.3" author = "Internal NetBox Team" base_url = "vmware-importer" min_version = "4.4.0" diff --git a/netbox_vmware_importer/sync.py b/netbox_vmware_importer/sync.py index 2ba3c60..4787abb 100644 --- a/netbox_vmware_importer/sync.py +++ b/netbox_vmware_importer/sync.py @@ -242,6 +242,7 @@ class ProxmoxClient: raise ProxmoxConnectionError("Proxmox username must include a realm, e.g. root@pam or user@pve.") self.session = requests.Session() + self.session.trust_env = False self.session.verify = self.endpoint.validate_ssl if not self.endpoint.validate_ssl and InsecureRequestWarning is not None: requests.packages.urllib3.disable_warnings(category=InsecureRequestWarning) diff --git a/pyproject.toml b/pyproject.toml index 0d42fb3..3aa254c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "netbox-vmware-importer" -version = "0.2.2" +version = "0.2.3" description = "NetBox plugin to synchronize VMware vSphere and Proxmox VE virtual machines into NetBox." readme = "README.md" requires-python = ">=3.12"