1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments
Tom Paine 3716187fc3
Fix OpenNebula inventory crash when NIC does not have IP (#8489)
* 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>
2024-06-16 22:14:18 +02:00
..
.keep
8051-Redfish-Wait-For-Service.yml Redfish: Add options to check the availability of the service (#8434) 2024-06-03 06:49:40 +02:00
8402-add-diif-mode-openbsd-pkg.yml Add partial diff support, not in check mode to openbsd_pkg (#8402) 2024-06-01 21:33:29 +02:00
8403-fix-typeerror-in-keycloak-client.yaml keycloak_client: avoid TypeError if result["attributes"] is a list (#8403) 2024-05-26 21:07:48 +02:00
8404-ipa_dnsrecord_sshfp.yml Add support for SSHFP records to ipa_dnsrecord module (#8404) 2024-06-06 07:37:08 +02:00
8405-gitlab-remove-basic-auth.yml feat(gitlab modules): remove basic auth (#8405) 2024-06-01 22:45:51 +02:00
8406-fix-homebrew-cask-warning.yaml Fix the homebrew module failing because of warnings (#8406) 2024-05-26 21:07:09 +02:00
8411-locale-gen-vardict.yml
8413-galaxy-refactor.yml
8415-cmd-runner-stack.yml add cmd_runner_fmt.stack decorator (#8415) 2024-06-01 22:44:50 +02:00
8430-fix-opentelemetry-when-using-logs-with-uri-or-slurp-tasks.yaml fix(opentelemetry): remove request from the logs (#8430) 2024-06-03 06:50:55 +02:00
8431-galaxy-upgrade.yml ansible_galaxy_install: add upgrade feature (#8431) 2024-06-02 00:17:26 +02:00
8440-allow-api-port-specification.yaml #8440 Allow for API Port to be specified when using proxmox_kvm (#8441) 2024-06-08 14:04:59 +02:00
8452-git_config-absent.yml git_config: fix state=absent if value is present (#8452) 2024-06-06 07:35:54 +02:00
8453-git_config-deprecate-read.yml git_config: deprecate reading values (#8453) 2024-06-04 06:27:50 +02:00
8464-redis-add-cluster-info.yml feat(redis_info): add option to fetch cluster info (#8464) 2024-06-12 19:47:50 +02:00
8471-proxmox-vm-info-network.yml feat: proxmox_vm_info - add network information for guests (#8471) 2024-06-14 07:47:28 +02:00
8479-cmdrunner-improvements.yml cmd_runner mod util: improvements (#8479) 2024-06-14 07:46:56 +02:00
8489-fix-opennebula-inventory-crash-when-nic-has-no-ip.yml Fix OpenNebula inventory crash when NIC does not have IP (#8489) 2024-06-16 22:14:18 +02:00
8497-crypt.yml homectl, udm_user: guard crypt imports (#8497) 2024-06-13 21:54:42 +02:00
8512-as-bool-not.yml simplify cmd_runner_fmt.as_bool_not() (#8512) 2024-06-16 09:46:03 +02:00