
On Wed, Dec 11, 2019 at 8:19 PM <thomas@hoberg.net> wrote:
Yes, I have had the same and posted about it here somewhere: I believe it's an incompatible Ansible change.
Here is the critical part if the message below: "The 'ovirt_host_facts' module has been renamed to 'ovirt_host_info', and the renamed one no longer returns ansible_facts"
and that change was made in the transition of Ansible 2.8* to 2.9, from what I gathered.
I guess I should just make it a bug report if you find the same message in your logs.
[ ERROR ] fatal: [localhost]: FAILED! => {"ansible_facts": {"ovirt_hosts": [{"address": "xdrd1022s.priv.atos.fr", "affinity_labels": [], "auto_numa_status": "unknown", "certificate": {"organization": "priv.atos.fr", "subject": "O=priv.atos.fr,CN=xdrd1022s.priv.atos.fr"}, "cluster": {"href": "/ovirt-engine/api/clusters/c407e776-1c3c-11ea-aeed-00163e56112a", "id": "c407e776-1c3c-11ea-aeed-00163e56112a"}, "comment": "", "cpu": {"speed": 0.0, "topology": {}}, "device_passthrough": {"enabled": false}, "devices": [], "external_network_provider_configurations": [], "external_status": "ok", "hardware_information": {"supported_rng_sources": []}, "hooks": [], "href": "/ovirt-engine/api/hosts/a5bb73a1-f923-4568-8dda-434e07f7e243", "id": "a5bb73a1-f923-4568-8dda-434e07f7e243", "katello_errata": [], "kdump_status": "unknown", "ksm": {"enabled": false}, "max_scheduling_memory": 0, "memory": 0, "name": "xdrd1022s.priv.atos.fr", "network_attachments": [], "nics": [], "numa_nodes": [], "numa_supporte d": false, "os": {"custom_kernel_cmdline": ""}, "permissions": [], "port": 54321, "power_management": {"automatic_pm_enabled": true, "enabled": false, "kdump_detection": true, "pm_proxies": []}, "protocol": "stomp", "se_linux": {}, "spm": {"priority": 5, "status": "none"}, "ssh": {"fingerprint": "SHA256:wqpBWq9Kb9+Nb3Jwtw61QJzo+R4gGOP2dLubssU5EPs", "port": 22}, "statistics": [], "status": "install_failed", "storage_connection_extensions": [], "summary": {"total": 0}, "tags": [], "transparent_huge_pages": {"enabled": false}, "type": "rhel", "unmanaged_networks": [], "update_available": false, "vgpu_placement": "consolidated"}]}, "attempts": 120, "changed": false, "deprecations": [{"msg": "The 'ovirt_host_facts' module has been renamed to 'ovirt_host_info', and the renamed one no longer returns ansible_facts", "version": "2.13"}]}
This error does make sense, and indeed in ovirt-ansible-hosted-engine-setup we use ovirt_host_facts and ansible_facts: https://github.com/oVirt/ovirt-ansible-hosted-engine-setup/blob/master/tasks... But: I failed to reproduce it myself. I have CentOS 8, and, from master nightly snapshot: ovirt-ansible-hosted-engine-setup-1.0.35-0.1.master.20191129201201.el8.noarch ansible-2.9.2-1.el8.noarch And in ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-201911111303-otxt1f.log I did get: 2019-12-11 13:15:45,061+0200 DEBUG var changed: host "localhost" var "host_result_up_check" type "<class 'dict'>" value: "{ "ansible_facts": { "ovirt_hosts": [ ... I wonder how it worked for me. Would you like to open a bug, anyway? And attached versions of relevant packages and relevant logs? Thanks! Best regards, -- Didi