Bug 1574336
Summary: | Ansible logging improvements | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-hosted-engine-setup | Reporter: | Yedidyah Bar David <didi> | ||||||
Component: | General | Assignee: | Ido Rosenzwig <irosenzw> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Nikolai Sednev <nsednev> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 2.2.1 | CC: | bugs, didi, stirabos, ylavi | ||||||
Target Milestone: | ovirt-4.2.5 | Keywords: | Triaged | ||||||
Target Release: | 2.2.23 | Flags: | nsednev:
needinfo-
rule-engine: ovirt-4.2+ |
||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | ovirt-hosted-engine-setup-2.2.23-1.el7ev | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2018-07-31 15:26:48 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1596330 | ||||||||
Attachments: |
|
Description
Yedidyah Bar David
2018-05-03 05:32:49 UTC
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. |