mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-22 11:49:10 +00:00
* Fix OpenNebula inventory crash when NIC does not have IP
Match IPv6 behaviour.
When a NIC does not have an IP:
File "ansible/inventory/manager.py", line 292, in parse_source
plugin.parse(self._inventory, self._loader, source, cache=cache)
File "ansible-cm/plugins/inventory/opennebula.py", line 263, in parse
self._populate()
File "ansible-cm/plugins/inventory/opennebula.py", line 226, in _populate
servers = self._retrieve_servers(filter_by_label)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "ansible-cm/plugins/inventory/opennebula.py", line 210, in _retrieve_servers
server['v4_first_ip'] = self._get_vm_ipv4(vm)
^^^^^^^^^^^^^^^^^^^^^
File "ansible-cm/plugins/inventory/opennebula.py", line 154, in _get_vm_ipv4
return net['IP']
* Update to call to match IPv6 and add changelog fragment
* Update changelog fragment.
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
|
||
|---|---|---|
| .. | ||
| .keep | ||
| 8051-Redfish-Wait-For-Service.yml | ||
| 8402-add-diif-mode-openbsd-pkg.yml | ||
| 8403-fix-typeerror-in-keycloak-client.yaml | ||
| 8404-ipa_dnsrecord_sshfp.yml | ||
| 8405-gitlab-remove-basic-auth.yml | ||
| 8406-fix-homebrew-cask-warning.yaml | ||
| 8411-locale-gen-vardict.yml | ||
| 8413-galaxy-refactor.yml | ||
| 8415-cmd-runner-stack.yml | ||
| 8430-fix-opentelemetry-when-using-logs-with-uri-or-slurp-tasks.yaml | ||
| 8431-galaxy-upgrade.yml | ||
| 8440-allow-api-port-specification.yaml | ||
| 8452-git_config-absent.yml | ||
| 8453-git_config-deprecate-read.yml | ||
| 8464-redis-add-cluster-info.yml | ||
| 8471-proxmox-vm-info-network.yml | ||
| 8479-cmdrunner-improvements.yml | ||
| 8489-fix-opennebula-inventory-crash-when-nic-has-no-ip.yml | ||
| 8497-crypt.yml | ||
| 8512-as-bool-not.yml | ||