Description of problem: In bug 1540850 we did some enhancements to logging, which we considered mandatory/urgent. Opening this bug to collect less urgent improvements we probably want. For now, this includes: - Perhaps log somehow the module name of each task. - Do not log doc strings of attributes. - Do not log changes to the variables 'hostvars' and 'vars', after making sure they are indeed always redundant.
Created attachment 1453208 [details] bootstrap_vm_local.log - without the patch
Created attachment 1453210 [details] bootstrap_vm_local.log - with the patch
Whats the reproduction steps Yedidyah?
Forth to our conversation with Ido, and to latest fix, moving this bug to verified as it works as expected now on these components: ovirt-hosted-engine-ha-2.2.15-1.el7ev.noarch ovirt-hosted-engine-setup-2.2.23-1.el7ev.noarch rhvm-appliance-4.2-20180620.0.el7.noarch Linux 3.10.0-862.6.3.el7.x86_64 #1 SMP Fri Jun 15 17:57:37 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux Server release 7.5 (Maipo) I see that logging is done in Json mode and much more structured that before: 2018-07-08 14:13:02,089+0300 DEBUG var changed: host "localhost" var "ansible_libvirt_networks" type "<type 'dict'>" value: "{ "default": { "autostart": "yes", "bridge": "virbr0", "dhcp_leases": [], "forward_mode": "nat", "macaddress": "52:54:00:fb:ff:0e", "persistent": "yes", "state": "active", "uuid": "041770be-b0d0-4f3e-9062-cac1c59f8c2f" } }" 2018-07-08 14:13:02,090+0300 INFO ansible ok {'status': 'OK', 'ansible_task': u'Get libvirt interfaces', 'ansible_host': u'localhost', 'ansible_playbook': u'/usr/share/ovirt-hosted-engine-setup/ansible/bootstrap_local_vm.yml', 'ansible_type': 'task'} 2018-07-08 14:13:02,090+0300 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9aebda8810> kwargs 2018-07-08 14:13:02,673+0300 INFO ansible task start {'status': 'OK', 'ansible_task': u'Get routing rules', 'ansible_playbook': u'/usr/share/ovirt-hosted-engine-setup/ansible/bootstrap_local_vm.yml', 'ansible_type': 'task'} 2018-07-08 14:13:02,673+0300 DEBUG ansible on_any args TASK: Get routing rules kwargs is_conditional:False 2018-07-08 14:13:03,906+0300 DEBUG var changed: host "localhost" var "route_rules" type "<type 'dict'>" value: "{ "changed": true, "cmd": [ "ip", "rule" ], "delta": "0:00:00.084156", "end": "2018-07-08 14:13:03.337497", "failed": false, "rc": 0, "start": "2018-07-08 14:13:03.253341", "stderr": "", "stderr_lines": [], "stdout": "0:\tfrom all lookup local \n32766:\tfrom all lookup main \n32767:\tfrom all lookup default ", "stdout_lines": [ "0:\tfrom all lookup local ", "32766:\tfrom all lookup main ", "32767:\tfrom all lookup default " ] }" VS: https://bugzilla.redhat.com/attachment.cgi?id=1453208
This bugzilla is included in oVirt 4.2.5 release, published on July 30th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.5 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.