# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Ensure that the role runs with parameters from ovirt to two elasticsearch outputs and local files output] *** TASK [Gathering Facts] ********************************************************* Friday 19 August 2022 23:48:00 +0000 (0:00:00.019) 0:00:00.019 ********* ok: [sut] TASK [TEST CASE 0; Ensure basic ovirt default configuration works] ************* Friday 19 August 2022 23:48:01 +0000 (0:00:01.119) 0:00:01.139 ********* TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** Friday 19 August 2022 23:48:01 +0000 (0:00:00.064) 0:00:01.204 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ Friday 19 August 2022 23:48:01 +0000 (0:00:00.063) 0:00:01.268 ********* ok: [sut] => { "ansible_facts": { "rsyslog_outputs": [ { "name": "default_files", "type": "files" }, { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": "logging-es", "server_port": 9200, "type": "elasticsearch", "uid": "testuser0" }, { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": ".operations.", "input_type": "ovirt", "name": "elasticsearch_output_ops", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": "logging-es-ops", "server_port": 9200, "type": "elasticsearch" } ] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* Friday 19 August 2022 23:48:01 +0000 (0:00:00.074) 0:00:01.342 ********* ok: [sut] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "type": "basics" }, { "name": "ovirt_collectd_input", "subtype": "collectd", "type": "ovirt" }, { "name": "ovirt_engine_input", "subtype": "engine", "type": "ovirt" }, { "name": "ovirt_vdsm_input", "subtype": "vdsm", "type": "ovirt" }, { "name": "ovirt_bogus_input", "subtype": "bogus", "type": "ovirt" } ] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** Friday 19 August 2022 23:48:01 +0000 (0:00:00.075) 0:00:01.417 ********* skipping: [sut] => (item={'name': 'default_files', 'type': 'files'}) => { "ansible_loop_var": "item", "changed": false, "item": { "name": "default_files", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'elasticsearch_output', 'type': 'elasticsearch', 'server_host': 'logging-es', 'server_port': 9200, 'index_prefix': 'project.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'uid': 'testuser0'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": "logging-es", "server_port": 9200, "type": "elasticsearch", "uid": "testuser0" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'elasticsearch_output_ops', 'type': 'elasticsearch', 'server_host': 'logging-es-ops', 'server_port': 9200, 'index_prefix': '.operations.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": ".operations.", "input_type": "ovirt", "name": "elasticsearch_output_ops", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": "logging-es-ops", "server_port": 9200, "type": "elasticsearch" }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** Friday 19 August 2022 23:48:01 +0000 (0:00:00.090) 0:00:01.508 ********* skipping: [sut] => (item={'name': 'flow_0', 'inputs': ['ovirt_collectd_input', 'ovirt_engine_input', 'ovirt_vdsm_input'], 'outputs': ['elasticsearch_output', 'elasticsearch_output_ops']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "ovirt_collectd_input", "ovirt_engine_input", "ovirt_vdsm_input" ], "name": "flow_0", "outputs": [ "elasticsearch_output", "elasticsearch_output_ops" ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'flow_1', 'inputs': ['basic_input'], 'outputs': ['default_files']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flow_1", "outputs": [ "default_files" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** Friday 19 August 2022 23:48:01 +0000 (0:00:00.089) 0:00:01.597 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* Friday 19 August 2022 23:48:01 +0000 (0:00:00.058) 0:00:01.656 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** Friday 19 August 2022 23:48:01 +0000 (0:00:00.057) 0:00:01.713 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** Friday 19 August 2022 23:48:01 +0000 (0:00:00.055) 0:00:01.769 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Use a debug var to avoid an empty dict in with_dict] *** Friday 19 August 2022 23:48:02 +0000 (0:00:00.054) 0:00:01.823 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** Friday 19 August 2022 23:48:02 +0000 (0:00:00.055) 0:00:01.879 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** Friday 19 August 2022 23:48:02 +0000 (0:00:00.055) 0:00:01.935 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:48:02 +0000 (0:00:00.053) 0:00:01.988 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:48:02 +0000 (0:00:00.056) 0:00:02.045 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:48:02 +0000 (0:00:00.445) 0:00:02.491 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/main.yml] *** Friday 19 August 2022 23:48:02 +0000 (0:00:00.078) 0:00:02.570 ********* skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** Friday 19 August 2022 23:48:02 +0000 (0:00:00.117) 0:00:02.687 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/main_core.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** Friday 19 August 2022 23:48:02 +0000 (0:00:00.095) 0:00:02.783 ********* skipping: [sut] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** Friday 19 August 2022 23:48:03 +0000 (0:00:00.052) 0:00:02.836 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:48:03 +0000 (0:00:00.048) 0:00:02.884 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** Friday 19 August 2022 23:48:05 +0000 (0:00:02.171) 0:00:05.056 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** Friday 19 August 2022 23:48:05 +0000 (0:00:00.040) 0:00:05.097 ********* ok: [sut] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "aspell": [ { "arch": "x86_64", "epoch": 12, "name": "aspell", "release": "22.el8", "source": "rpm", "version": "0.60.6.1" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el8", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el8", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "1.el8", "source": "rpm", "version": "1.2.5" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "1.el8", "source": "rpm", "version": "1.2.5" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "1.el8", "source": "rpm", "version": "1.2.5" } ], "avahi-libs": [ { "arch": "x86_64", "epoch": null, "name": "avahi-libs", "release": "20.el8", "source": "rpm", "version": "0.7" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "5.el8", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "4.el8", "source": "rpm", "version": "4.4.20" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "5.el8", "source": "rpm", "version": "1.07.1" } ], "beakerlib": [ { "arch": "noarch", "epoch": null, "name": "beakerlib", "release": "1.el8bkr", "source": "rpm", "version": "1.29.1" } ], "beakerlib-redhat": [ { "arch": "noarch", "epoch": null, "name": "beakerlib-redhat", "release": "33.el8bkr", "source": "rpm", "version": "1" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "4.el8", "source": "rpm", "version": "9.11.36" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "117.el8", "source": "rpm", "version": "2.30" } ], "biosdevname": [ { "arch": "x86_64", "epoch": null, "name": "biosdevname", "release": "2.el8", "source": "rpm", "version": "0.7.3" } ], "boost-atomic": [ { "arch": "x86_64", "epoch": null, "name": "boost-atomic", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-chrono": [ { "arch": "x86_64", "epoch": null, "name": "boost-chrono", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-date-time": [ { "arch": "x86_64", "epoch": null, "name": "boost-date-time", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "boost-filesystem", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-system": [ { "arch": "x86_64", "epoch": null, "name": "boost-system", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-thread": [ { "arch": "x86_64", "epoch": null, "name": "boost-thread", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-timer": [ { "arch": "x86_64", "epoch": null, "name": "boost-timer", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "brotli": [ { "arch": "x86_64", "epoch": null, "name": "brotli", "release": "3.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "6.el8", "source": "rpm", "version": "1.13.0" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "80.2.el8_6", "source": "rpm", "version": "2022.2.54" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el8", "source": "rpm", "version": "2.9" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el8", "source": "rpm", "version": "1.19.1" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el8", "source": "rpm", "version": "4.2" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "4.el8", "source": "rpm", "version": "22.1" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "3.el8", "source": "rpm", "version": "0.31" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "13.el8", "source": "rpm", "version": "8.30" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "13.el8", "source": "rpm", "version": "8.30" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "11.el8", "source": "rpm", "version": "2.12" } ], "cpp": [ { "arch": "x86_64", "epoch": null, "name": "cpp", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "createrepo_c": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c", "release": "6.el8", "source": "rpm", "version": "0.17.7" } ], "createrepo_c-libs": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c-libs", "release": "6.el8", "source": "rpm", "version": "0.17.7" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "8.el8", "source": "rpm", "version": "1.5.2" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "8.el8", "source": "rpm", "version": "1.5.2" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "17.20190603git.el8", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "2.el8", "source": "rpm", "version": "2.3.7" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "25.el8", "source": "rpm", "version": "7.61.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "6.el8_5", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-daemon": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-daemon", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "2.el8", "source": "rpm", "version": "0.110" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbxtool": [ { "arch": "x86_64", "epoch": null, "name": "dbxtool", "release": "5.el8_3.2", "source": "rpm", "version": "8" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper", "release": "6.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "6.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "48.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "48.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "48.el8", "source": "rpm", "version": "4.3.6" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "6.el8", "source": "rpm", "version": "3.6" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "4.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "dnf-plugin-subscription-manager", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "14.el8", "source": "rpm", "version": "4.0.21" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "drpm": [ { "arch": "x86_64", "epoch": null, "name": "drpm", "release": "3.el8", "source": "rpm", "version": "0.4.1" } ], "dyninst": [ { "arch": "x86_64", "epoch": null, "name": "dyninst", "release": "1.el8", "source": "rpm", "version": "12.1.0" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "3.el8", "source": "rpm", "version": "3" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "1.el8", "source": "rpm", "version": "16" } ], "efivar": [ { "arch": "x86_64", "epoch": null, "name": "efivar", "release": "4.el8", "source": "rpm", "version": "37" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "4.el8", "source": "rpm", "version": "37" } ], "elfutils-debuginfod-client": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-debuginfod-client-devel": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client-devel", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-devel": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-devel", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-libelf-devel": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf-devel", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "emacs-filesystem": [ { "arch": "noarch", "epoch": 1, "name": "emacs-filesystem", "release": "7.el8", "source": "rpm", "version": "26.1" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "2.el8", "source": "rpm", "version": "5.13" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "9.el8", "source": "rpm", "version": "2.2.5" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "6.el8", "source": "rpm", "version": "3.8" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "20.el8", "source": "rpm", "version": "4.6.0" } ], "firewalld": [ { "arch": "noarch", "epoch": null, "name": "firewalld", "release": "13.el8", "source": "rpm", "version": "0.9.3" } ], "firewalld-filesystem": [ { "arch": "noarch", "epoch": null, "name": "firewalld-filesystem", "release": "13.el8", "source": "rpm", "version": "0.9.3" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "9.el8", "source": "rpm", "version": "2.9.1" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "16.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el8", "source": "rpm", "version": "4.2.1" } ], "gcc": [ { "arch": "x86_64", "epoch": null, "name": "gcc", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "gdbm": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm", "release": "2.el8", "source": "rpm", "version": "1.18" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "2.el8", "source": "rpm", "version": "1.18" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "11.el8", "source": "rpm", "version": "1.0.3" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "git": [ { "arch": "x86_64", "epoch": null, "name": "git", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "git-core": [ { "arch": "x86_64", "epoch": null, "name": "git-core", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "git-core-doc": [ { "arch": "noarch", "epoch": null, "name": "git-core-doc", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "159.el8", "source": "rpm", "version": "2.56.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-devel": [ { "arch": "x86_64", "epoch": null, "name": "glibc-devel", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-headers": [ { "arch": "x86_64", "epoch": null, "name": "glibc-headers", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-langpack-en": [ { "arch": "x86_64", "epoch": null, "name": "glibc-langpack-en", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el8", "source": "rpm", "version": "6.1.2" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "3.el8_6", "source": "rpm", "version": "2.2.20" } ], "gnupg2-smime": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2-smime", "release": "3.el8_6", "source": "rpm", "version": "2.2.20" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "4.el8", "source": "rpm", "version": "3.6.16" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el8", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "5cf7cefb", "source": "rpm", "version": "2f86d6a1" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "gpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "gpm-libs", "release": "17.el8", "source": "rpm", "version": "1.20.7" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "6.el8", "source": "rpm", "version": "3.1" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "18.el8", "source": "rpm", "version": "1.22.3" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "45.el8", "source": "rpm", "version": "8.40" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "21.el8", "source": "rpm", "version": "0.8.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "13.el8", "source": "rpm", "version": "1.9" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "6.el8", "source": "rpm", "version": "1.3" } ], "hdparm": [ { "arch": "x86_64", "epoch": null, "name": "hdparm", "release": "4.el8", "source": "rpm", "version": "9.54" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el8", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.13.el8", "source": "rpm", "version": "0.314" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "12.el8", "source": "rpm", "version": "1.3.2" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "7.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.18" } ], "insights-client": [ { "arch": "noarch", "epoch": 0, "name": "insights-client", "release": "8.el8", "source": "rpm", "version": "3.1.7" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "4.el8", "source": "rpm", "version": "0.2.4" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "1.el8", "source": "rpm", "version": "5.18.0" } ], "iprutils": [ { "arch": "x86_64", "epoch": null, "name": "iprutils", "release": "1.el8", "source": "rpm", "version": "2.4.19" } ], "ipset": [ { "arch": "x86_64", "epoch": null, "name": "ipset", "release": "1.el8", "source": "rpm", "version": "7.1" } ], "ipset-libs": [ { "arch": "x86_64", "epoch": null, "name": "ipset-libs", "release": "1.el8", "source": "rpm", "version": "7.1" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "23.el8", "source": "rpm", "version": "1.8.4" } ], "iptables-ebtables": [ { "arch": "x86_64", "epoch": null, "name": "iptables-ebtables", "release": "23.el8", "source": "rpm", "version": "1.8.4" } ], "iptables-libs": [ { "arch": "x86_64", "epoch": null, "name": "iptables-libs", "release": "23.el8", "source": "rpm", "version": "1.8.4" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el8", "source": "rpm", "version": "20180629" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "3.el8", "source": "rpm", "version": "1.9.0" } ], "isl": [ { "arch": "x86_64", "epoch": null, "name": "isl", "release": "6.el8", "source": "rpm", "version": "0.16.1" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el8", "source": "rpm", "version": "2.14" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "3.el8", "source": "rpm", "version": "0.13.1" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-devel": [ { "arch": "x86_64", "epoch": null, "name": "kernel-devel", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-headers": [ { "arch": "x86_64", "epoch": null, "name": "kernel-headers", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "6.el8", "source": "rpm", "version": "2.0.24" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "19.el8", "source": "rpm", "version": "25" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "19.el8", "source": "rpm", "version": "25" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "26.el8", "source": "rpm", "version": "0.8.4" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "21.el8", "source": "rpm", "version": "1.18.2" } ], "langpacks-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-en", "release": "12.el8", "source": "rpm", "version": "1.0" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el8", "source": "rpm", "version": "530" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "4.el8", "source": "rpm", "version": "3.3.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el8", "source": "rpm", "version": "2.5.1" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el8", "source": "rpm", "version": "2.4.48" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "40.el8", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "1.el8", "source": "rpm", "version": "0.5.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "4.el8", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "1.el8", "source": "rpm", "version": "0.7.11" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "40.el8", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "4.el8_2.1", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "25.el8", "source": "rpm", "version": "7.61.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "15.el8", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "40.el8", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "11.el8", "source": "rpm", "version": "0.63.0" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "23.20170329cvs.el8", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "3.el8", "source": "rpm", "version": "0.1.10" } ], "libev": [ { "arch": "x86_64", "epoch": null, "name": "libev", "release": "6.el8", "source": "rpm", "version": "4.24" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "5.el8", "source": "rpm", "version": "2.1.8" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "1.el8", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "23.el8", "source": "rpm", "version": "3.1" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "7.el8_6", "source": "rpm", "version": "1.8.5" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "1.el8", "source": "rpm", "version": "1.31" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "1.el8", "source": "rpm", "version": "41.0" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "1.el8", "source": "rpm", "version": "2.2.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "40.el8", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "7.el8", "source": "rpm", "version": "1.3.5" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "2.el8", "source": "rpm", "version": "2.5.2" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "10.el8", "source": "rpm", "version": "1.2.0" } ], "libmetalink": [ { "arch": "x86_64", "epoch": null, "name": "libmetalink", "release": "7.el8", "source": "rpm", "version": "0.1.3" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "6.el8", "source": "rpm", "version": "1.0.4" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "1.el8", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libmpc": [ { "arch": "x86_64", "epoch": null, "name": "libmpc", "release": "9.1.el8", "source": "rpm", "version": "1.1.0" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "6.el8", "source": "rpm", "version": "1.7" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "5.el8", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "13.el8", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "57.el8", "source": "rpm", "version": "2.3.3" } ], "libnftnl": [ { "arch": "x86_64", "epoch": null, "name": "libnftnl", "release": "5.el8", "source": "rpm", "version": "1.1.5" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "3.el8_2.1", "source": "rpm", "version": "1.33.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "libnsl2": [ { "arch": "x86_64", "epoch": null, "name": "libnsl2", "release": "2.20180605git4a062cf.el8", "source": "rpm", "version": "1.2.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "40.el8", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "5.el8", "source": "rpm", "version": "1.9.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "libpkgconf": [ { "arch": "x86_64", "epoch": null, "name": "libpkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "5.el8", "source": "rpm", "version": "1.6.34" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "6.el8", "source": "rpm", "version": "0.20.2" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "3.el8", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "40.el8", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "3.el8", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "libreport-filesystem", "release": "15.el8", "source": "rpm", "version": "2.9.5" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "4.el8", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "1.el8", "source": "rpm", "version": "2.5.2" } ], "libsecret": [ { "arch": "x86_64", "epoch": null, "name": "libsecret", "release": "1.el8", "source": "rpm", "version": "0.18.6" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "6.el8", "source": "rpm", "version": "2.9" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "6.el8", "source": "rpm", "version": "2.9" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "9.el8", "source": "rpm", "version": "2.9" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "3.el8", "source": "rpm", "version": "2.9" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "5.el8", "source": "rpm", "version": "2.11" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "3.el8", "source": "rpm", "version": "0.7.20" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libsss_autofs": [ { "arch": "x86_64", "epoch": null, "name": "libsss_autofs", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "25.el8", "source": "rpm", "version": "2.1.0" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "2.el8", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "3.el8", "source": "rpm", "version": "4.13" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el8", "source": "rpm", "version": "1.4.6" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el8", "source": "rpm", "version": "0.12.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "8.el8", "source": "rpm", "version": "1.1.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "3.el8", "source": "rpm", "version": "0.9.9" } ], "libusbx": [ { "arch": "x86_64", "epoch": null, "name": "libusbx", "release": "4.el8", "source": "rpm", "version": "1.0.23" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "24.el8", "source": "rpm", "version": "0.62" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "14.el8", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "2.el8", "source": "rpm", "version": "0.3.2" } ], "libverto-libev": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libev", "release": "2.el8", "source": "rpm", "version": "0.3.2" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxcrypt-devel": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt-devel", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxkbcommon": [ { "arch": "x86_64", "epoch": null, "name": "libxkbcommon", "release": "1.el8", "source": "rpm", "version": "0.9.1" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "14.el8", "source": "rpm", "version": "2.9.7" } ], "libxslt": [ { "arch": "x86_64", "epoch": null, "name": "libxslt", "release": "6.el8", "source": "rpm", "version": "1.1.32" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "5.el8", "source": "rpm", "version": "0.1.7" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "libzstd-devel": [ { "arch": "x86_64", "epoch": null, "name": "libzstd-devel", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "110.git150864a4.el8", "source": "rpm", "version": "20220726" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "1.el8", "source": "rpm", "version": "0.9.24" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "4.el8", "source": "rpm", "version": "3.14.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "6.el8", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "3.el8", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "12.el8", "source": "rpm", "version": "5.3.4" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "3.el8_4", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "14.el8", "source": "rpm", "version": "2.08" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "11.el8", "source": "rpm", "version": "4.2.1" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "18.el8", "source": "rpm", "version": "2.7.6.1" } ], "memstrack": [ { "arch": "x86_64", "epoch": null, "name": "memstrack", "release": "2.el8", "source": "rpm", "version": "0.2.4" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 4, "name": "microcode_ctl", "release": "1.el8", "source": "rpm", "version": "20220510" } ], "mokutil": [ { "arch": "x86_64", "epoch": 1, "name": "mokutil", "release": "12.el8", "source": "rpm", "version": "0.3.0" } ], "mozjs60": [ { "arch": "x86_64", "epoch": null, "name": "mozjs60", "release": "4.el8", "source": "rpm", "version": "60.9.0" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "1.el8", "source": "rpm", "version": "3.1.6" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "7.el8", "source": "rpm", "version": "3.4.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el8", "source": "rpm", "version": "0.52.20" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "57.el8", "source": "rpm", "version": "2.3.3" } ], "nftables": [ { "arch": "x86_64", "epoch": 1, "name": "nftables", "release": "26.el8", "source": "rpm", "version": "0.9.3" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "4.el8", "source": "rpm", "version": "1.5" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "3.el8_6", "source": "rpm", "version": "4.34.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "13.el8", "source": "rpm", "version": "2.0.12" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "18.el8", "source": "rpm", "version": "2.4.46" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "16.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "16.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "16.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "7.el8_6", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "7.el8_6", "source": "rpm", "version": "1.1.1k" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "2.el8", "source": "rpm", "version": "0.4.10" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el8", "source": "rpm", "version": "1.74" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "22.el8", "source": "rpm", "version": "1.3.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "39.el8", "source": "rpm", "version": "3.2" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "4.el8", "source": "rpm", "version": "0.80" } ], "pciutils": [ { "arch": "x86_64", "epoch": null, "name": "pciutils", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "6.el8", "source": "rpm", "version": "8.42" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "3.el8_6", "source": "rpm", "version": "10.32" } ], "perl-Carp": [ { "arch": "noarch", "epoch": null, "name": "perl-Carp", "release": "396.el8", "source": "rpm", "version": "1.42" } ], "perl-Data-Dumper": [ { "arch": "x86_64", "epoch": null, "name": "perl-Data-Dumper", "release": "399.el8", "source": "rpm", "version": "2.167" } ], "perl-Digest": [ { "arch": "noarch", "epoch": null, "name": "perl-Digest", "release": "395.el8", "source": "rpm", "version": "1.17" } ], "perl-Digest-MD5": [ { "arch": "x86_64", "epoch": null, "name": "perl-Digest-MD5", "release": "396.el8", "source": "rpm", "version": "2.55" } ], "perl-Encode": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Encode", "release": "3.el8", "source": "rpm", "version": "2.97" } ], "perl-Errno": [ { "arch": "x86_64", "epoch": 0, "name": "perl-Errno", "release": "421.el8", "source": "rpm", "version": "1.28" } ], "perl-Error": [ { "arch": "noarch", "epoch": 1, "name": "perl-Error", "release": "2.el8", "source": "rpm", "version": "0.17025" } ], "perl-Exporter": [ { "arch": "noarch", "epoch": null, "name": "perl-Exporter", "release": "396.el8", "source": "rpm", "version": "5.72" } ], "perl-File-Path": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Path", "release": "2.el8", "source": "rpm", "version": "2.15" } ], "perl-File-Temp": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Temp", "release": "1.el8", "source": "rpm", "version": "0.230.600" } ], "perl-Getopt-Long": [ { "arch": "noarch", "epoch": 1, "name": "perl-Getopt-Long", "release": "4.el8", "source": "rpm", "version": "2.50" } ], "perl-Git": [ { "arch": "noarch", "epoch": null, "name": "perl-Git", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "perl-HTTP-Tiny": [ { "arch": "noarch", "epoch": null, "name": "perl-HTTP-Tiny", "release": "1.el8", "source": "rpm", "version": "0.074" } ], "perl-IO": [ { "arch": "x86_64", "epoch": 0, "name": "perl-IO", "release": "421.el8", "source": "rpm", "version": "1.38" } ], "perl-IO-Socket-IP": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-IP", "release": "5.el8", "source": "rpm", "version": "0.39" } ], "perl-IO-Socket-SSL": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-SSL", "release": "4.module+el8.3.0+6446+594cad75", "source": "rpm", "version": "2.066" } ], "perl-MIME-Base64": [ { "arch": "x86_64", "epoch": null, "name": "perl-MIME-Base64", "release": "396.el8", "source": "rpm", "version": "3.15" } ], "perl-Mozilla-CA": [ { "arch": "noarch", "epoch": null, "name": "perl-Mozilla-CA", "release": "7.module+el8.3.0+6498+9eecfe51", "source": "rpm", "version": "20160104" } ], "perl-Net-SSLeay": [ { "arch": "x86_64", "epoch": null, "name": "perl-Net-SSLeay", "release": "2.module+el8.6.0+13392+f0897f98", "source": "rpm", "version": "1.88" } ], "perl-PathTools": [ { "arch": "x86_64", "epoch": null, "name": "perl-PathTools", "release": "1.el8", "source": "rpm", "version": "3.74" } ], "perl-Pod-Escapes": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Escapes", "release": "395.el8", "source": "rpm", "version": "1.07" } ], "perl-Pod-Perldoc": [ { "arch": "noarch", "epoch": null, "name": "perl-Pod-Perldoc", "release": "396.el8", "source": "rpm", "version": "3.28" } ], "perl-Pod-Simple": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Simple", "release": "395.el8", "source": "rpm", "version": "3.35" } ], "perl-Pod-Usage": [ { "arch": "noarch", "epoch": 4, "name": "perl-Pod-Usage", "release": "395.el8", "source": "rpm", "version": "1.69" } ], "perl-Scalar-List-Utils": [ { "arch": "x86_64", "epoch": 3, "name": "perl-Scalar-List-Utils", "release": "2.el8", "source": "rpm", "version": "1.49" } ], "perl-Socket": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Socket", "release": "3.el8", "source": "rpm", "version": "2.027" } ], "perl-Storable": [ { "arch": "x86_64", "epoch": 1, "name": "perl-Storable", "release": "3.el8", "source": "rpm", "version": "3.11" } ], "perl-Term-ANSIColor": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-ANSIColor", "release": "396.el8", "source": "rpm", "version": "4.06" } ], "perl-Term-Cap": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-Cap", "release": "395.el8", "source": "rpm", "version": "1.17" } ], "perl-TermReadKey": [ { "arch": "x86_64", "epoch": null, "name": "perl-TermReadKey", "release": "7.el8", "source": "rpm", "version": "2.37" } ], "perl-Text-ParseWords": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-ParseWords", "release": "395.el8", "source": "rpm", "version": "3.30" } ], "perl-Text-Tabs+Wrap": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-Tabs+Wrap", "release": "395.el8", "source": "rpm", "version": "2013.0523" } ], "perl-Time-Local": [ { "arch": "noarch", "epoch": 1, "name": "perl-Time-Local", "release": "1.el8", "source": "rpm", "version": "1.280" } ], "perl-URI": [ { "arch": "noarch", "epoch": null, "name": "perl-URI", "release": "3.el8", "source": "rpm", "version": "1.73" } ], "perl-Unicode-Normalize": [ { "arch": "x86_64", "epoch": null, "name": "perl-Unicode-Normalize", "release": "396.el8", "source": "rpm", "version": "1.25" } ], "perl-constant": [ { "arch": "noarch", "epoch": null, "name": "perl-constant", "release": "396.el8", "source": "rpm", "version": "1.33" } ], "perl-interpreter": [ { "arch": "x86_64", "epoch": 4, "name": "perl-interpreter", "release": "421.el8", "source": "rpm", "version": "5.26.3" } ], "perl-libnet": [ { "arch": "noarch", "epoch": null, "name": "perl-libnet", "release": "3.el8", "source": "rpm", "version": "3.11" } ], "perl-libs": [ { "arch": "x86_64", "epoch": 4, "name": "perl-libs", "release": "421.el8", "source": "rpm", "version": "5.26.3" } ], "perl-macros": [ { "arch": "x86_64", "epoch": 4, "name": "perl-macros", "release": "421.el8", "source": "rpm", "version": "5.26.3" } ], "perl-parent": [ { "arch": "noarch", "epoch": 1, "name": "perl-parent", "release": "1.el8", "source": "rpm", "version": "0.237" } ], "perl-podlators": [ { "arch": "noarch", "epoch": null, "name": "perl-podlators", "release": "1.el8", "source": "rpm", "version": "4.11" } ], "perl-threads": [ { "arch": "x86_64", "epoch": 1, "name": "perl-threads", "release": "2.el8", "source": "rpm", "version": "2.21" } ], "perl-threads-shared": [ { "arch": "x86_64", "epoch": null, "name": "perl-threads-shared", "release": "2.el8", "source": "rpm", "version": "1.58" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el8", "source": "rpm", "version": "2.4" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "2.el8", "source": "rpm", "version": "1.1.0" } ], "pkgconf": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-m4": [ { "arch": "noarch", "epoch": null, "name": "pkgconf-m4", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-pkg-config": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf-pkg-config", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "platform-python": [ { "arch": "x86_64", "epoch": null, "name": "platform-python", "release": "47.el8", "source": "rpm", "version": "3.6.8" } ], "platform-python-pip": [ { "arch": "noarch", "epoch": null, "name": "platform-python-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "platform-python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "platform-python-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "plymouth": [ { "arch": "x86_64", "epoch": null, "name": "plymouth", "release": "11.20200615git1e36e30.el8", "source": "rpm", "version": "0.9.4" } ], "plymouth-core-libs": [ { "arch": "x86_64", "epoch": null, "name": "plymouth-core-libs", "release": "11.20200615git1e36e30.el8", "source": "rpm", "version": "0.9.4" } ], "plymouth-scripts": [ { "arch": "x86_64", "epoch": null, "name": "plymouth-scripts", "release": "11.20200615git1e36e30.el8", "source": "rpm", "version": "0.9.4" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "20.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "12.el8", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "6.el8", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "8.el8", "source": "rpm", "version": "3.3.15" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "5.el8", "source": "rpm", "version": "23.1" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "1.el8", "source": "rpm", "version": "20180723" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "4.el8", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "7.el8", "source": "rpm", "version": "2.5.1" } ], "python3-cffi": [ { "arch": "x86_64", "epoch": null, "name": "python3-cffi", "release": "5.el8", "source": "rpm", "version": "1.11.5" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "7.el8", "source": "rpm", "version": "3.0.4" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "11.el8", "source": "rpm", "version": "5.0.6" } ], "python3-cryptography": [ { "arch": "x86_64", "epoch": null, "name": "python3-cryptography", "release": "5.el8", "source": "rpm", "version": "3.2.1" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el8", "source": "rpm", "version": "2.6.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "15.el8", "source": "rpm", "version": "1.2.4" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "2.el8", "source": "rpm", "version": "4.2.1" } ], "python3-dmidecode": [ { "arch": "x86_64", "epoch": null, "name": "python3-dmidecode", "release": "15.el8", "source": "rpm", "version": "3.12.2" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "14.el8", "source": "rpm", "version": "4.0.21" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "5.el8", "source": "rpm", "version": "0.14" } ], "python3-firewall": [ { "arch": "noarch", "epoch": null, "name": "python3-firewall", "release": "13.el8", "source": "rpm", "version": "0.9.3" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "11.el8", "source": "rpm", "version": "0.63.0" } ], "python3-html5lib": [ { "arch": "noarch", "epoch": 1, "name": "python3-html5lib", "release": "6.el8", "source": "rpm", "version": "0.999999999" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "5.el8", "source": "rpm", "version": "2.5" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "31.el8", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "13.el8", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "3.el8", "source": "rpm", "version": "2.10.1" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "2.el8", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "11.el8", "source": "rpm", "version": "1.10" } ], "python3-jsonschema": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonschema", "release": "4.el8", "source": "rpm", "version": "2.6.0" } ], "python3-jwt": [ { "arch": "noarch", "epoch": null, "name": "python3-jwt", "release": "2.el8", "source": "rpm", "version": "1.6.1" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "11.el8", "source": "rpm", "version": "0.63.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "3.el8", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "47.el8", "source": "rpm", "version": "3.6.8" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "6.el8", "source": "rpm", "version": "2.9" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "9.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "14.el8", "source": "rpm", "version": "2.9.7" } ], "python3-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python3-linux-procfs", "release": "1.el8", "source": "rpm", "version": "0.7.0" } ], "python3-lxml": [ { "arch": "x86_64", "epoch": null, "name": "python3-lxml", "release": "4.el8", "source": "rpm", "version": "4.2.3" } ], "python3-magic": [ { "arch": "noarch", "epoch": null, "name": "python3-magic", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "4.el8", "source": "rpm", "version": "0.10.6" } ], "python3-nftables": [ { "arch": "x86_64", "epoch": 1, "name": "python3-nftables", "release": "26.el8", "source": "rpm", "version": "0.9.3" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "1.el8", "source": "rpm", "version": "2.1.0" } ], "python3-perf": [ { "arch": "x86_64", "epoch": null, "name": "python3-perf", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "python3-pip": [ { "arch": "noarch", "epoch": null, "name": "python3-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-ply": [ { "arch": "noarch", "epoch": null, "name": "python3-ply", "release": "9.el8", "source": "rpm", "version": "3.9" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "20.el8", "source": "rpm", "version": "2.9" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "14.el8", "source": "rpm", "version": "0.7.2" } ], "python3-pycparser": [ { "arch": "noarch", "epoch": null, "name": "python3-pycparser", "release": "14.el8", "source": "rpm", "version": "2.14" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "8.el8", "source": "rpm", "version": "3.1.1" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "3.el8", "source": "rpm", "version": "1.6.8" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "9.el8", "source": "rpm", "version": "2017.2" } ], "python3-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python3-pyudev", "release": "7.el8", "source": "rpm", "version": "0.21.0" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "12.el8", "source": "rpm", "version": "3.12" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "2.1.el8_1", "source": "rpm", "version": "2.20.0" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "3.el8", "source": "rpm", "version": "4.3.0" } ], "python3-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "8.el8", "source": "rpm", "version": "1.11.0" } ], "python3-slip": [ { "arch": "noarch", "epoch": null, "name": "python3-slip", "release": "13.el8", "source": "rpm", "version": "0.6.4" } ], "python3-slip-dbus": [ { "arch": "noarch", "epoch": null, "name": "python3-slip-dbus", "release": "13.el8", "source": "rpm", "version": "0.6.4" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "python3-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "python3-unbound": [ { "arch": "x86_64", "epoch": null, "name": "python3-unbound", "release": "2.el8", "source": "rpm", "version": "1.16.2" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "5.el8", "source": "rpm", "version": "1.24.2" } ], "python3-webencodings": [ { "arch": "noarch", "epoch": null, "name": "python3-webencodings", "release": "6.el8", "source": "rpm", "version": "0.5.1" } ], "python36": [ { "arch": "x86_64", "epoch": null, "name": "python36", "release": "38.module+el8.5.0+12207+5c5719bc", "source": "rpm", "version": "3.6.8" } ], "qa-tools": [ { "arch": "noarch", "epoch": null, "name": "qa-tools", "release": "3.el8", "source": "rpm", "version": "4.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 15, "name": "qemu-guest-agent", "release": "18.module+el8.7.0+15999+d24f860e", "source": "rpm", "version": "6.2.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "10.el8", "source": "rpm", "version": "7.0" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "0.2.el8", "source": "rpm", "version": "8.7" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "0.2.el8", "source": "rpm", "version": "8.7" } ], "restraint": [ { "arch": "x86_64", "epoch": null, "name": "restraint", "release": "1.el8bkr", "source": "rpm", "version": "0.4.0" } ], "restraint-rhts": [ { "arch": "x86_64", "epoch": null, "name": "restraint-rhts", "release": "1.el8bkr", "source": "rpm", "version": "0.4.0" } ], "rhc": [ { "arch": "x86_64", "epoch": 1, "name": "rhc", "release": "9.el8", "source": "rpm", "version": "0.2.1" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "1.el8", "source": "rpm", "version": "6.15" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "22.el8", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "10.el8", "source": "rpm", "version": "1.2.5" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "18.el8", "source": "rpm", "version": "3.1.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "10.el8", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "5.el8", "source": "rpm", "version": "4.5" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "106.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "106.el8", "source": "rpm", "version": "3.14.3" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "7.el8", "source": "rpm", "version": "2.12.2" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "6.el8", "source": "rpm", "version": "1.44" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "6.el8", "source": "rpm", "version": "1.44" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "17.el8", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "shim-x64": [ { "arch": "x86_64", "epoch": null, "name": "shim-x64", "release": "1.el8", "source": "rpm", "version": "15.6" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "3.el8", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el8", "source": "rpm", "version": "1.1.8" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "15.el8", "source": "rpm", "version": "3.26.0" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "20.el8", "source": "rpm", "version": "4.3" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "strace": [ { "arch": "x86_64", "epoch": null, "name": "strace", "release": "2.el8", "source": "rpm", "version": "5.18" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "subscription-manager-rhsm-certificates": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "8.el8", "source": "rpm", "version": "1.8.29" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemtap": [ { "arch": "x86_64", "epoch": null, "name": "systemtap", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "systemtap-client": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-client", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "systemtap-devel": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-devel", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "systemtap-runtime": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-runtime", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "6.el8", "source": "rpm", "version": "1.30" } ], "tbb": [ { "arch": "x86_64", "epoch": null, "name": "tbb", "release": "9.el8", "source": "rpm", "version": "2018.2" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "time": [ { "arch": "x86_64", "epoch": null, "name": "time", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "timedatex": [ { "arch": "x86_64", "epoch": null, "name": "timedatex", "release": "3.el8", "source": "rpm", "version": "0.5" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "4.el8", "source": "rpm", "version": "2.3.2" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "trousers-lib": [ { "arch": "x86_64", "epoch": null, "name": "trousers-lib", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "0.1.rc1.el8", "source": "rpm", "version": "2.19.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "2.el8", "source": "rpm", "version": "2022a" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "2.el8", "source": "rpm", "version": "1.16.2" } ], "unzip": [ { "arch": "x86_64", "epoch": null, "name": "unzip", "release": "46.el8", "source": "rpm", "version": "6.0" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "2.el8", "source": "rpm", "version": "1.113" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "vim-common": [ { "arch": "x86_64", "epoch": 2, "name": "vim-common", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "vim-enhanced": [ { "arch": "x86_64", "epoch": 2, "name": "vim-enhanced", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "vim-filesystem": [ { "arch": "noarch", "epoch": 2, "name": "vim-filesystem", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "14.el8", "source": "rpm", "version": "1.18" } ], "wget": [ { "arch": "x86_64", "epoch": null, "name": "wget", "release": "10.el8", "source": "rpm", "version": "1.19.5" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "18.el8", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "10.el8", "source": "rpm", "version": "5.0.0" } ], "xkeyboard-config": [ { "arch": "noarch", "epoch": null, "name": "xkeyboard-config", "release": "1.el8", "source": "rpm", "version": "2.28" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "4.el8_6", "source": "rpm", "version": "5.2.4" } ], "xz-devel": [ { "arch": "x86_64", "epoch": null, "name": "xz-devel", "release": "4.el8_6", "source": "rpm", "version": "5.2.4" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "4.el8_6", "source": "rpm", "version": "5.2.4" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "14.el8", "source": "rpm", "version": "4.0.21" } ], "zip": [ { "arch": "x86_64", "epoch": null, "name": "zip", "release": "23.el8", "source": "rpm", "version": "3.0" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el8", "source": "rpm", "version": "1.2.11" } ], "zlib-devel": [ { "arch": "x86_64", "epoch": null, "name": "zlib-devel", "release": "19.el8", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** Friday 19 August 2022 23:48:07 +0000 (0:00:01.924) 0:00:07.021 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** Friday 19 August 2022 23:48:07 +0000 (0:00:00.070) 0:00:07.092 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** Friday 19 August 2022 23:48:07 +0000 (0:00:00.057) 0:00:07.150 ********* ok: [sut] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** Friday 19 August 2022 23:48:07 +0000 (0:00:00.071) 0:00:07.221 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** Friday 19 August 2022 23:48:07 +0000 (0:00:00.065) 0:00:07.286 ********* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 31, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** Friday 19 August 2022 23:48:07 +0000 (0:00:00.429) 0:00:07.716 ********* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/var/lib/rsyslog", "secontext": "system_u:object_r:syslogd_var_lib_t:s0", "size": 29, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** Friday 19 August 2022 23:48:08 +0000 (0:00:00.298) 0:00:08.014 ********* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/var/log", "secontext": "system_u:object_r:var_log_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** Friday 19 August 2022 23:48:08 +0000 (0:00:00.296) 0:00:08.311 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1660952463.6611743, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1660709593.3169324, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16797940, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1652689130.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "2311432434", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** Friday 19 August 2022 23:48:08 +0000 (0:00:00.467) 0:00:08.779 ********* changed: [sut] => { "changed": true, "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "dest": "/etc/rsyslog.conf", "gid": 0, "group": "root", "md5sum": "e08a7b6fa14b8e9ce4b3f79d00d21c08", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 108, "src": "/root/.ansible/tmp/ansible-tmp-1660952889.0901566-16501-128973537792990/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** Friday 19 August 2022 23:48:09 +0000 (0:00:00.930) 0:00:09.709 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_common_rules": [ { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** Friday 19 August 2022 23:48:10 +0000 (0:00:00.192) 0:00:09.902 ********* changed: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False" } changed: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** Friday 19 August 2022 23:48:11 +0000 (0:00:01.516) 0:00:11.419 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** Friday 19 August 2022 23:48:11 +0000 (0:00:00.088) 0:00:11.507 ********* skipping: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** Friday 19 August 2022 23:48:11 +0000 (0:00:00.086) 0:00:11.594 ********* ok: [sut] => (item={'name': 'basic_input', 'type': 'basics'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "type": "basics" } } ok: [sut] => (item={'name': 'ovirt_collectd_input', 'type': 'ovirt', 'subtype': 'collectd'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_collectd_input", "subtype": "collectd", "type": "ovirt" } } ok: [sut] => (item={'name': 'ovirt_engine_input', 'type': 'ovirt', 'subtype': 'engine'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_engine_input", "subtype": "engine", "type": "ovirt" } } ok: [sut] => (item={'name': 'ovirt_vdsm_input', 'type': 'ovirt', 'subtype': 'vdsm'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_vdsm_input", "subtype": "vdsm", "type": "ovirt" } } ok: [sut] => (item={'name': 'ovirt_bogus_input', 'type': 'ovirt', 'subtype': 'bogus'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_bogus_input", "subtype": "bogus", "type": "ovirt" } } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** Friday 19 August 2022 23:48:11 +0000 (0:00:00.175) 0:00:11.769 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/basics/main.yml for sut => (item={'name': 'basic_input', 'type': 'basics'}) included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut => (item={'name': 'ovirt_collectd_input', 'type': 'ovirt', 'subtype': 'collectd'}) included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut => (item={'name': 'ovirt_engine_input', 'type': 'ovirt', 'subtype': 'engine'}) included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut => (item={'name': 'ovirt_vdsm_input', 'type': 'ovirt', 'subtype': 'vdsm'}) included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut => (item={'name': 'ovirt_bogus_input', 'type': 'ovirt', 'subtype': 'bogus'}) TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update basics input packages] *** Friday 19 August 2022 23:48:12 +0000 (0:00:00.206) 0:00:11.976 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:48:12 +0000 (0:00:00.103) 0:00:12.079 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:48:12 +0000 (0:00:00.069) 0:00:12.149 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:48:12 +0000 (0:00:00.064) 0:00:12.213 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:48:12 +0000 (0:00:00.088) 0:00:12.302 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create basics input configuration file input-basics-basic_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:48:12 +0000 (0:00:00.065) 0:00:12.368 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:48:12 +0000 (0:00:00.133) 0:00:12.502 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:48:12 +0000 (0:00:00.072) 0:00:12.574 ********* changed: [sut] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'module(load="imuxsock" # provides support for local system logging (e.g. via logger command)\n SysSock.Use="off") # Turn off message reception via local log socket.\nmodule(load="imjournal"\n StateFile="/var/lib/rsyslog/imjournal.state"\n RateLimit.Burst="20000"\n RateLimit.Interval="600"\n PersistStateInterval="10")\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call default_files\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:48:13 +0000 (0:00:00.889) 0:00:13.464 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:48:13 +0000 (0:00:00.091) 0:00:13.555 ********* skipping: [sut] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'module(load="imuxsock" # provides support for local system logging (e.g. via logger command)\n SysSock.Use="off") # Turn off message reception via local log socket.\nmodule(load="imjournal"\n StateFile="/var/lib/rsyslog/imjournal.state"\n RateLimit.Burst="20000"\n RateLimit.Interval="600"\n PersistStateInterval="10")\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call default_files\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:48:13 +0000 (0:00:00.219) 0:00:13.774 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:48:14 +0000 (0:00:00.102) 0:00:13.877 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:48:14 +0000 (0:00:00.515) 0:00:14.392 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:48:14 +0000 (0:00:00.146) 0:00:14.539 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:48:14 +0000 (0:00:00.107) 0:00:14.647 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-mmnormalize-8.2102.0-10.el8.x86_64", "Installed: rsyslog-mmjsonparse-8.2102.0-10.el8.x86_64", "Installed: policycoreutils-python-utils-2.9-20.el8.noarch", "Installed: liblognorm-2.0.5-2.el8.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:48:17 +0000 (0:00:03.125) 0:00:17.772 ********* changed: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:48:21 +0000 (0:00:03.527) 0:00:21.300 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:48:21 +0000 (0:00:00.100) 0:00:21.400 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_collectd_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:48:21 +0000 (0:00:00.121) 0:00:21.522 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:48:21 +0000 (0:00:00.116) 0:00:21.639 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:48:21 +0000 (0:00:00.095) 0:00:21.734 ********* changed: [sut] => (item={'name': 'input-ovirt-ovirt_collectd_input', 'type': 'input', 'sections': [{'options': 'input(name="ovirt_collectd_input" type="imtcp" port="44514")\nif $inputname == "ovirt_collectd_input" then {\n set $!original_raw_message = $msg;\n action(name="collectd_mmjsonparse" type="mmjsonparse" cookie="") # parse entire message as json\n set $!@timestamp = exec_template(\'cnvt_to_viaq_timestamp\');\n unset $!time;\n if $!collectd!plugin == \'virt\' then {\n set $!ovirt!entity = \'vms\';\n } else {\n set $!ovirt!entity = \'hosts\';\n }\n set $.index_prefix = "project.ovirt-metrics" & "-" & "engine" & "." & "" & ".";\n set $.input_type = "ovirt";\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output_ops\n}\n'}], 'state': 'present'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:48:22 +0000 (0:00:00.843) 0:00:22.578 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:48:22 +0000 (0:00:00.101) 0:00:22.679 ********* skipping: [sut] => (item={'name': 'input-ovirt-ovirt_collectd_input', 'type': 'input', 'sections': [{'options': 'input(name="ovirt_collectd_input" type="imtcp" port="44514")\nif $inputname == "ovirt_collectd_input" then {\n set $!original_raw_message = $msg;\n action(name="collectd_mmjsonparse" type="mmjsonparse" cookie="") # parse entire message as json\n set $!@timestamp = exec_template(\'cnvt_to_viaq_timestamp\');\n unset $!time;\n if $!collectd!plugin == \'virt\' then {\n set $!ovirt!entity = \'vms\';\n } else {\n set $!ovirt!entity = \'hosts\';\n }\n set $.index_prefix = "project.ovirt-metrics" & "-" & "engine" & "." & "" & ".";\n set $.input_type = "ovirt";\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output_ops\n}\n'}], 'state': 'present'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:48:23 +0000 (0:00:00.171) 0:00:22.851 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:07.588951", "end": "2022-08-19 23:48:31.067455", "rc": 0, "start": "2022-08-19 23:48:23.478504" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:48:31 +0000 (0:00:08.051) 0:00:30.902 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:48:31 +0000 (0:00:00.130) 0:00:31.033 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:48:31 +0000 (0:00:00.524) 0:00:31.558 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:48:31 +0000 (0:00:00.151) 0:00:31.710 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:48:32 +0000 (0:00:00.109) 0:00:31.819 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:48:33 +0000 (0:00:01.803) 0:00:33.623 ********* ok: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:48:37 +0000 (0:00:03.184) 0:00:36.808 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:48:37 +0000 (0:00:00.110) 0:00:36.918 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_engine_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:48:37 +0000 (0:00:00.117) 0:00:37.035 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:48:37 +0000 (0:00:00.118) 0:00:37.154 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:48:37 +0000 (0:00:00.068) 0:00:37.222 ********* changed: [sut] => (item={'name': 'input-ovirt-ovirt_engine_input', 'type': 'input', 'sections': [{'options': 'input(type="imfile" file="/var/log/ovirt-engine/engine.log" tag="ovirt_engine_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_engine_input" then {\n action(name="ovirt-engine_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_engine.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_engine_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-10-64.ec2.internal\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.31.10.64\';\n set $!ovirt!engine_fqdn = \'\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output_ops\n}\n'}], 'state': 'present'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "2fff15ee77c777243bf21b0b8d508f1f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:48:38 +0000 (0:00:00.847) 0:00:38.070 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2fff15ee77c777243bf21b0b8d508f1f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:48:38 +0000 (0:00:00.110) 0:00:38.180 ********* skipping: [sut] => (item={'name': 'input-ovirt-ovirt_engine_input', 'type': 'input', 'sections': [{'options': 'input(type="imfile" file="/var/log/ovirt-engine/engine.log" tag="ovirt_engine_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_engine_input" then {\n action(name="ovirt-engine_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_engine.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_engine_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-10-64.ec2.internal\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.31.10.64\';\n set $!ovirt!engine_fqdn = \'\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output_ops\n}\n'}], 'state': 'present'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:48:38 +0000 (0:00:00.171) 0:00:38.351 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:00.808204", "end": "2022-08-19 23:48:39.620247", "rc": 0, "start": "2022-08-19 23:48:38.812043" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:48:39 +0000 (0:00:01.102) 0:00:39.454 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:48:39 +0000 (0:00:00.133) 0:00:39.588 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:48:40 +0000 (0:00:00.516) 0:00:40.104 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:48:40 +0000 (0:00:00.149) 0:00:40.254 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:48:40 +0000 (0:00:00.110) 0:00:40.364 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:48:42 +0000 (0:00:01.812) 0:00:42.176 ********* ok: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:48:45 +0000 (0:00:03.137) 0:00:45.314 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2fff15ee77c777243bf21b0b8d508f1f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:48:45 +0000 (0:00:00.121) 0:00:45.435 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_vdsm_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:48:45 +0000 (0:00:00.122) 0:00:45.558 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:48:45 +0000 (0:00:00.116) 0:00:45.674 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:48:45 +0000 (0:00:00.070) 0:00:45.745 ********* changed: [sut] => (item={'name': 'input-ovirt-ovirt_vdsm_input', 'type': 'input', 'sections': [{'options': 'input(type="imfile" file="/var/log/vdsm/vdsm.log" tag="ovirt_vdsm_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_vdsm_input" then {\n action(name="ovirt-vdsm_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_vdsm.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_vdsm_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-10-64.ec2.internal\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.31.10.64\';\n set $!ovirt!engine_fqdn = \'\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output_ops\n}\n'}], 'state': 'present'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "ca5130dd5a09c89f5fd3c9e48eade3cc", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:48:46 +0000 (0:00:00.857) 0:00:46.603 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2fff15ee77c777243bf21b0b8d508f1f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "unsafe_writes": false, "validate": null } }, "md5sum": "ca5130dd5a09c89f5fd3c9e48eade3cc", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:48:46 +0000 (0:00:00.122) 0:00:46.725 ********* skipping: [sut] => (item={'name': 'input-ovirt-ovirt_vdsm_input', 'type': 'input', 'sections': [{'options': 'input(type="imfile" file="/var/log/vdsm/vdsm.log" tag="ovirt_vdsm_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_vdsm_input" then {\n action(name="ovirt-vdsm_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_vdsm.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_vdsm_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-10-64.ec2.internal\';\n set $!ovirt!cluster_name = \'\';\n set $!ipaddr4 = \'10.31.10.64\';\n set $!ovirt!engine_fqdn = \'\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output_ops\n}\n'}], 'state': 'present'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:48:47 +0000 (0:00:00.256) 0:00:46.981 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:00.804598", "end": "2022-08-19 23:48:48.246812", "rc": 0, "start": "2022-08-19 23:48:47.442214" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:48:48 +0000 (0:00:01.098) 0:00:48.080 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:48:48 +0000 (0:00:00.106) 0:00:48.186 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:48:48 +0000 (0:00:00.510) 0:00:48.697 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:48:49 +0000 (0:00:00.149) 0:00:48.846 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:48:49 +0000 (0:00:00.108) 0:00:48.955 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:48:50 +0000 (0:00:01.812) 0:00:50.768 ********* ok: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:48:54 +0000 (0:00:03.093) 0:00:53.861 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2fff15ee77c777243bf21b0b8d508f1f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "unsafe_writes": false, "validate": null } }, "md5sum": "ca5130dd5a09c89f5fd3c9e48eade3cc", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:48:54 +0000 (0:00:00.133) 0:00:53.995 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_bogus_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:48:54 +0000 (0:00:00.123) 0:00:54.119 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:48:54 +0000 (0:00:00.072) 0:00:54.191 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:00.804584", "end": "2022-08-19 23:48:55.456584", "rc": 0, "start": "2022-08-19 23:48:54.652000" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** Friday 19 August 2022 23:48:55 +0000 (0:00:01.096) 0:00:55.288 ********* ok: [sut] => (item={'name': 'default_files', 'type': 'files'}) => { "ansible_facts": { "__rsyslog_conf_files_output_modules": [ { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_files_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfile\" Template=\"RSYSLOG_TraditionalFileFormat\")\n{% elif logging_files_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfile\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfile\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_files_output_packages": [], "__rsyslog_files_output_rules": [ "{{ __rsyslog_conf_files_output_modules }}" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "default_files", "type": "files" } } ok: [sut] => (item={'name': 'elasticsearch_output', 'type': 'elasticsearch', 'server_host': 'logging-es', 'server_port': 9200, 'index_prefix': 'project.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'uid': 'testuser0'}) => { "ansible_facts": { "__rsyslog_conf_es_elasticsearch": [ { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"{{ __rsyslog_work_dir }}/es-bulk-errors.log\")\n}" } ], "type": "output" } ], "__rsyslog_conf_es_main_modules": [ { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" } ], "__rsyslog_elasticsearch_packages": [ "rsyslog-elasticsearch" ], "__rsyslog_elasticsearch_rules": [ "{{ __rsyslog_conf_es_main_modules }}", "{{ __rsyslog_conf_es_elasticsearch }}" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/elasticsearch/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": "logging-es", "server_port": 9200, "type": "elasticsearch", "uid": "testuser0" } } ok: [sut] => (item={'name': 'elasticsearch_output_ops', 'type': 'elasticsearch', 'server_host': 'logging-es-ops', 'server_port': 9200, 'index_prefix': '.operations.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem'}) => { "ansible_facts": { "__rsyslog_conf_es_elasticsearch": [ { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"{{ __rsyslog_work_dir }}/es-bulk-errors.log\")\n}" } ], "type": "output" } ], "__rsyslog_conf_es_main_modules": [ { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" } ], "__rsyslog_elasticsearch_packages": [ "rsyslog-elasticsearch" ], "__rsyslog_elasticsearch_rules": [ "{{ __rsyslog_conf_es_main_modules }}", "{{ __rsyslog_conf_es_elasticsearch }}" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/elasticsearch/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": ".operations.", "input_type": "ovirt", "name": "elasticsearch_output_ops", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": "logging-es-ops", "server_port": 9200, "type": "elasticsearch" } } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** Friday 19 August 2022 23:48:55 +0000 (0:00:00.141) 0:00:55.430 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/outputs/files/main.yml for sut => (item={'name': 'default_files', 'type': 'files'}) included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for sut => (item={'name': 'elasticsearch_output', 'type': 'elasticsearch', 'server_host': 'logging-es', 'server_port': 9200, 'index_prefix': 'project.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'uid': 'testuser0'}) included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for sut => (item={'name': 'elasticsearch_output_ops', 'type': 'elasticsearch', 'server_host': 'logging-es-ops', 'server_port': 9200, 'index_prefix': '.operations.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem'}) TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:48:55 +0000 (0:00:00.162) 0:00:55.592 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:48:55 +0000 (0:00:00.104) 0:00:55.697 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:48:55 +0000 (0:00:00.070) 0:00:55.768 ********* changed: [sut] => (item={'name': 'output-files-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfile")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952936.100338-17397-248480949470399/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:48:56 +0000 (0:00:00.759) 0:00:56.527 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2fff15ee77c777243bf21b0b8d508f1f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "unsafe_writes": false, "validate": null } }, "md5sum": "ca5130dd5a09c89f5fd3c9e48eade3cc", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "content": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952936.100338-17397-248480949470399/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952936.100338-17397-248480949470399/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:48:56 +0000 (0:00:00.130) 0:00:56.658 ********* skipping: [sut] => (item={'name': 'output-files-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfile")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-default_files in /etc/rsyslog.d] *** Friday 19 August 2022 23:48:56 +0000 (0:00:00.080) 0:00:56.738 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:48:57 +0000 (0:00:00.106) 0:00:56.845 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:48:57 +0000 (0:00:00.069) 0:00:56.914 ********* changed: [sut] => (item={'name': 'output-files-default_files', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="default_files") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don\'t log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952937.3660274-17420-224277856391344/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:48:58 +0000 (0:00:00.873) 0:00:57.788 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2fff15ee77c777243bf21b0b8d508f1f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "unsafe_writes": false, "validate": null } }, "md5sum": "ca5130dd5a09c89f5fd3c9e48eade3cc", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "content": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952936.100338-17397-248480949470399/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952936.100338-17397-248480949470399/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952937.3660274-17420-224277856391344/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952937.3660274-17420-224277856391344/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:48:58 +0000 (0:00:00.138) 0:00:57.926 ********* skipping: [sut] => (item={'name': 'output-files-default_files', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="default_files") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don\'t log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** Friday 19 August 2022 23:48:58 +0000 (0:00:00.170) 0:00:58.096 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/set_certs.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:48:58 +0000 (0:00:00.109) 0:00:58.206 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:48:58 +0000 (0:00:00.081) 0:00:58.288 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy key on the control host to the specified path on the target host] *** Friday 19 August 2022 23:48:58 +0000 (0:00:00.084) 0:00:58.372 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** Friday 19 August 2022 23:48:58 +0000 (0:00:00.082) 0:00:58.455 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** Friday 19 August 2022 23:48:58 +0000 (0:00:00.084) 0:00:58.539 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:48:58 +0000 (0:00:00.080) 0:00:58.620 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:48:58 +0000 (0:00:00.110) 0:00:58.730 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-elasticsearch-8.2102.0-10.el8.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:49:01 +0000 (0:00:02.448) 0:01:01.179 ********* changed: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952941.5148036-17500-34247273054903/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', 'sections': [{'options': '# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952942.2119136-17500-89989057630207/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:49:02 +0000 (0:00:01.468) 0:01:02.648 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2fff15ee77c777243bf21b0b8d508f1f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "unsafe_writes": false, "validate": null } }, "md5sum": "ca5130dd5a09c89f5fd3c9e48eade3cc", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "content": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952936.100338-17397-248480949470399/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952936.100338-17397-248480949470399/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952937.3660274-17420-224277856391344/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952937.3660274-17420-224277856391344/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "content": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952941.5148036-17500-34247273054903/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952941.5148036-17500-34247273054903/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "content": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952942.2119136-17500-89989057630207/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952942.2119136-17500-89989057630207/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:49:03 +0000 (0:00:00.140) 0:01:02.789 ********* skipping: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', 'sections': [{'options': '# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d] *** Friday 19 August 2022 23:49:03 +0000 (0:00:00.092) 0:01:02.881 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d (no_log)] *** Friday 19 August 2022 23:49:03 +0000 (0:00:00.078) 0:01:02.960 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy_nolog.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:49:03 +0000 (0:00:00.155) 0:01:03.115 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d with no_log] *** Friday 19 August 2022 23:49:03 +0000 (0:00:00.070) 0:01:03.186 ********* changed: [sut] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:49:04 +0000 (0:00:00.872) 0:01:04.058 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2fff15ee77c777243bf21b0b8d508f1f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "unsafe_writes": false, "validate": null } }, "md5sum": "ca5130dd5a09c89f5fd3c9e48eade3cc", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "content": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952936.100338-17397-248480949470399/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952936.100338-17397-248480949470399/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952937.3660274-17420-224277856391344/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952937.3660274-17420-224277856391344/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "content": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952941.5148036-17500-34247273054903/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952941.5148036-17500-34247273054903/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "content": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952942.2119136-17500-89989057630207/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952942.2119136-17500-89989057630207/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "1002d0612a084527fb18b8dc72445b0590a4fa6f", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=\"logging-es\"\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"off\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n uid=\"testuser0\"\n pwd=\"password0\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "1002d0612a084527fb18b8dc72445b0590a4fa6f", "content": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952943.6187809-17552-193765121646530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2a6a79608f970aaed1264d6f2d253cc1", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2053, "src": "/root/.ansible/tmp/ansible-tmp-1660952943.6187809-17552-193765121646530/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d with no_log] *** Friday 19 August 2022 23:49:04 +0000 (0:00:00.140) 0:01:04.199 ********* skipping: [sut] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** Friday 19 August 2022 23:49:04 +0000 (0:00:00.184) 0:01:04.384 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/set_certs.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:49:04 +0000 (0:00:00.106) 0:01:04.490 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:49:04 +0000 (0:00:00.083) 0:01:04.573 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy key on the control host to the specified path on the target host] *** Friday 19 August 2022 23:49:04 +0000 (0:00:00.082) 0:01:04.656 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** Friday 19 August 2022 23:49:04 +0000 (0:00:00.081) 0:01:04.738 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** Friday 19 August 2022 23:49:05 +0000 (0:00:00.085) 0:01:04.824 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:49:05 +0000 (0:00:00.080) 0:01:04.905 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:49:05 +0000 (0:00:00.109) 0:01:05.015 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:49:07 +0000 (0:00:01.826) 0:01:06.841 ********* ok: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', 'sections': [{'options': '# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:49:08 +0000 (0:00:01.294) 0:01:08.135 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2fff15ee77c777243bf21b0b8d508f1f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "unsafe_writes": false, "validate": null } }, "md5sum": "ca5130dd5a09c89f5fd3c9e48eade3cc", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "content": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952936.100338-17397-248480949470399/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952936.100338-17397-248480949470399/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952937.3660274-17420-224277856391344/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952937.3660274-17420-224277856391344/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "content": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952941.5148036-17500-34247273054903/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952941.5148036-17500-34247273054903/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "content": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952942.2119136-17500-89989057630207/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952942.2119136-17500-89989057630207/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "1002d0612a084527fb18b8dc72445b0590a4fa6f", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=\"logging-es\"\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"off\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n uid=\"testuser0\"\n pwd=\"password0\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "1002d0612a084527fb18b8dc72445b0590a4fa6f", "content": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952943.6187809-17552-193765121646530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2a6a79608f970aaed1264d6f2d253cc1", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2053, "src": "/root/.ansible/tmp/ansible-tmp-1660952943.6187809-17552-193765121646530/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:49:08 +0000 (0:00:00.146) 0:01:08.281 ********* skipping: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', 'sections': [{'options': '# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d] *** Friday 19 August 2022 23:49:08 +0000 (0:00:00.088) 0:01:08.370 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d (no_log)] *** Friday 19 August 2022 23:49:08 +0000 (0:00:00.078) 0:01:08.449 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy_nolog.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:49:08 +0000 (0:00:00.121) 0:01:08.570 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d with no_log] *** Friday 19 August 2022 23:49:08 +0000 (0:00:00.101) 0:01:08.672 ********* changed: [sut] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:49:09 +0000 (0:00:00.859) 0:01:09.532 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.2762532-16521-161802416037831/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952890.9896042-16521-142260321434085/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952893.0352507-16608-280479087857263/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.1102889-16667-197016623581611/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952898.8609984-16667-74460032857478/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952899.5342553-16667-170871735154691/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.2031956-16667-30051567356248/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952900.8738573-16667-181552283850296/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "unsafe_writes": false, "validate": null } }, "md5sum": "63aa7b9656c3255f616af4a501e33255", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 780, "src": "/root/.ansible/tmp/ansible-tmp-1660952902.1537144-16778-49123383133788/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5ee90a3626f417b247b941f4664914966f254362", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2fff15ee77c777243bf21b0b8d508f1f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1283, "src": "/root/.ansible/tmp/ansible-tmp-1660952917.6458886-17034-43078922166276/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"engine\" & \".\" & \"\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = '';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = '';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "unsafe_writes": false, "validate": null } }, "md5sum": "ca5130dd5a09c89f5fd3c9e48eade3cc", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1259, "src": "/root/.ansible/tmp/ansible-tmp-1660952926.1794858-17233-177422696974702/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "content": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952936.100338-17397-248480949470399/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660952936.100338-17397-248480949470399/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952937.3660274-17420-224277856391344/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660952937.3660274-17420-224277856391344/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "content": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952941.5148036-17500-34247273054903/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660952941.5148036-17500-34247273054903/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "content": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952942.2119136-17500-89989057630207/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660952942.2119136-17500-89989057630207/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "1002d0612a084527fb18b8dc72445b0590a4fa6f", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=\"logging-es\"\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"off\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n uid=\"testuser0\"\n pwd=\"password0\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "1002d0612a084527fb18b8dc72445b0590a4fa6f", "content": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952943.6187809-17552-193765121646530/source", "unsafe_writes": false, "validate": null } }, "md5sum": "2a6a79608f970aaed1264d6f2d253cc1", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2053, "src": "/root/.ansible/tmp/ansible-tmp-1660952943.6187809-17552-193765121646530/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "a92a6402df8bd1e0e06ca25e5f348c4d7ae9e163", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output_ops", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output_ops\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \".operations.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output_ops\"\n server=\"logging-es-ops\"\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"off\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "a92a6402df8bd1e0e06ca25e5f348c4d7ae9e163", "content": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952949.1077406-17697-110087824912165/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e66af8f8d5aa44607016c90fd4bf138b", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2013, "src": "/root/.ansible/tmp/ansible-tmp-1660952949.1077406-17697-110087824912165/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d with no_log] *** Friday 19 August 2022 23:49:09 +0000 (0:00:00.148) 0:01:09.680 ********* skipping: [sut] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** Friday 19 August 2022 23:49:10 +0000 (0:00:00.183) 0:01:09.864 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** Friday 19 August 2022 23:49:10 +0000 (0:00:00.073) 0:01:09.938 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** Friday 19 August 2022 23:49:10 +0000 (0:00:00.083) 0:01:10.021 ********* TASK [Manage firewall for specified ports] ************************************* Friday 19 August 2022 23:49:10 +0000 (0:00:00.062) 0:01:10.084 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Prepare _logging_selinux_ports to drop ports defined in the selinux policy] *** Friday 19 August 2022 23:49:10 +0000 (0:00:00.068) 0:01:10.153 ********* ok: [sut] => { "ansible_facts": { "_logging_selinux_ports": [] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Drop ports defined in the selinux policy] *** Friday 19 August 2022 23:49:10 +0000 (0:00:00.085) 0:01:10.239 ********* TASK [Manage selinux for specified ports] ************************************** Friday 19 August 2022 23:49:10 +0000 (0:00:00.045) 0:01:10.284 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** Friday 19 August 2022 23:49:10 +0000 (0:00:00.070) 0:01:10.355 ********* skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** Friday 19 August 2022 23:49:10 +0000 (0:00:00.098) 0:01:10.453 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** Friday 19 August 2022 23:49:10 +0000 (0:00:00.084) 0:01:10.538 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** Friday 19 August 2022 23:49:10 +0000 (0:00:00.115) 0:01:10.653 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** Friday 19 August 2022 23:49:10 +0000 (0:00:00.082) 0:01:10.736 ********* ok: [sut] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-08-19 23:41:03 UTC", "ActiveEnterTimestampMonotonic": "20757122", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target system.slice network-online.target sysinit.target syslog.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-08-19 23:41:03 UTC", "AssertTimestampMonotonic": "20392908", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-08-19 23:41:03 UTC", "ConditionTimestampMonotonic": "20392907", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) https://www.rsyslog.com/doc/", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1084", "ExecMainStartTimestamp": "Fri 2022-08-19 23:41:03 UTC", "ExecMainStartTimestampMonotonic": "20435202", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2022-08-19 23:41:03 UTC", "InactiveExitTimestampMonotonic": "20435276", "InvocationID": "583e1ce9317c47a6ac0023f050ad108d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1084", "MemoryAccounting": "yes", "MemoryCurrent": "5222400", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "syslog.service rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-08-19 23:41:03 UTC", "StateChangeTimestampMonotonic": "20757122", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22628", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "syslog.socket", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Fri 2022-08-19 23:41:03 UTC", "WatchdogTimestampMonotonic": "20757118", "WatchdogUSec": "0" } } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** Friday 19 August 2022 23:49:11 +0000 (0:00:00.804) 0:01:11.540 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** Friday 19 August 2022 23:49:11 +0000 (0:00:00.071) 0:01:11.611 ********* skipping: [sut] => {} TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** Friday 19 August 2022 23:49:11 +0000 (0:00:00.123) 0:01:11.734 ********* RUNNING HANDLER [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** Friday 19 August 2022 23:49:11 +0000 (0:00:00.000) 0:01:11.734 ********* changed: [sut] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-08-19 23:41:03 UTC", "ActiveEnterTimestampMonotonic": "20757122", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target system.slice network-online.target sysinit.target syslog.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-08-19 23:41:03 UTC", "AssertTimestampMonotonic": "20392908", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-08-19 23:41:03 UTC", "ConditionTimestampMonotonic": "20392907", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) https://www.rsyslog.com/doc/", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1084", "ExecMainStartTimestamp": "Fri 2022-08-19 23:41:03 UTC", "ExecMainStartTimestampMonotonic": "20435202", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2022-08-19 23:41:03 UTC", "InactiveExitTimestampMonotonic": "20435276", "InvocationID": "583e1ce9317c47a6ac0023f050ad108d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1084", "MemoryAccounting": "yes", "MemoryCurrent": "5218304", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "syslog.service rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-08-19 23:41:03 UTC", "StateChangeTimestampMonotonic": "20757122", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22628", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "TriggeredBy": "syslog.socket", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Fri 2022-08-19 23:41:03 UTC", "WatchdogTimestampMonotonic": "20757118", "WatchdogUSec": "0" } } TASK [Ensure config file size and counts] ************************************** Friday 19 August 2022 23:49:12 +0000 (0:00:00.755) 0:01:12.489 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/tests/tasks/check_daemon_config_files.yml for sut TASK [Get info of /etc/rsyslog.conf] ******************************************* Friday 19 August 2022 23:49:12 +0000 (0:00:00.083) 0:01:12.573 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1660952952.619298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1660952889.8279521, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 318767298, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952889.41695, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "2328073242", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get file counts in /etc/rsyslog.d] *************************************** Friday 19 August 2022 23:49:13 +0000 (0:00:00.277) 0:01:12.850 ********* ok: [sut] => { "changed": false, "examined": 18, "files": [ { "atime": 1660952463.7231731, "ctime": 1660709593.362933, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 16798140, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1657609237.0, "nlink": 1, "path": "/etc/rsyslog.d/21-cloudinit.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 255, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952952.619298, "ctime": 1660952890.8379571, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 343933441, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952890.600956, "nlink": 1, "path": "/etc/rsyslog.d/00-global.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952952.619298, "ctime": 1660952891.5389607, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 369099137, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952891.3019595, "nlink": 1, "path": "/etc/rsyslog.d/05-common-defaults.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 73, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952952.619298, "ctime": 1660952893.578971, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 394265089, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952893.3409698, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952914.2130754, "ctime": 1660952898.7229967, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 452984966, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952898.4259953, "nlink": 1, "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 23, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952914.822079, "ctime": 1660952899.3940003, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 478151111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952899.158999, "nlink": 1, "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 356, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952915.4700828, "ctime": 1660952900.0660036, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 503316933, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952899.8320024, "nlink": 1, "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 315, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952916.0740862, "ctime": 1660952900.736007, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 528482757, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952900.4990058, "nlink": 1, "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 243, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952916.6770897, "ctime": 1660952901.4150102, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 553648583, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952901.175009, "nlink": 1, "path": "/etc/rsyslog.d/parse_json.rulebase", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 26, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952952.619298, "ctime": 1660952902.6930168, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 578814405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952902.4560156, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 780, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952952.619298, "ctime": 1660952918.1870985, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 142606673, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952917.949097, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952952.619298, "ctime": 1660952926.719148, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 318767315, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952926.4831464, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1259, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952952.619298, "ctime": 1660952936.6432054, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 503316950, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952936.405204, "nlink": 1, "path": "/etc/rsyslog.d/10-output-files-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 128, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952952.619298, "ctime": 1660952937.9042127, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 528482774, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952937.6662114, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1129, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952947.425268, "ctime": 1660952942.0682368, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 562037329, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952941.8232353, "nlink": 1, "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 78, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952948.0302713, "ctime": 1660952942.7642407, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 587203153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952942.5232394, "nlink": 1, "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1098, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952952.619298, "ctime": 1660952944.179249, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 612368926, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1660952943.9282477, "nlink": 1, "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 2053, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660952952.619298, "ctime": 1660952949.6542807, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 696255253, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1660952949.4112794, "nlink": 1, "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 2013, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 18, "skipped_paths": {} } MSG: All paths examined TASK [Check rsyslog.conf size (less)] ****************************************** Friday 19 August 2022 23:49:13 +0000 (0:00:00.489) 0:01:13.340 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** Friday 19 August 2022 23:49:13 +0000 (0:00:00.067) 0:01:13.408 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** Friday 19 August 2022 23:49:13 +0000 (0:00:00.049) 0:01:13.457 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** Friday 19 August 2022 23:49:13 +0000 (0:00:00.069) 0:01:13.527 ********* ok: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "stat": { "atime": 1660952952.619298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "ctime": 1660952902.6930168, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 578814405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952902.4560156, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 780, "uid": 0, "version": "650857905", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "stat": { "atime": 1660952952.619298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5ee90a3626f417b247b941f4664914966f254362", "ctime": 1660952918.1870985, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 142606673, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952917.949097, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1283, "uid": 0, "version": "3257414244", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "stat": { "atime": 1660952952.619298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "ctime": 1660952926.719148, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 318767315, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952926.4831464, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1259, "uid": 0, "version": "523612405", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** Friday 19 August 2022 23:49:14 +0000 (0:00:00.791) 0:01:14.319 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check /etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf, /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf, /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf] *** Friday 19 August 2022 23:49:14 +0000 (0:00:00.048) 0:01:14.368 ********* ok: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "stat": { "atime": 1660952952.619298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e52f852d9bf8a92740c5523da51b5212568146ac", "ctime": 1660952902.6930168, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 578814405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952902.4560156, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 780, "uid": 0, "version": "650857905", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "stat": { "atime": 1660952952.619298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5ee90a3626f417b247b941f4664914966f254362", "ctime": 1660952918.1870985, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 142606673, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952917.949097, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1283, "uid": 0, "version": "3257414244", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "stat": { "atime": 1660952952.619298, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b360fe3adfc2b479cd50be6cffbea7b796260571", "ctime": 1660952926.719148, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 318767315, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952926.4831464, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1259, "uid": 0, "version": "523612405", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check "/etc/rsyslog.d/90-input-ovirt-ovirt_bogus_input.conf does not exist"] *** Friday 19 August 2022 23:49:15 +0000 (0:00:00.768) 0:01:15.136 ********* ok: [sut] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [Check ovirt_collectd_port is "44514"] ************************************ Friday 19 August 2022 23:49:15 +0000 (0:00:00.270) 0:01:15.406 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf" ], "delta": "0:00:01.004943", "end": "2022-08-19 23:49:16.845650", "rc": 0, "start": "2022-08-19 23:49:15.840707" } STDOUT: input(name="ovirt_collectd_input" type="imtcp" port="44514") TASK [Check index_prefix is project.ovirt-metrics in /etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf] *** Friday 19 August 2022 23:49:16 +0000 (0:00:01.275) 0:01:16.681 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "set $.index_prefix = \"project.ovirt-metrics\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf" ], "delta": "0:00:00.004068", "end": "2022-08-19 23:49:17.167696", "rc": 0, "start": "2022-08-19 23:49:17.163628" } STDOUT: set $.index_prefix = "project.ovirt-metrics" & "-" & "engine" & "." & "" & "."; TASK [Check input file is /var/log/ovirt-engine/engine.log in /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf] *** Friday 19 August 2022 23:49:17 +0000 (0:00:00.317) 0:01:16.999 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf" ], "delta": "0:00:00.004188", "end": "2022-08-19 23:49:17.438396", "rc": 0, "start": "2022-08-19 23:49:17.434208" } STDOUT: input(type="imfile" file="/var/log/ovirt-engine/engine.log" tag="ovirt_engine_input" TASK [Check index_prefix is project.ovirt-logs in /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf] *** Friday 19 August 2022 23:49:17 +0000 (0:00:00.274) 0:01:17.273 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "set $.index_prefix = \"project.ovirt-logs\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf" ], "delta": "0:00:00.004321", "end": "2022-08-19 23:49:17.708872", "rc": 0, "start": "2022-08-19 23:49:17.704551" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & "."; TASK [Check input file is /var/log/vdsm/vdsm.log in /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf] *** Friday 19 August 2022 23:49:17 +0000 (0:00:00.270) 0:01:17.544 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf" ], "delta": "0:00:00.003861", "end": "2022-08-19 23:49:17.979225", "rc": 0, "start": "2022-08-19 23:49:17.975364" } STDOUT: input(type="imfile" file="/var/log/vdsm/vdsm.log" tag="ovirt_vdsm_input" TASK [Check index_prefix is project.ovirt-logs in /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf] *** Friday 19 August 2022 23:49:18 +0000 (0:00:00.269) 0:01:17.814 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "set $.index_prefix = \"project.ovirt-logs\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf" ], "delta": "0:00:00.004243", "end": "2022-08-19 23:49:18.250419", "rc": 0, "start": "2022-08-19 23:49:18.246176" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "engine" & "." & "" & "."; TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** Friday 19 August 2022 23:49:18 +0000 (0:00:00.271) 0:01:18.085 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "server=\"logging-es\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.003828", "end": "2022-08-19 23:49:18.522865", "rc": 0, "start": "2022-08-19 23:49:18.519037" } STDOUT: server="logging-es" TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** Friday 19 August 2022 23:49:18 +0000 (0:00:00.272) 0:01:18.357 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "server=\"logging-es-ops\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.003687", "end": "2022-08-19 23:49:18.793135", "rc": 0, "start": "2022-08-19 23:49:18.789448" } STDOUT: server="logging-es-ops" TASK [Check password is in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** Friday 19 August 2022 23:49:18 +0000 (0:00:00.269) 0:01:18.627 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "pwd=\"password0\"", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.003890", "end": "2022-08-19 23:49:19.061498", "rc": 0, "start": "2022-08-19 23:49:19.057608" } STDOUT: pwd="password0" TASK [Check pwd= is not in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** Friday 19 August 2022 23:49:19 +0000 (0:00:00.269) 0:01:18.896 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "pwd=", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.003866", "end": "2022-08-19 23:49:19.334471", "failed_when_result": false, "rc": 1, "start": "2022-08-19 23:49:19.330605" } MSG: non-zero return code TASK [END TEST CASE 0; Ensure basic ovirt configuration works] ***************** Friday 19 August 2022 23:49:19 +0000 (0:00:00.274) 0:01:19.171 ********* TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** Friday 19 August 2022 23:49:19 +0000 (0:00:00.105) 0:01:19.276 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ Friday 19 August 2022 23:49:19 +0000 (0:00:00.111) 0:01:19.388 ********* ok: [sut] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* Friday 19 August 2022 23:49:19 +0000 (0:00:00.092) 0:01:19.480 ********* ok: [sut] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** Friday 19 August 2022 23:49:19 +0000 (0:00:00.094) 0:01:19.574 ********* TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** Friday 19 August 2022 23:49:19 +0000 (0:00:00.046) 0:01:19.621 ********* TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** Friday 19 August 2022 23:49:19 +0000 (0:00:00.045) 0:01:19.667 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* Friday 19 August 2022 23:49:19 +0000 (0:00:00.076) 0:01:19.744 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** Friday 19 August 2022 23:49:20 +0000 (0:00:00.074) 0:01:19.818 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** Friday 19 August 2022 23:49:20 +0000 (0:00:00.078) 0:01:19.897 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Use a debug var to avoid an empty dict in with_dict] *** Friday 19 August 2022 23:49:20 +0000 (0:00:00.074) 0:01:19.971 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** Friday 19 August 2022 23:49:20 +0000 (0:00:00.072) 0:01:20.043 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** Friday 19 August 2022 23:49:20 +0000 (0:00:00.074) 0:01:20.118 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:49:20 +0000 (0:00:00.079) 0:01:20.197 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:49:20 +0000 (0:00:00.073) 0:01:20.271 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:49:20 +0000 (0:00:00.470) 0:01:20.741 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/main.yml] *** Friday 19 August 2022 23:49:21 +0000 (0:00:00.167) 0:01:20.909 ********* skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** Friday 19 August 2022 23:49:21 +0000 (0:00:00.190) 0:01:21.099 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/main_core.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** Friday 19 August 2022 23:49:21 +0000 (0:00:00.125) 0:01:21.224 ********* ok: [sut] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.493133", "end": "2022-08-19 23:49:22.180569", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-08-19 23:49:21.687436" } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** Friday 19 August 2022 23:49:22 +0000 (0:00:00.791) 0:01:22.016 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: rsyslog-mmnormalize-8.2102.0-10.el8.x86_64", "Removed: rsyslog-8.2102.0-10.el8.x86_64", "Removed: rsyslog-elasticsearch-8.2102.0-10.el8.x86_64", "Removed: rsyslog-mmjsonparse-8.2102.0-10.el8.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:49:25 +0000 (0:00:03.281) 0:01:25.298 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-8.2102.0-10.el8.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** Friday 19 August 2022 23:49:28 +0000 (0:00:03.201) 0:01:28.499 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** Friday 19 August 2022 23:49:28 +0000 (0:00:00.061) 0:01:28.560 ********* ok: [sut] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "aspell": [ { "arch": "x86_64", "epoch": 12, "name": "aspell", "release": "22.el8", "source": "rpm", "version": "0.60.6.1" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el8", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el8", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "1.el8", "source": "rpm", "version": "1.2.5" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "1.el8", "source": "rpm", "version": "1.2.5" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "1.el8", "source": "rpm", "version": "1.2.5" } ], "avahi-libs": [ { "arch": "x86_64", "epoch": null, "name": "avahi-libs", "release": "20.el8", "source": "rpm", "version": "0.7" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "5.el8", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "4.el8", "source": "rpm", "version": "4.4.20" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "5.el8", "source": "rpm", "version": "1.07.1" } ], "beakerlib": [ { "arch": "noarch", "epoch": null, "name": "beakerlib", "release": "1.el8bkr", "source": "rpm", "version": "1.29.1" } ], "beakerlib-redhat": [ { "arch": "noarch", "epoch": null, "name": "beakerlib-redhat", "release": "33.el8bkr", "source": "rpm", "version": "1" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "4.el8", "source": "rpm", "version": "9.11.36" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "117.el8", "source": "rpm", "version": "2.30" } ], "biosdevname": [ { "arch": "x86_64", "epoch": null, "name": "biosdevname", "release": "2.el8", "source": "rpm", "version": "0.7.3" } ], "boost-atomic": [ { "arch": "x86_64", "epoch": null, "name": "boost-atomic", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-chrono": [ { "arch": "x86_64", "epoch": null, "name": "boost-chrono", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-date-time": [ { "arch": "x86_64", "epoch": null, "name": "boost-date-time", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "boost-filesystem", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-system": [ { "arch": "x86_64", "epoch": null, "name": "boost-system", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-thread": [ { "arch": "x86_64", "epoch": null, "name": "boost-thread", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-timer": [ { "arch": "x86_64", "epoch": null, "name": "boost-timer", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "brotli": [ { "arch": "x86_64", "epoch": null, "name": "brotli", "release": "3.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "6.el8", "source": "rpm", "version": "1.13.0" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "80.2.el8_6", "source": "rpm", "version": "2022.2.54" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el8", "source": "rpm", "version": "2.9" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el8", "source": "rpm", "version": "1.19.1" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el8", "source": "rpm", "version": "4.2" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "4.el8", "source": "rpm", "version": "22.1" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "3.el8", "source": "rpm", "version": "0.31" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "13.el8", "source": "rpm", "version": "8.30" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "13.el8", "source": "rpm", "version": "8.30" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "11.el8", "source": "rpm", "version": "2.12" } ], "cpp": [ { "arch": "x86_64", "epoch": null, "name": "cpp", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "createrepo_c": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c", "release": "6.el8", "source": "rpm", "version": "0.17.7" } ], "createrepo_c-libs": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c-libs", "release": "6.el8", "source": "rpm", "version": "0.17.7" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "8.el8", "source": "rpm", "version": "1.5.2" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "8.el8", "source": "rpm", "version": "1.5.2" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "17.20190603git.el8", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "2.el8", "source": "rpm", "version": "2.3.7" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "25.el8", "source": "rpm", "version": "7.61.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "6.el8_5", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-daemon": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-daemon", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "2.el8", "source": "rpm", "version": "0.110" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbxtool": [ { "arch": "x86_64", "epoch": null, "name": "dbxtool", "release": "5.el8_3.2", "source": "rpm", "version": "8" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper", "release": "6.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "6.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "48.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "48.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "48.el8", "source": "rpm", "version": "4.3.6" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "6.el8", "source": "rpm", "version": "3.6" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "4.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "dnf-plugin-subscription-manager", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "14.el8", "source": "rpm", "version": "4.0.21" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "drpm": [ { "arch": "x86_64", "epoch": null, "name": "drpm", "release": "3.el8", "source": "rpm", "version": "0.4.1" } ], "dyninst": [ { "arch": "x86_64", "epoch": null, "name": "dyninst", "release": "1.el8", "source": "rpm", "version": "12.1.0" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "3.el8", "source": "rpm", "version": "3" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "1.el8", "source": "rpm", "version": "16" } ], "efivar": [ { "arch": "x86_64", "epoch": null, "name": "efivar", "release": "4.el8", "source": "rpm", "version": "37" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "4.el8", "source": "rpm", "version": "37" } ], "elfutils-debuginfod-client": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-debuginfod-client-devel": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client-devel", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-devel": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-devel", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-libelf-devel": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf-devel", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "emacs-filesystem": [ { "arch": "noarch", "epoch": 1, "name": "emacs-filesystem", "release": "7.el8", "source": "rpm", "version": "26.1" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "2.el8", "source": "rpm", "version": "5.13" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "9.el8", "source": "rpm", "version": "2.2.5" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "6.el8", "source": "rpm", "version": "3.8" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "20.el8", "source": "rpm", "version": "4.6.0" } ], "firewalld": [ { "arch": "noarch", "epoch": null, "name": "firewalld", "release": "13.el8", "source": "rpm", "version": "0.9.3" } ], "firewalld-filesystem": [ { "arch": "noarch", "epoch": null, "name": "firewalld-filesystem", "release": "13.el8", "source": "rpm", "version": "0.9.3" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "9.el8", "source": "rpm", "version": "2.9.1" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "16.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el8", "source": "rpm", "version": "4.2.1" } ], "gcc": [ { "arch": "x86_64", "epoch": null, "name": "gcc", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "gdbm": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm", "release": "2.el8", "source": "rpm", "version": "1.18" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "2.el8", "source": "rpm", "version": "1.18" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "11.el8", "source": "rpm", "version": "1.0.3" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "git": [ { "arch": "x86_64", "epoch": null, "name": "git", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "git-core": [ { "arch": "x86_64", "epoch": null, "name": "git-core", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "git-core-doc": [ { "arch": "noarch", "epoch": null, "name": "git-core-doc", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "159.el8", "source": "rpm", "version": "2.56.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-devel": [ { "arch": "x86_64", "epoch": null, "name": "glibc-devel", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-headers": [ { "arch": "x86_64", "epoch": null, "name": "glibc-headers", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-langpack-en": [ { "arch": "x86_64", "epoch": null, "name": "glibc-langpack-en", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el8", "source": "rpm", "version": "6.1.2" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "3.el8_6", "source": "rpm", "version": "2.2.20" } ], "gnupg2-smime": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2-smime", "release": "3.el8_6", "source": "rpm", "version": "2.2.20" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "4.el8", "source": "rpm", "version": "3.6.16" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el8", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "5cf7cefb", "source": "rpm", "version": "2f86d6a1" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "gpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "gpm-libs", "release": "17.el8", "source": "rpm", "version": "1.20.7" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "6.el8", "source": "rpm", "version": "3.1" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "18.el8", "source": "rpm", "version": "1.22.3" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "45.el8", "source": "rpm", "version": "8.40" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "21.el8", "source": "rpm", "version": "0.8.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "13.el8", "source": "rpm", "version": "1.9" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "6.el8", "source": "rpm", "version": "1.3" } ], "hdparm": [ { "arch": "x86_64", "epoch": null, "name": "hdparm", "release": "4.el8", "source": "rpm", "version": "9.54" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el8", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.13.el8", "source": "rpm", "version": "0.314" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "12.el8", "source": "rpm", "version": "1.3.2" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "7.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.18" } ], "insights-client": [ { "arch": "noarch", "epoch": 0, "name": "insights-client", "release": "8.el8", "source": "rpm", "version": "3.1.7" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "4.el8", "source": "rpm", "version": "0.2.4" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "1.el8", "source": "rpm", "version": "5.18.0" } ], "iprutils": [ { "arch": "x86_64", "epoch": null, "name": "iprutils", "release": "1.el8", "source": "rpm", "version": "2.4.19" } ], "ipset": [ { "arch": "x86_64", "epoch": null, "name": "ipset", "release": "1.el8", "source": "rpm", "version": "7.1" } ], "ipset-libs": [ { "arch": "x86_64", "epoch": null, "name": "ipset-libs", "release": "1.el8", "source": "rpm", "version": "7.1" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "23.el8", "source": "rpm", "version": "1.8.4" } ], "iptables-ebtables": [ { "arch": "x86_64", "epoch": null, "name": "iptables-ebtables", "release": "23.el8", "source": "rpm", "version": "1.8.4" } ], "iptables-libs": [ { "arch": "x86_64", "epoch": null, "name": "iptables-libs", "release": "23.el8", "source": "rpm", "version": "1.8.4" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el8", "source": "rpm", "version": "20180629" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "3.el8", "source": "rpm", "version": "1.9.0" } ], "isl": [ { "arch": "x86_64", "epoch": null, "name": "isl", "release": "6.el8", "source": "rpm", "version": "0.16.1" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el8", "source": "rpm", "version": "2.14" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "3.el8", "source": "rpm", "version": "0.13.1" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-devel": [ { "arch": "x86_64", "epoch": null, "name": "kernel-devel", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-headers": [ { "arch": "x86_64", "epoch": null, "name": "kernel-headers", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "6.el8", "source": "rpm", "version": "2.0.24" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "19.el8", "source": "rpm", "version": "25" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "19.el8", "source": "rpm", "version": "25" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "26.el8", "source": "rpm", "version": "0.8.4" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "21.el8", "source": "rpm", "version": "1.18.2" } ], "langpacks-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-en", "release": "12.el8", "source": "rpm", "version": "1.0" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el8", "source": "rpm", "version": "530" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "4.el8", "source": "rpm", "version": "3.3.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el8", "source": "rpm", "version": "2.5.1" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el8", "source": "rpm", "version": "2.4.48" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "40.el8", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "1.el8", "source": "rpm", "version": "0.5.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "4.el8", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "1.el8", "source": "rpm", "version": "0.7.11" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "40.el8", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "4.el8_2.1", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "25.el8", "source": "rpm", "version": "7.61.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "15.el8", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "40.el8", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "11.el8", "source": "rpm", "version": "0.63.0" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "23.20170329cvs.el8", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "3.el8", "source": "rpm", "version": "0.1.10" } ], "libev": [ { "arch": "x86_64", "epoch": null, "name": "libev", "release": "6.el8", "source": "rpm", "version": "4.24" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "5.el8", "source": "rpm", "version": "2.1.8" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "1.el8", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "23.el8", "source": "rpm", "version": "3.1" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "7.el8_6", "source": "rpm", "version": "1.8.5" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "1.el8", "source": "rpm", "version": "1.31" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "1.el8", "source": "rpm", "version": "41.0" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "1.el8", "source": "rpm", "version": "2.2.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "40.el8", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "7.el8", "source": "rpm", "version": "1.3.5" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "2.el8", "source": "rpm", "version": "2.5.2" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "2.el8", "source": "rpm", "version": "2.0.5" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "10.el8", "source": "rpm", "version": "1.2.0" } ], "libmetalink": [ { "arch": "x86_64", "epoch": null, "name": "libmetalink", "release": "7.el8", "source": "rpm", "version": "0.1.3" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "6.el8", "source": "rpm", "version": "1.0.4" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "1.el8", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libmpc": [ { "arch": "x86_64", "epoch": null, "name": "libmpc", "release": "9.1.el8", "source": "rpm", "version": "1.1.0" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "6.el8", "source": "rpm", "version": "1.7" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "5.el8", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "13.el8", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "57.el8", "source": "rpm", "version": "2.3.3" } ], "libnftnl": [ { "arch": "x86_64", "epoch": null, "name": "libnftnl", "release": "5.el8", "source": "rpm", "version": "1.1.5" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "3.el8_2.1", "source": "rpm", "version": "1.33.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "libnsl2": [ { "arch": "x86_64", "epoch": null, "name": "libnsl2", "release": "2.20180605git4a062cf.el8", "source": "rpm", "version": "1.2.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "40.el8", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "5.el8", "source": "rpm", "version": "1.9.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "libpkgconf": [ { "arch": "x86_64", "epoch": null, "name": "libpkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "5.el8", "source": "rpm", "version": "1.6.34" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "6.el8", "source": "rpm", "version": "0.20.2" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "3.el8", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "40.el8", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "3.el8", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "libreport-filesystem", "release": "15.el8", "source": "rpm", "version": "2.9.5" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "4.el8", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "1.el8", "source": "rpm", "version": "2.5.2" } ], "libsecret": [ { "arch": "x86_64", "epoch": null, "name": "libsecret", "release": "1.el8", "source": "rpm", "version": "0.18.6" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "6.el8", "source": "rpm", "version": "2.9" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "6.el8", "source": "rpm", "version": "2.9" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "9.el8", "source": "rpm", "version": "2.9" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "3.el8", "source": "rpm", "version": "2.9" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "5.el8", "source": "rpm", "version": "2.11" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "3.el8", "source": "rpm", "version": "0.7.20" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libsss_autofs": [ { "arch": "x86_64", "epoch": null, "name": "libsss_autofs", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "25.el8", "source": "rpm", "version": "2.1.0" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "2.el8", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "3.el8", "source": "rpm", "version": "4.13" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el8", "source": "rpm", "version": "1.4.6" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el8", "source": "rpm", "version": "0.12.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "8.el8", "source": "rpm", "version": "1.1.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "3.el8", "source": "rpm", "version": "0.9.9" } ], "libusbx": [ { "arch": "x86_64", "epoch": null, "name": "libusbx", "release": "4.el8", "source": "rpm", "version": "1.0.23" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "24.el8", "source": "rpm", "version": "0.62" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "14.el8", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "2.el8", "source": "rpm", "version": "0.3.2" } ], "libverto-libev": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libev", "release": "2.el8", "source": "rpm", "version": "0.3.2" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxcrypt-devel": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt-devel", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxkbcommon": [ { "arch": "x86_64", "epoch": null, "name": "libxkbcommon", "release": "1.el8", "source": "rpm", "version": "0.9.1" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "14.el8", "source": "rpm", "version": "2.9.7" } ], "libxslt": [ { "arch": "x86_64", "epoch": null, "name": "libxslt", "release": "6.el8", "source": "rpm", "version": "1.1.32" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "5.el8", "source": "rpm", "version": "0.1.7" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "libzstd-devel": [ { "arch": "x86_64", "epoch": null, "name": "libzstd-devel", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "110.git150864a4.el8", "source": "rpm", "version": "20220726" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "1.el8", "source": "rpm", "version": "0.9.24" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "4.el8", "source": "rpm", "version": "3.14.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "6.el8", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "3.el8", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "12.el8", "source": "rpm", "version": "5.3.4" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "3.el8_4", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "14.el8", "source": "rpm", "version": "2.08" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "11.el8", "source": "rpm", "version": "4.2.1" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "18.el8", "source": "rpm", "version": "2.7.6.1" } ], "memstrack": [ { "arch": "x86_64", "epoch": null, "name": "memstrack", "release": "2.el8", "source": "rpm", "version": "0.2.4" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 4, "name": "microcode_ctl", "release": "1.el8", "source": "rpm", "version": "20220510" } ], "mokutil": [ { "arch": "x86_64", "epoch": 1, "name": "mokutil", "release": "12.el8", "source": "rpm", "version": "0.3.0" } ], "mozjs60": [ { "arch": "x86_64", "epoch": null, "name": "mozjs60", "release": "4.el8", "source": "rpm", "version": "60.9.0" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "1.el8", "source": "rpm", "version": "3.1.6" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "7.el8", "source": "rpm", "version": "3.4.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el8", "source": "rpm", "version": "0.52.20" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "57.el8", "source": "rpm", "version": "2.3.3" } ], "nftables": [ { "arch": "x86_64", "epoch": 1, "name": "nftables", "release": "26.el8", "source": "rpm", "version": "0.9.3" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "4.el8", "source": "rpm", "version": "1.5" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "3.el8_6", "source": "rpm", "version": "4.34.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "13.el8", "source": "rpm", "version": "2.0.12" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "18.el8", "source": "rpm", "version": "2.4.46" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "16.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "16.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "16.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "7.el8_6", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "7.el8_6", "source": "rpm", "version": "1.1.1k" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "2.el8", "source": "rpm", "version": "0.4.10" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el8", "source": "rpm", "version": "1.74" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "22.el8", "source": "rpm", "version": "1.3.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "39.el8", "source": "rpm", "version": "3.2" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "4.el8", "source": "rpm", "version": "0.80" } ], "pciutils": [ { "arch": "x86_64", "epoch": null, "name": "pciutils", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "6.el8", "source": "rpm", "version": "8.42" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "3.el8_6", "source": "rpm", "version": "10.32" } ], "perl-Carp": [ { "arch": "noarch", "epoch": null, "name": "perl-Carp", "release": "396.el8", "source": "rpm", "version": "1.42" } ], "perl-Data-Dumper": [ { "arch": "x86_64", "epoch": null, "name": "perl-Data-Dumper", "release": "399.el8", "source": "rpm", "version": "2.167" } ], "perl-Digest": [ { "arch": "noarch", "epoch": null, "name": "perl-Digest", "release": "395.el8", "source": "rpm", "version": "1.17" } ], "perl-Digest-MD5": [ { "arch": "x86_64", "epoch": null, "name": "perl-Digest-MD5", "release": "396.el8", "source": "rpm", "version": "2.55" } ], "perl-Encode": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Encode", "release": "3.el8", "source": "rpm", "version": "2.97" } ], "perl-Errno": [ { "arch": "x86_64", "epoch": 0, "name": "perl-Errno", "release": "421.el8", "source": "rpm", "version": "1.28" } ], "perl-Error": [ { "arch": "noarch", "epoch": 1, "name": "perl-Error", "release": "2.el8", "source": "rpm", "version": "0.17025" } ], "perl-Exporter": [ { "arch": "noarch", "epoch": null, "name": "perl-Exporter", "release": "396.el8", "source": "rpm", "version": "5.72" } ], "perl-File-Path": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Path", "release": "2.el8", "source": "rpm", "version": "2.15" } ], "perl-File-Temp": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Temp", "release": "1.el8", "source": "rpm", "version": "0.230.600" } ], "perl-Getopt-Long": [ { "arch": "noarch", "epoch": 1, "name": "perl-Getopt-Long", "release": "4.el8", "source": "rpm", "version": "2.50" } ], "perl-Git": [ { "arch": "noarch", "epoch": null, "name": "perl-Git", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "perl-HTTP-Tiny": [ { "arch": "noarch", "epoch": null, "name": "perl-HTTP-Tiny", "release": "1.el8", "source": "rpm", "version": "0.074" } ], "perl-IO": [ { "arch": "x86_64", "epoch": 0, "name": "perl-IO", "release": "421.el8", "source": "rpm", "version": "1.38" } ], "perl-IO-Socket-IP": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-IP", "release": "5.el8", "source": "rpm", "version": "0.39" } ], "perl-IO-Socket-SSL": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-SSL", "release": "4.module+el8.3.0+6446+594cad75", "source": "rpm", "version": "2.066" } ], "perl-MIME-Base64": [ { "arch": "x86_64", "epoch": null, "name": "perl-MIME-Base64", "release": "396.el8", "source": "rpm", "version": "3.15" } ], "perl-Mozilla-CA": [ { "arch": "noarch", "epoch": null, "name": "perl-Mozilla-CA", "release": "7.module+el8.3.0+6498+9eecfe51", "source": "rpm", "version": "20160104" } ], "perl-Net-SSLeay": [ { "arch": "x86_64", "epoch": null, "name": "perl-Net-SSLeay", "release": "2.module+el8.6.0+13392+f0897f98", "source": "rpm", "version": "1.88" } ], "perl-PathTools": [ { "arch": "x86_64", "epoch": null, "name": "perl-PathTools", "release": "1.el8", "source": "rpm", "version": "3.74" } ], "perl-Pod-Escapes": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Escapes", "release": "395.el8", "source": "rpm", "version": "1.07" } ], "perl-Pod-Perldoc": [ { "arch": "noarch", "epoch": null, "name": "perl-Pod-Perldoc", "release": "396.el8", "source": "rpm", "version": "3.28" } ], "perl-Pod-Simple": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Simple", "release": "395.el8", "source": "rpm", "version": "3.35" } ], "perl-Pod-Usage": [ { "arch": "noarch", "epoch": 4, "name": "perl-Pod-Usage", "release": "395.el8", "source": "rpm", "version": "1.69" } ], "perl-Scalar-List-Utils": [ { "arch": "x86_64", "epoch": 3, "name": "perl-Scalar-List-Utils", "release": "2.el8", "source": "rpm", "version": "1.49" } ], "perl-Socket": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Socket", "release": "3.el8", "source": "rpm", "version": "2.027" } ], "perl-Storable": [ { "arch": "x86_64", "epoch": 1, "name": "perl-Storable", "release": "3.el8", "source": "rpm", "version": "3.11" } ], "perl-Term-ANSIColor": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-ANSIColor", "release": "396.el8", "source": "rpm", "version": "4.06" } ], "perl-Term-Cap": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-Cap", "release": "395.el8", "source": "rpm", "version": "1.17" } ], "perl-TermReadKey": [ { "arch": "x86_64", "epoch": null, "name": "perl-TermReadKey", "release": "7.el8", "source": "rpm", "version": "2.37" } ], "perl-Text-ParseWords": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-ParseWords", "release": "395.el8", "source": "rpm", "version": "3.30" } ], "perl-Text-Tabs+Wrap": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-Tabs+Wrap", "release": "395.el8", "source": "rpm", "version": "2013.0523" } ], "perl-Time-Local": [ { "arch": "noarch", "epoch": 1, "name": "perl-Time-Local", "release": "1.el8", "source": "rpm", "version": "1.280" } ], "perl-URI": [ { "arch": "noarch", "epoch": null, "name": "perl-URI", "release": "3.el8", "source": "rpm", "version": "1.73" } ], "perl-Unicode-Normalize": [ { "arch": "x86_64", "epoch": null, "name": "perl-Unicode-Normalize", "release": "396.el8", "source": "rpm", "version": "1.25" } ], "perl-constant": [ { "arch": "noarch", "epoch": null, "name": "perl-constant", "release": "396.el8", "source": "rpm", "version": "1.33" } ], "perl-interpreter": [ { "arch": "x86_64", "epoch": 4, "name": "perl-interpreter", "release": "421.el8", "source": "rpm", "version": "5.26.3" } ], "perl-libnet": [ { "arch": "noarch", "epoch": null, "name": "perl-libnet", "release": "3.el8", "source": "rpm", "version": "3.11" } ], "perl-libs": [ { "arch": "x86_64", "epoch": 4, "name": "perl-libs", "release": "421.el8", "source": "rpm", "version": "5.26.3" } ], "perl-macros": [ { "arch": "x86_64", "epoch": 4, "name": "perl-macros", "release": "421.el8", "source": "rpm", "version": "5.26.3" } ], "perl-parent": [ { "arch": "noarch", "epoch": 1, "name": "perl-parent", "release": "1.el8", "source": "rpm", "version": "0.237" } ], "perl-podlators": [ { "arch": "noarch", "epoch": null, "name": "perl-podlators", "release": "1.el8", "source": "rpm", "version": "4.11" } ], "perl-threads": [ { "arch": "x86_64", "epoch": 1, "name": "perl-threads", "release": "2.el8", "source": "rpm", "version": "2.21" } ], "perl-threads-shared": [ { "arch": "x86_64", "epoch": null, "name": "perl-threads-shared", "release": "2.el8", "source": "rpm", "version": "1.58" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el8", "source": "rpm", "version": "2.4" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "2.el8", "source": "rpm", "version": "1.1.0" } ], "pkgconf": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-m4": [ { "arch": "noarch", "epoch": null, "name": "pkgconf-m4", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-pkg-config": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf-pkg-config", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "platform-python": [ { "arch": "x86_64", "epoch": null, "name": "platform-python", "release": "47.el8", "source": "rpm", "version": "3.6.8" } ], "platform-python-pip": [ { "arch": "noarch", "epoch": null, "name": "platform-python-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "platform-python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "platform-python-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "plymouth": [ { "arch": "x86_64", "epoch": null, "name": "plymouth", "release": "11.20200615git1e36e30.el8", "source": "rpm", "version": "0.9.4" } ], "plymouth-core-libs": [ { "arch": "x86_64", "epoch": null, "name": "plymouth-core-libs", "release": "11.20200615git1e36e30.el8", "source": "rpm", "version": "0.9.4" } ], "plymouth-scripts": [ { "arch": "x86_64", "epoch": null, "name": "plymouth-scripts", "release": "11.20200615git1e36e30.el8", "source": "rpm", "version": "0.9.4" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "20.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "20.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "12.el8", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "6.el8", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "8.el8", "source": "rpm", "version": "3.3.15" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "5.el8", "source": "rpm", "version": "23.1" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "1.el8", "source": "rpm", "version": "20180723" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "4.el8", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "7.el8", "source": "rpm", "version": "2.5.1" } ], "python3-cffi": [ { "arch": "x86_64", "epoch": null, "name": "python3-cffi", "release": "5.el8", "source": "rpm", "version": "1.11.5" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "7.el8", "source": "rpm", "version": "3.0.4" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "11.el8", "source": "rpm", "version": "5.0.6" } ], "python3-cryptography": [ { "arch": "x86_64", "epoch": null, "name": "python3-cryptography", "release": "5.el8", "source": "rpm", "version": "3.2.1" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el8", "source": "rpm", "version": "2.6.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "15.el8", "source": "rpm", "version": "1.2.4" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "2.el8", "source": "rpm", "version": "4.2.1" } ], "python3-dmidecode": [ { "arch": "x86_64", "epoch": null, "name": "python3-dmidecode", "release": "15.el8", "source": "rpm", "version": "3.12.2" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "14.el8", "source": "rpm", "version": "4.0.21" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "5.el8", "source": "rpm", "version": "0.14" } ], "python3-firewall": [ { "arch": "noarch", "epoch": null, "name": "python3-firewall", "release": "13.el8", "source": "rpm", "version": "0.9.3" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "11.el8", "source": "rpm", "version": "0.63.0" } ], "python3-html5lib": [ { "arch": "noarch", "epoch": 1, "name": "python3-html5lib", "release": "6.el8", "source": "rpm", "version": "0.999999999" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "5.el8", "source": "rpm", "version": "2.5" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "31.el8", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "13.el8", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "3.el8", "source": "rpm", "version": "2.10.1" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "2.el8", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "11.el8", "source": "rpm", "version": "1.10" } ], "python3-jsonschema": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonschema", "release": "4.el8", "source": "rpm", "version": "2.6.0" } ], "python3-jwt": [ { "arch": "noarch", "epoch": null, "name": "python3-jwt", "release": "2.el8", "source": "rpm", "version": "1.6.1" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "11.el8", "source": "rpm", "version": "0.63.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "3.el8", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "47.el8", "source": "rpm", "version": "3.6.8" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "6.el8", "source": "rpm", "version": "2.9" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "9.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "14.el8", "source": "rpm", "version": "2.9.7" } ], "python3-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python3-linux-procfs", "release": "1.el8", "source": "rpm", "version": "0.7.0" } ], "python3-lxml": [ { "arch": "x86_64", "epoch": null, "name": "python3-lxml", "release": "4.el8", "source": "rpm", "version": "4.2.3" } ], "python3-magic": [ { "arch": "noarch", "epoch": null, "name": "python3-magic", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "4.el8", "source": "rpm", "version": "0.10.6" } ], "python3-nftables": [ { "arch": "x86_64", "epoch": 1, "name": "python3-nftables", "release": "26.el8", "source": "rpm", "version": "0.9.3" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "1.el8", "source": "rpm", "version": "2.1.0" } ], "python3-perf": [ { "arch": "x86_64", "epoch": null, "name": "python3-perf", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "python3-pip": [ { "arch": "noarch", "epoch": null, "name": "python3-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-ply": [ { "arch": "noarch", "epoch": null, "name": "python3-ply", "release": "9.el8", "source": "rpm", "version": "3.9" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "20.el8", "source": "rpm", "version": "2.9" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "14.el8", "source": "rpm", "version": "0.7.2" } ], "python3-pycparser": [ { "arch": "noarch", "epoch": null, "name": "python3-pycparser", "release": "14.el8", "source": "rpm", "version": "2.14" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "8.el8", "source": "rpm", "version": "3.1.1" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "3.el8", "source": "rpm", "version": "1.6.8" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "9.el8", "source": "rpm", "version": "2017.2" } ], "python3-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python3-pyudev", "release": "7.el8", "source": "rpm", "version": "0.21.0" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "12.el8", "source": "rpm", "version": "3.12" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "2.1.el8_1", "source": "rpm", "version": "2.20.0" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "3.el8", "source": "rpm", "version": "4.3.0" } ], "python3-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "8.el8", "source": "rpm", "version": "1.11.0" } ], "python3-slip": [ { "arch": "noarch", "epoch": null, "name": "python3-slip", "release": "13.el8", "source": "rpm", "version": "0.6.4" } ], "python3-slip-dbus": [ { "arch": "noarch", "epoch": null, "name": "python3-slip-dbus", "release": "13.el8", "source": "rpm", "version": "0.6.4" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "python3-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "python3-unbound": [ { "arch": "x86_64", "epoch": null, "name": "python3-unbound", "release": "2.el8", "source": "rpm", "version": "1.16.2" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "5.el8", "source": "rpm", "version": "1.24.2" } ], "python3-webencodings": [ { "arch": "noarch", "epoch": null, "name": "python3-webencodings", "release": "6.el8", "source": "rpm", "version": "0.5.1" } ], "python36": [ { "arch": "x86_64", "epoch": null, "name": "python36", "release": "38.module+el8.5.0+12207+5c5719bc", "source": "rpm", "version": "3.6.8" } ], "qa-tools": [ { "arch": "noarch", "epoch": null, "name": "qa-tools", "release": "3.el8", "source": "rpm", "version": "4.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 15, "name": "qemu-guest-agent", "release": "18.module+el8.7.0+15999+d24f860e", "source": "rpm", "version": "6.2.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "10.el8", "source": "rpm", "version": "7.0" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "0.2.el8", "source": "rpm", "version": "8.7" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "0.2.el8", "source": "rpm", "version": "8.7" } ], "restraint": [ { "arch": "x86_64", "epoch": null, "name": "restraint", "release": "1.el8bkr", "source": "rpm", "version": "0.4.0" } ], "restraint-rhts": [ { "arch": "x86_64", "epoch": null, "name": "restraint-rhts", "release": "1.el8bkr", "source": "rpm", "version": "0.4.0" } ], "rhc": [ { "arch": "x86_64", "epoch": 1, "name": "rhc", "release": "9.el8", "source": "rpm", "version": "0.2.1" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "1.el8", "source": "rpm", "version": "6.15" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "22.el8", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "10.el8", "source": "rpm", "version": "1.2.5" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "18.el8", "source": "rpm", "version": "3.1.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "10.el8", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "5.el8", "source": "rpm", "version": "4.5" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "106.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "106.el8", "source": "rpm", "version": "3.14.3" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "7.el8", "source": "rpm", "version": "2.12.2" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "6.el8", "source": "rpm", "version": "1.44" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "6.el8", "source": "rpm", "version": "1.44" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "17.el8", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "shim-x64": [ { "arch": "x86_64", "epoch": null, "name": "shim-x64", "release": "1.el8", "source": "rpm", "version": "15.6" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "3.el8", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el8", "source": "rpm", "version": "1.1.8" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "15.el8", "source": "rpm", "version": "3.26.0" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "20.el8", "source": "rpm", "version": "4.3" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "strace": [ { "arch": "x86_64", "epoch": null, "name": "strace", "release": "2.el8", "source": "rpm", "version": "5.18" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "subscription-manager-rhsm-certificates": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "8.el8", "source": "rpm", "version": "1.8.29" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemtap": [ { "arch": "x86_64", "epoch": null, "name": "systemtap", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "systemtap-client": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-client", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "systemtap-devel": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-devel", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "systemtap-runtime": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-runtime", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "6.el8", "source": "rpm", "version": "1.30" } ], "tbb": [ { "arch": "x86_64", "epoch": null, "name": "tbb", "release": "9.el8", "source": "rpm", "version": "2018.2" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "time": [ { "arch": "x86_64", "epoch": null, "name": "time", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "timedatex": [ { "arch": "x86_64", "epoch": null, "name": "timedatex", "release": "3.el8", "source": "rpm", "version": "0.5" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "4.el8", "source": "rpm", "version": "2.3.2" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "trousers-lib": [ { "arch": "x86_64", "epoch": null, "name": "trousers-lib", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "0.1.rc1.el8", "source": "rpm", "version": "2.19.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "2.el8", "source": "rpm", "version": "2022a" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "2.el8", "source": "rpm", "version": "1.16.2" } ], "unzip": [ { "arch": "x86_64", "epoch": null, "name": "unzip", "release": "46.el8", "source": "rpm", "version": "6.0" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "2.el8", "source": "rpm", "version": "1.113" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "vim-common": [ { "arch": "x86_64", "epoch": 2, "name": "vim-common", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "vim-enhanced": [ { "arch": "x86_64", "epoch": 2, "name": "vim-enhanced", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "vim-filesystem": [ { "arch": "noarch", "epoch": 2, "name": "vim-filesystem", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "14.el8", "source": "rpm", "version": "1.18" } ], "wget": [ { "arch": "x86_64", "epoch": null, "name": "wget", "release": "10.el8", "source": "rpm", "version": "1.19.5" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "18.el8", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "10.el8", "source": "rpm", "version": "5.0.0" } ], "xkeyboard-config": [ { "arch": "noarch", "epoch": null, "name": "xkeyboard-config", "release": "1.el8", "source": "rpm", "version": "2.28" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "4.el8_6", "source": "rpm", "version": "5.2.4" } ], "xz-devel": [ { "arch": "x86_64", "epoch": null, "name": "xz-devel", "release": "4.el8_6", "source": "rpm", "version": "5.2.4" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "4.el8_6", "source": "rpm", "version": "5.2.4" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "14.el8", "source": "rpm", "version": "4.0.21" } ], "zip": [ { "arch": "x86_64", "epoch": null, "name": "zip", "release": "23.el8", "source": "rpm", "version": "3.0" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el8", "source": "rpm", "version": "1.2.11" } ], "zlib-devel": [ { "arch": "x86_64", "epoch": null, "name": "zlib-devel", "release": "19.el8", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** Friday 19 August 2022 23:49:30 +0000 (0:00:01.593) 0:01:30.153 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** Friday 19 August 2022 23:49:30 +0000 (0:00:00.138) 0:01:30.291 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** Friday 19 August 2022 23:49:30 +0000 (0:00:00.057) 0:01:30.348 ********* ok: [sut] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** Friday 19 August 2022 23:49:30 +0000 (0:00:00.076) 0:01:30.425 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** Friday 19 August 2022 23:49:30 +0000 (0:00:00.067) 0:01:30.493 ********* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** Friday 19 August 2022 23:49:31 +0000 (0:00:00.298) 0:01:30.791 ********* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/var/lib/rsyslog", "secontext": "system_u:object_r:syslogd_var_lib_t:s0", "size": 29, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** Friday 19 August 2022 23:49:31 +0000 (0:00:00.298) 0:01:31.090 ********* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/var/log", "secontext": "system_u:object_r:var_log_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** Friday 19 August 2022 23:49:31 +0000 (0:00:00.298) 0:01:31.389 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1652689130.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1660952967.6743853, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16797861, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1652689130.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "4033708916", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** Friday 19 August 2022 23:49:31 +0000 (0:00:00.301) 0:01:31.691 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** Friday 19 August 2022 23:49:31 +0000 (0:00:00.072) 0:01:31.764 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_common_rules": [ { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** Friday 19 August 2022 23:49:32 +0000 (0:00:00.184) 0:01:31.949 ********* skipping: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** Friday 19 August 2022 23:49:32 +0000 (0:00:00.092) 0:01:32.041 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** Friday 19 August 2022 23:49:32 +0000 (0:00:00.085) 0:01:32.126 ********* skipping: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** Friday 19 August 2022 23:49:32 +0000 (0:00:00.088) 0:01:32.215 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** Friday 19 August 2022 23:49:32 +0000 (0:00:00.044) 0:01:32.259 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** Friday 19 August 2022 23:49:32 +0000 (0:00:00.062) 0:01:32.322 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** Friday 19 August 2022 23:49:32 +0000 (0:00:00.080) 0:01:32.403 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** Friday 19 August 2022 23:49:32 +0000 (0:00:00.045) 0:01:32.448 ********* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nfor conf in $( ls \"/etc/rsyslog.d\" ); do\n rstr=$( rpm -qf \"/etc/rsyslog.d/$conf\" 2>&1 || : )\n if [[ \"$rstr\" == *\"not owned by any package\"* ]]; then\n echo \"/etc/rsyslog.d/$conf\"\n fi\ndone\n", "delta": "0:00:00.141065", "end": "2022-08-19 23:49:33.053582", "failed_when_result": false, "rc": 0, "start": "2022-08-19 23:49:32.912517" } STDOUT: /etc/rsyslog.d/00-global.conf /etc/rsyslog.d/05-common-defaults.conf /etc/rsyslog.d/10-input-ovirt-local_modules.conf /etc/rsyslog.d/10-input-ovirt-main-modules.conf /etc/rsyslog.d/10-output-elasticsearch-module.conf /etc/rsyslog.d/10-output-files-modules.conf /etc/rsyslog.d/30-output-elasticsearch.conf /etc/rsyslog.d/30-output-files-default_files.conf /etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf /etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf /etc/rsyslog.d/90-input-basics-basic_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf /etc/rsyslog.d/ovirt_engine.rulebase /etc/rsyslog.d/ovirt_vdsm.rulebase /etc/rsyslog.d/parse_json.rulebase TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** Friday 19 August 2022 23:49:33 +0000 (0:00:00.438) 0:01:32.887 ********* changed: [sut] => (item=/etc/rsyslog.d/00-global.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/00-global.conf", "path": "/etc/rsyslog.d/00-global.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/05-common-defaults.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/05-common-defaults.conf", "path": "/etc/rsyslog.d/05-common-defaults.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/10-input-ovirt-local_modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/10-input-ovirt-main-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/10-output-elasticsearch-module.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/10-output-files-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-output-files-modules.conf", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/30-output-elasticsearch.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-elasticsearch.conf", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/30-output-files-default_files.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-files-default_files.conf", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/90-input-basics-basic_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/ovirt_engine.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/ovirt_engine.rulebase", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/ovirt_vdsm.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/parse_json.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/parse_json.rulebase", "path": "/etc/rsyslog.d/parse_json.rulebase", "state": "absent" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** Friday 19 August 2022 23:49:37 +0000 (0:00:04.157) 0:01:37.045 ********* TASK [Manage firewall for specified ports] ************************************* Friday 19 August 2022 23:49:37 +0000 (0:00:00.062) 0:01:37.107 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Prepare _logging_selinux_ports to drop ports defined in the selinux policy] *** Friday 19 August 2022 23:49:37 +0000 (0:00:00.072) 0:01:37.180 ********* ok: [sut] => { "ansible_facts": { "_logging_selinux_ports": [] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Drop ports defined in the selinux policy] *** Friday 19 August 2022 23:49:37 +0000 (0:00:00.145) 0:01:37.325 ********* TASK [Manage selinux for specified ports] ************************************** Friday 19 August 2022 23:49:37 +0000 (0:00:00.045) 0:01:37.370 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** Friday 19 August 2022 23:49:37 +0000 (0:00:00.070) 0:01:37.440 ********* skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** Friday 19 August 2022 23:49:37 +0000 (0:00:00.094) 0:01:37.535 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** Friday 19 August 2022 23:49:37 +0000 (0:00:00.078) 0:01:37.614 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** Friday 19 August 2022 23:49:37 +0000 (0:00:00.075) 0:01:37.690 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** Friday 19 August 2022 23:49:37 +0000 (0:00:00.076) 0:01:37.766 ********* changed: [sut] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target sysinit.target basic.target network-online.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) https://www.rsyslog.com/doc/", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22628", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** Friday 19 August 2022 23:49:38 +0000 (0:00:00.500) 0:01:38.266 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** Friday 19 August 2022 23:49:38 +0000 (0:00:00.067) 0:01:38.334 ********* skipping: [sut] => {} TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** Friday 19 August 2022 23:49:38 +0000 (0:00:00.120) 0:01:38.455 ********* RUNNING HANDLER [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** Friday 19 August 2022 23:49:38 +0000 (0:00:00.000) 0:01:38.455 ********* changed: [sut] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-08-19 23:49:38 UTC", "ActiveEnterTimestampMonotonic": "535418745", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target sysinit.target basic.target network-online.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-08-19 23:49:38 UTC", "AssertTimestampMonotonic": "535410346", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-08-19 23:49:38 UTC", "ConditionTimestampMonotonic": "535410344", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) https://www.rsyslog.com/doc/", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11012", "ExecMainStartTimestamp": "Fri 2022-08-19 23:49:38 UTC", "ExecMainStartTimestampMonotonic": "535411684", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Fri 2022-08-19 23:49:38 UTC] ; stop_time=[n/a] ; pid=11012 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2022-08-19 23:49:38 UTC", "InactiveExitTimestampMonotonic": "535411766", "InvocationID": "c12b47ceb80e487f9e7126b4db10303b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11012", "MemoryAccounting": "yes", "MemoryCurrent": "1568768", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-08-19 23:49:38 UTC", "StateChangeTimestampMonotonic": "535418745", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22628", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Fri 2022-08-19 23:49:38 UTC", "WatchdogTimestampMonotonic": "535418742", "WatchdogUSec": "0" } } TASK [TEST CASE 1; Ensure advanced ovirt configuration works] ****************** Friday 19 August 2022 23:49:39 +0000 (0:00:00.763) 0:01:39.218 ********* TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** Friday 19 August 2022 23:49:39 +0000 (0:00:00.149) 0:01:39.368 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ Friday 19 August 2022 23:49:39 +0000 (0:00:00.079) 0:01:39.448 ********* ok: [sut] => { "ansible_facts": { "rsyslog_outputs": [ { "name": "default_files", "type": "files" }, { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key": "/etc/rsyslog.d/es-key.pem", "server_host": [ "logging-es0", "logging-es1" ], "server_port": 9200, "type": "elasticsearch", "uid": "testuser0" }, { "allowUnsignedCerts": true, "bulkmode": false, "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "dynSearchIndex": false, "dynbulkid": false, "index_prefix": ".operations.", "input_type": "ovirt", "name": "elasticsearch_output_ops", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": [ "logging-es-ops0", "logging-es-ops1" ], "server_port": 9200, "type": "elasticsearch", "usehttps": false } ] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* Friday 19 August 2022 23:49:39 +0000 (0:00:00.093) 0:01:39.542 ********* ok: [sut] => { "ansible_facts": { "rsyslog_inputs": [ { "name": "basic_input", "type": "basics" }, { "name": "ovirt_collectd_input", "ovirt_collectd_port": 44514, "ovirt_elasticsearch_index_prefix": "project.ovirt-metrics", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "111-222-333", "subtype": "collectd", "type": "ovirt" }, { "name": "ovirt_engine_input", "ovirt_elasticsearch_index_prefix": "project.ovirt-logs", "ovirt_engine_fqdn": "engine.ovirt.example.com", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "444-555-666", "ovirt_input_file": "/var/log/ovirt-engine/engine.log", "ovirt_vds_cluster_name": "test_vds_cluster", "subtype": "engine", "type": "ovirt" }, { "name": "ovirt_vdsm_input", "ovirt_elasticsearch_index_prefix": "project.ovirt-logs", "ovirt_engine_fqdn": "engine.ovirt.example.com", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "777-888-999", "ovirt_input_file": "/var/log/vdsm/vdsm.log", "ovirt_vds_cluster_name": "test_vds_cluster", "subtype": "vdsm", "type": "ovirt" }, { "name": "ovirt_bogus_input", "subtype": "bogus", "type": "ovirt" } ] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** Friday 19 August 2022 23:49:39 +0000 (0:00:00.098) 0:01:39.640 ********* skipping: [sut] => (item={'name': 'default_files', 'type': 'files'}) => { "ansible_loop_var": "item", "changed": false, "item": { "name": "default_files", "type": "files" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'elasticsearch_output', 'type': 'elasticsearch', 'server_host': ['logging-es0', 'logging-es1'], 'server_port': 9200, 'index_prefix': 'project.', 'input_type': 'ovirt', 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'uid': 'testuser0'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key": "/etc/rsyslog.d/es-key.pem", "server_host": [ "logging-es0", "logging-es1" ], "server_port": 9200, "type": "elasticsearch", "uid": "testuser0" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'elasticsearch_output_ops', 'type': 'elasticsearch', 'server_host': ['logging-es-ops0', 'logging-es-ops1'], 'server_port': 9200, 'index_prefix': '.operations.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'dynSearchIndex': False, 'bulkmode': False, 'dynbulkid': False, 'allowUnsignedCerts': True, 'usehttps': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "allowUnsignedCerts": true, "bulkmode": false, "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "dynSearchIndex": false, "dynbulkid": false, "index_prefix": ".operations.", "input_type": "ovirt", "name": "elasticsearch_output_ops", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": [ "logging-es-ops0", "logging-es-ops1" ], "server_port": 9200, "type": "elasticsearch", "usehttps": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** Friday 19 August 2022 23:49:39 +0000 (0:00:00.109) 0:01:39.749 ********* skipping: [sut] => (item={'name': 'flow_0', 'inputs': ['ovirt_collectd_input', 'ovirt_engine_input', 'ovirt_vdsm_input'], 'outputs': ['elasticsearch_output', 'elasticsearch_output_ops']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "ovirt_collectd_input", "ovirt_engine_input", "ovirt_vdsm_input" ], "name": "flow_0", "outputs": [ "elasticsearch_output", "elasticsearch_output_ops" ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'flow_1', 'inputs': ['basic_input'], 'outputs': ['default_files']}) => { "ansible_loop_var": "item", "changed": false, "item": { "inputs": [ "basic_input" ], "name": "flow_1", "outputs": [ "default_files" ] }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** Friday 19 August 2022 23:49:40 +0000 (0:00:00.112) 0:01:39.862 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* Friday 19 August 2022 23:49:40 +0000 (0:00:00.077) 0:01:39.939 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** Friday 19 August 2022 23:49:40 +0000 (0:00:00.076) 0:01:40.015 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** Friday 19 August 2022 23:49:40 +0000 (0:00:00.075) 0:01:40.091 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Use a debug var to avoid an empty dict in with_dict] *** Friday 19 August 2022 23:49:40 +0000 (0:00:00.077) 0:01:40.168 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** Friday 19 August 2022 23:49:40 +0000 (0:00:00.073) 0:01:40.241 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** Friday 19 August 2022 23:49:40 +0000 (0:00:00.074) 0:01:40.316 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:49:40 +0000 (0:00:00.081) 0:01:40.398 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:49:40 +0000 (0:00:00.076) 0:01:40.474 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:49:41 +0000 (0:00:00.505) 0:01:40.980 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/main.yml] *** Friday 19 August 2022 23:49:41 +0000 (0:00:00.121) 0:01:41.101 ********* skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** Friday 19 August 2022 23:49:41 +0000 (0:00:00.138) 0:01:41.240 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/main_core.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** Friday 19 August 2022 23:49:41 +0000 (0:00:00.126) 0:01:41.366 ********* skipping: [sut] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "item": "rsyslog", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** Friday 19 August 2022 23:49:41 +0000 (0:00:00.071) 0:01:41.438 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:49:41 +0000 (0:00:00.069) 0:01:41.508 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** Friday 19 August 2022 23:49:43 +0000 (0:00:01.813) 0:01:43.321 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** Friday 19 August 2022 23:49:43 +0000 (0:00:00.062) 0:01:43.384 ********* ok: [sut] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "aspell": [ { "arch": "x86_64", "epoch": 12, "name": "aspell", "release": "22.el8", "source": "rpm", "version": "0.60.6.1" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el8", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el8", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "1.el8", "source": "rpm", "version": "1.2.5" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "1.el8", "source": "rpm", "version": "1.2.5" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "1.el8", "source": "rpm", "version": "1.2.5" } ], "avahi-libs": [ { "arch": "x86_64", "epoch": null, "name": "avahi-libs", "release": "20.el8", "source": "rpm", "version": "0.7" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "5.el8", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "4.el8", "source": "rpm", "version": "4.4.20" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "5.el8", "source": "rpm", "version": "1.07.1" } ], "beakerlib": [ { "arch": "noarch", "epoch": null, "name": "beakerlib", "release": "1.el8bkr", "source": "rpm", "version": "1.29.1" } ], "beakerlib-redhat": [ { "arch": "noarch", "epoch": null, "name": "beakerlib-redhat", "release": "33.el8bkr", "source": "rpm", "version": "1" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "4.el8", "source": "rpm", "version": "9.11.36" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "117.el8", "source": "rpm", "version": "2.30" } ], "biosdevname": [ { "arch": "x86_64", "epoch": null, "name": "biosdevname", "release": "2.el8", "source": "rpm", "version": "0.7.3" } ], "boost-atomic": [ { "arch": "x86_64", "epoch": null, "name": "boost-atomic", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-chrono": [ { "arch": "x86_64", "epoch": null, "name": "boost-chrono", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-date-time": [ { "arch": "x86_64", "epoch": null, "name": "boost-date-time", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "boost-filesystem", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-system": [ { "arch": "x86_64", "epoch": null, "name": "boost-system", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-thread": [ { "arch": "x86_64", "epoch": null, "name": "boost-thread", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-timer": [ { "arch": "x86_64", "epoch": null, "name": "boost-timer", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "brotli": [ { "arch": "x86_64", "epoch": null, "name": "brotli", "release": "3.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "6.el8", "source": "rpm", "version": "1.13.0" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "80.2.el8_6", "source": "rpm", "version": "2022.2.54" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el8", "source": "rpm", "version": "2.9" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el8", "source": "rpm", "version": "1.19.1" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el8", "source": "rpm", "version": "4.2" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "4.el8", "source": "rpm", "version": "22.1" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "3.el8", "source": "rpm", "version": "0.31" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "13.el8", "source": "rpm", "version": "8.30" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "13.el8", "source": "rpm", "version": "8.30" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "11.el8", "source": "rpm", "version": "2.12" } ], "cpp": [ { "arch": "x86_64", "epoch": null, "name": "cpp", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "createrepo_c": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c", "release": "6.el8", "source": "rpm", "version": "0.17.7" } ], "createrepo_c-libs": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c-libs", "release": "6.el8", "source": "rpm", "version": "0.17.7" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "8.el8", "source": "rpm", "version": "1.5.2" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "8.el8", "source": "rpm", "version": "1.5.2" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "17.20190603git.el8", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "2.el8", "source": "rpm", "version": "2.3.7" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "25.el8", "source": "rpm", "version": "7.61.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "6.el8_5", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-daemon": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-daemon", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "2.el8", "source": "rpm", "version": "0.110" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbxtool": [ { "arch": "x86_64", "epoch": null, "name": "dbxtool", "release": "5.el8_3.2", "source": "rpm", "version": "8" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper", "release": "6.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "6.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "48.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "48.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "48.el8", "source": "rpm", "version": "4.3.6" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "6.el8", "source": "rpm", "version": "3.6" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "4.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "dnf-plugin-subscription-manager", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "14.el8", "source": "rpm", "version": "4.0.21" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "drpm": [ { "arch": "x86_64", "epoch": null, "name": "drpm", "release": "3.el8", "source": "rpm", "version": "0.4.1" } ], "dyninst": [ { "arch": "x86_64", "epoch": null, "name": "dyninst", "release": "1.el8", "source": "rpm", "version": "12.1.0" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "3.el8", "source": "rpm", "version": "3" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "1.el8", "source": "rpm", "version": "16" } ], "efivar": [ { "arch": "x86_64", "epoch": null, "name": "efivar", "release": "4.el8", "source": "rpm", "version": "37" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "4.el8", "source": "rpm", "version": "37" } ], "elfutils-debuginfod-client": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-debuginfod-client-devel": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client-devel", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-devel": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-devel", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-libelf-devel": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf-devel", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "emacs-filesystem": [ { "arch": "noarch", "epoch": 1, "name": "emacs-filesystem", "release": "7.el8", "source": "rpm", "version": "26.1" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "2.el8", "source": "rpm", "version": "5.13" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "9.el8", "source": "rpm", "version": "2.2.5" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "6.el8", "source": "rpm", "version": "3.8" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "20.el8", "source": "rpm", "version": "4.6.0" } ], "firewalld": [ { "arch": "noarch", "epoch": null, "name": "firewalld", "release": "13.el8", "source": "rpm", "version": "0.9.3" } ], "firewalld-filesystem": [ { "arch": "noarch", "epoch": null, "name": "firewalld-filesystem", "release": "13.el8", "source": "rpm", "version": "0.9.3" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "9.el8", "source": "rpm", "version": "2.9.1" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "16.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el8", "source": "rpm", "version": "4.2.1" } ], "gcc": [ { "arch": "x86_64", "epoch": null, "name": "gcc", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "gdbm": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm", "release": "2.el8", "source": "rpm", "version": "1.18" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "2.el8", "source": "rpm", "version": "1.18" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "11.el8", "source": "rpm", "version": "1.0.3" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "git": [ { "arch": "x86_64", "epoch": null, "name": "git", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "git-core": [ { "arch": "x86_64", "epoch": null, "name": "git-core", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "git-core-doc": [ { "arch": "noarch", "epoch": null, "name": "git-core-doc", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "159.el8", "source": "rpm", "version": "2.56.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-devel": [ { "arch": "x86_64", "epoch": null, "name": "glibc-devel", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-headers": [ { "arch": "x86_64", "epoch": null, "name": "glibc-headers", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-langpack-en": [ { "arch": "x86_64", "epoch": null, "name": "glibc-langpack-en", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el8", "source": "rpm", "version": "6.1.2" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "3.el8_6", "source": "rpm", "version": "2.2.20" } ], "gnupg2-smime": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2-smime", "release": "3.el8_6", "source": "rpm", "version": "2.2.20" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "4.el8", "source": "rpm", "version": "3.6.16" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el8", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "5cf7cefb", "source": "rpm", "version": "2f86d6a1" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "gpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "gpm-libs", "release": "17.el8", "source": "rpm", "version": "1.20.7" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "6.el8", "source": "rpm", "version": "3.1" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "18.el8", "source": "rpm", "version": "1.22.3" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "45.el8", "source": "rpm", "version": "8.40" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "21.el8", "source": "rpm", "version": "0.8.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "13.el8", "source": "rpm", "version": "1.9" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "6.el8", "source": "rpm", "version": "1.3" } ], "hdparm": [ { "arch": "x86_64", "epoch": null, "name": "hdparm", "release": "4.el8", "source": "rpm", "version": "9.54" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el8", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.13.el8", "source": "rpm", "version": "0.314" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "12.el8", "source": "rpm", "version": "1.3.2" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "7.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.18" } ], "insights-client": [ { "arch": "noarch", "epoch": 0, "name": "insights-client", "release": "8.el8", "source": "rpm", "version": "3.1.7" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "4.el8", "source": "rpm", "version": "0.2.4" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "1.el8", "source": "rpm", "version": "5.18.0" } ], "iprutils": [ { "arch": "x86_64", "epoch": null, "name": "iprutils", "release": "1.el8", "source": "rpm", "version": "2.4.19" } ], "ipset": [ { "arch": "x86_64", "epoch": null, "name": "ipset", "release": "1.el8", "source": "rpm", "version": "7.1" } ], "ipset-libs": [ { "arch": "x86_64", "epoch": null, "name": "ipset-libs", "release": "1.el8", "source": "rpm", "version": "7.1" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "23.el8", "source": "rpm", "version": "1.8.4" } ], "iptables-ebtables": [ { "arch": "x86_64", "epoch": null, "name": "iptables-ebtables", "release": "23.el8", "source": "rpm", "version": "1.8.4" } ], "iptables-libs": [ { "arch": "x86_64", "epoch": null, "name": "iptables-libs", "release": "23.el8", "source": "rpm", "version": "1.8.4" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el8", "source": "rpm", "version": "20180629" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "3.el8", "source": "rpm", "version": "1.9.0" } ], "isl": [ { "arch": "x86_64", "epoch": null, "name": "isl", "release": "6.el8", "source": "rpm", "version": "0.16.1" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el8", "source": "rpm", "version": "2.14" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "3.el8", "source": "rpm", "version": "0.13.1" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-devel": [ { "arch": "x86_64", "epoch": null, "name": "kernel-devel", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-headers": [ { "arch": "x86_64", "epoch": null, "name": "kernel-headers", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "6.el8", "source": "rpm", "version": "2.0.24" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "19.el8", "source": "rpm", "version": "25" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "19.el8", "source": "rpm", "version": "25" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "26.el8", "source": "rpm", "version": "0.8.4" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "21.el8", "source": "rpm", "version": "1.18.2" } ], "langpacks-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-en", "release": "12.el8", "source": "rpm", "version": "1.0" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el8", "source": "rpm", "version": "530" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "4.el8", "source": "rpm", "version": "3.3.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el8", "source": "rpm", "version": "2.5.1" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el8", "source": "rpm", "version": "2.4.48" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "40.el8", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "1.el8", "source": "rpm", "version": "0.5.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "4.el8", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "1.el8", "source": "rpm", "version": "0.7.11" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "40.el8", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "4.el8_2.1", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "25.el8", "source": "rpm", "version": "7.61.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "15.el8", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "40.el8", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "11.el8", "source": "rpm", "version": "0.63.0" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "23.20170329cvs.el8", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "3.el8", "source": "rpm", "version": "0.1.10" } ], "libev": [ { "arch": "x86_64", "epoch": null, "name": "libev", "release": "6.el8", "source": "rpm", "version": "4.24" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "5.el8", "source": "rpm", "version": "2.1.8" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "1.el8", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "23.el8", "source": "rpm", "version": "3.1" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "7.el8_6", "source": "rpm", "version": "1.8.5" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "1.el8", "source": "rpm", "version": "1.31" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "1.el8", "source": "rpm", "version": "41.0" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "1.el8", "source": "rpm", "version": "2.2.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "40.el8", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "7.el8", "source": "rpm", "version": "1.3.5" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "2.el8", "source": "rpm", "version": "2.5.2" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "2.el8", "source": "rpm", "version": "2.0.5" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "10.el8", "source": "rpm", "version": "1.2.0" } ], "libmetalink": [ { "arch": "x86_64", "epoch": null, "name": "libmetalink", "release": "7.el8", "source": "rpm", "version": "0.1.3" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "6.el8", "source": "rpm", "version": "1.0.4" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "1.el8", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libmpc": [ { "arch": "x86_64", "epoch": null, "name": "libmpc", "release": "9.1.el8", "source": "rpm", "version": "1.1.0" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "6.el8", "source": "rpm", "version": "1.7" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "5.el8", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "13.el8", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "57.el8", "source": "rpm", "version": "2.3.3" } ], "libnftnl": [ { "arch": "x86_64", "epoch": null, "name": "libnftnl", "release": "5.el8", "source": "rpm", "version": "1.1.5" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "3.el8_2.1", "source": "rpm", "version": "1.33.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "libnsl2": [ { "arch": "x86_64", "epoch": null, "name": "libnsl2", "release": "2.20180605git4a062cf.el8", "source": "rpm", "version": "1.2.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "40.el8", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "5.el8", "source": "rpm", "version": "1.9.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "libpkgconf": [ { "arch": "x86_64", "epoch": null, "name": "libpkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "5.el8", "source": "rpm", "version": "1.6.34" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "6.el8", "source": "rpm", "version": "0.20.2" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "3.el8", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "40.el8", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "3.el8", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "libreport-filesystem", "release": "15.el8", "source": "rpm", "version": "2.9.5" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "4.el8", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "1.el8", "source": "rpm", "version": "2.5.2" } ], "libsecret": [ { "arch": "x86_64", "epoch": null, "name": "libsecret", "release": "1.el8", "source": "rpm", "version": "0.18.6" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "6.el8", "source": "rpm", "version": "2.9" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "6.el8", "source": "rpm", "version": "2.9" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "9.el8", "source": "rpm", "version": "2.9" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "3.el8", "source": "rpm", "version": "2.9" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "5.el8", "source": "rpm", "version": "2.11" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "3.el8", "source": "rpm", "version": "0.7.20" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libsss_autofs": [ { "arch": "x86_64", "epoch": null, "name": "libsss_autofs", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "25.el8", "source": "rpm", "version": "2.1.0" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "2.el8", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "3.el8", "source": "rpm", "version": "4.13" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el8", "source": "rpm", "version": "1.4.6" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el8", "source": "rpm", "version": "0.12.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "8.el8", "source": "rpm", "version": "1.1.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "3.el8", "source": "rpm", "version": "0.9.9" } ], "libusbx": [ { "arch": "x86_64", "epoch": null, "name": "libusbx", "release": "4.el8", "source": "rpm", "version": "1.0.23" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "24.el8", "source": "rpm", "version": "0.62" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "14.el8", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "2.el8", "source": "rpm", "version": "0.3.2" } ], "libverto-libev": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libev", "release": "2.el8", "source": "rpm", "version": "0.3.2" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxcrypt-devel": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt-devel", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxkbcommon": [ { "arch": "x86_64", "epoch": null, "name": "libxkbcommon", "release": "1.el8", "source": "rpm", "version": "0.9.1" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "14.el8", "source": "rpm", "version": "2.9.7" } ], "libxslt": [ { "arch": "x86_64", "epoch": null, "name": "libxslt", "release": "6.el8", "source": "rpm", "version": "1.1.32" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "5.el8", "source": "rpm", "version": "0.1.7" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "libzstd-devel": [ { "arch": "x86_64", "epoch": null, "name": "libzstd-devel", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "110.git150864a4.el8", "source": "rpm", "version": "20220726" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "1.el8", "source": "rpm", "version": "0.9.24" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "4.el8", "source": "rpm", "version": "3.14.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "6.el8", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "3.el8", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "12.el8", "source": "rpm", "version": "5.3.4" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "3.el8_4", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "14.el8", "source": "rpm", "version": "2.08" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "11.el8", "source": "rpm", "version": "4.2.1" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "18.el8", "source": "rpm", "version": "2.7.6.1" } ], "memstrack": [ { "arch": "x86_64", "epoch": null, "name": "memstrack", "release": "2.el8", "source": "rpm", "version": "0.2.4" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 4, "name": "microcode_ctl", "release": "1.el8", "source": "rpm", "version": "20220510" } ], "mokutil": [ { "arch": "x86_64", "epoch": 1, "name": "mokutil", "release": "12.el8", "source": "rpm", "version": "0.3.0" } ], "mozjs60": [ { "arch": "x86_64", "epoch": null, "name": "mozjs60", "release": "4.el8", "source": "rpm", "version": "60.9.0" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "1.el8", "source": "rpm", "version": "3.1.6" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "7.el8", "source": "rpm", "version": "3.4.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el8", "source": "rpm", "version": "0.52.20" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "57.el8", "source": "rpm", "version": "2.3.3" } ], "nftables": [ { "arch": "x86_64", "epoch": 1, "name": "nftables", "release": "26.el8", "source": "rpm", "version": "0.9.3" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "4.el8", "source": "rpm", "version": "1.5" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "3.el8_6", "source": "rpm", "version": "4.34.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "13.el8", "source": "rpm", "version": "2.0.12" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "18.el8", "source": "rpm", "version": "2.4.46" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "16.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "16.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "16.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "7.el8_6", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "7.el8_6", "source": "rpm", "version": "1.1.1k" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "2.el8", "source": "rpm", "version": "0.4.10" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el8", "source": "rpm", "version": "1.74" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "22.el8", "source": "rpm", "version": "1.3.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "39.el8", "source": "rpm", "version": "3.2" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "4.el8", "source": "rpm", "version": "0.80" } ], "pciutils": [ { "arch": "x86_64", "epoch": null, "name": "pciutils", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "6.el8", "source": "rpm", "version": "8.42" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "3.el8_6", "source": "rpm", "version": "10.32" } ], "perl-Carp": [ { "arch": "noarch", "epoch": null, "name": "perl-Carp", "release": "396.el8", "source": "rpm", "version": "1.42" } ], "perl-Data-Dumper": [ { "arch": "x86_64", "epoch": null, "name": "perl-Data-Dumper", "release": "399.el8", "source": "rpm", "version": "2.167" } ], "perl-Digest": [ { "arch": "noarch", "epoch": null, "name": "perl-Digest", "release": "395.el8", "source": "rpm", "version": "1.17" } ], "perl-Digest-MD5": [ { "arch": "x86_64", "epoch": null, "name": "perl-Digest-MD5", "release": "396.el8", "source": "rpm", "version": "2.55" } ], "perl-Encode": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Encode", "release": "3.el8", "source": "rpm", "version": "2.97" } ], "perl-Errno": [ { "arch": "x86_64", "epoch": 0, "name": "perl-Errno", "release": "421.el8", "source": "rpm", "version": "1.28" } ], "perl-Error": [ { "arch": "noarch", "epoch": 1, "name": "perl-Error", "release": "2.el8", "source": "rpm", "version": "0.17025" } ], "perl-Exporter": [ { "arch": "noarch", "epoch": null, "name": "perl-Exporter", "release": "396.el8", "source": "rpm", "version": "5.72" } ], "perl-File-Path": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Path", "release": "2.el8", "source": "rpm", "version": "2.15" } ], "perl-File-Temp": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Temp", "release": "1.el8", "source": "rpm", "version": "0.230.600" } ], "perl-Getopt-Long": [ { "arch": "noarch", "epoch": 1, "name": "perl-Getopt-Long", "release": "4.el8", "source": "rpm", "version": "2.50" } ], "perl-Git": [ { "arch": "noarch", "epoch": null, "name": "perl-Git", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "perl-HTTP-Tiny": [ { "arch": "noarch", "epoch": null, "name": "perl-HTTP-Tiny", "release": "1.el8", "source": "rpm", "version": "0.074" } ], "perl-IO": [ { "arch": "x86_64", "epoch": 0, "name": "perl-IO", "release": "421.el8", "source": "rpm", "version": "1.38" } ], "perl-IO-Socket-IP": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-IP", "release": "5.el8", "source": "rpm", "version": "0.39" } ], "perl-IO-Socket-SSL": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-SSL", "release": "4.module+el8.3.0+6446+594cad75", "source": "rpm", "version": "2.066" } ], "perl-MIME-Base64": [ { "arch": "x86_64", "epoch": null, "name": "perl-MIME-Base64", "release": "396.el8", "source": "rpm", "version": "3.15" } ], "perl-Mozilla-CA": [ { "arch": "noarch", "epoch": null, "name": "perl-Mozilla-CA", "release": "7.module+el8.3.0+6498+9eecfe51", "source": "rpm", "version": "20160104" } ], "perl-Net-SSLeay": [ { "arch": "x86_64", "epoch": null, "name": "perl-Net-SSLeay", "release": "2.module+el8.6.0+13392+f0897f98", "source": "rpm", "version": "1.88" } ], "perl-PathTools": [ { "arch": "x86_64", "epoch": null, "name": "perl-PathTools", "release": "1.el8", "source": "rpm", "version": "3.74" } ], "perl-Pod-Escapes": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Escapes", "release": "395.el8", "source": "rpm", "version": "1.07" } ], "perl-Pod-Perldoc": [ { "arch": "noarch", "epoch": null, "name": "perl-Pod-Perldoc", "release": "396.el8", "source": "rpm", "version": "3.28" } ], "perl-Pod-Simple": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Simple", "release": "395.el8", "source": "rpm", "version": "3.35" } ], "perl-Pod-Usage": [ { "arch": "noarch", "epoch": 4, "name": "perl-Pod-Usage", "release": "395.el8", "source": "rpm", "version": "1.69" } ], "perl-Scalar-List-Utils": [ { "arch": "x86_64", "epoch": 3, "name": "perl-Scalar-List-Utils", "release": "2.el8", "source": "rpm", "version": "1.49" } ], "perl-Socket": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Socket", "release": "3.el8", "source": "rpm", "version": "2.027" } ], "perl-Storable": [ { "arch": "x86_64", "epoch": 1, "name": "perl-Storable", "release": "3.el8", "source": "rpm", "version": "3.11" } ], "perl-Term-ANSIColor": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-ANSIColor", "release": "396.el8", "source": "rpm", "version": "4.06" } ], "perl-Term-Cap": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-Cap", "release": "395.el8", "source": "rpm", "version": "1.17" } ], "perl-TermReadKey": [ { "arch": "x86_64", "epoch": null, "name": "perl-TermReadKey", "release": "7.el8", "source": "rpm", "version": "2.37" } ], "perl-Text-ParseWords": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-ParseWords", "release": "395.el8", "source": "rpm", "version": "3.30" } ], "perl-Text-Tabs+Wrap": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-Tabs+Wrap", "release": "395.el8", "source": "rpm", "version": "2013.0523" } ], "perl-Time-Local": [ { "arch": "noarch", "epoch": 1, "name": "perl-Time-Local", "release": "1.el8", "source": "rpm", "version": "1.280" } ], "perl-URI": [ { "arch": "noarch", "epoch": null, "name": "perl-URI", "release": "3.el8", "source": "rpm", "version": "1.73" } ], "perl-Unicode-Normalize": [ { "arch": "x86_64", "epoch": null, "name": "perl-Unicode-Normalize", "release": "396.el8", "source": "rpm", "version": "1.25" } ], "perl-constant": [ { "arch": "noarch", "epoch": null, "name": "perl-constant", "release": "396.el8", "source": "rpm", "version": "1.33" } ], "perl-interpreter": [ { "arch": "x86_64", "epoch": 4, "name": "perl-interpreter", "release": "421.el8", "source": "rpm", "version": "5.26.3" } ], "perl-libnet": [ { "arch": "noarch", "epoch": null, "name": "perl-libnet", "release": "3.el8", "source": "rpm", "version": "3.11" } ], "perl-libs": [ { "arch": "x86_64", "epoch": 4, "name": "perl-libs", "release": "421.el8", "source": "rpm", "version": "5.26.3" } ], "perl-macros": [ { "arch": "x86_64", "epoch": 4, "name": "perl-macros", "release": "421.el8", "source": "rpm", "version": "5.26.3" } ], "perl-parent": [ { "arch": "noarch", "epoch": 1, "name": "perl-parent", "release": "1.el8", "source": "rpm", "version": "0.237" } ], "perl-podlators": [ { "arch": "noarch", "epoch": null, "name": "perl-podlators", "release": "1.el8", "source": "rpm", "version": "4.11" } ], "perl-threads": [ { "arch": "x86_64", "epoch": 1, "name": "perl-threads", "release": "2.el8", "source": "rpm", "version": "2.21" } ], "perl-threads-shared": [ { "arch": "x86_64", "epoch": null, "name": "perl-threads-shared", "release": "2.el8", "source": "rpm", "version": "1.58" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el8", "source": "rpm", "version": "2.4" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "2.el8", "source": "rpm", "version": "1.1.0" } ], "pkgconf": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-m4": [ { "arch": "noarch", "epoch": null, "name": "pkgconf-m4", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-pkg-config": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf-pkg-config", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "platform-python": [ { "arch": "x86_64", "epoch": null, "name": "platform-python", "release": "47.el8", "source": "rpm", "version": "3.6.8" } ], "platform-python-pip": [ { "arch": "noarch", "epoch": null, "name": "platform-python-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "platform-python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "platform-python-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "plymouth": [ { "arch": "x86_64", "epoch": null, "name": "plymouth", "release": "11.20200615git1e36e30.el8", "source": "rpm", "version": "0.9.4" } ], "plymouth-core-libs": [ { "arch": "x86_64", "epoch": null, "name": "plymouth-core-libs", "release": "11.20200615git1e36e30.el8", "source": "rpm", "version": "0.9.4" } ], "plymouth-scripts": [ { "arch": "x86_64", "epoch": null, "name": "plymouth-scripts", "release": "11.20200615git1e36e30.el8", "source": "rpm", "version": "0.9.4" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "20.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "20.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "12.el8", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "6.el8", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "8.el8", "source": "rpm", "version": "3.3.15" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "5.el8", "source": "rpm", "version": "23.1" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "1.el8", "source": "rpm", "version": "20180723" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "4.el8", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "7.el8", "source": "rpm", "version": "2.5.1" } ], "python3-cffi": [ { "arch": "x86_64", "epoch": null, "name": "python3-cffi", "release": "5.el8", "source": "rpm", "version": "1.11.5" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "7.el8", "source": "rpm", "version": "3.0.4" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "11.el8", "source": "rpm", "version": "5.0.6" } ], "python3-cryptography": [ { "arch": "x86_64", "epoch": null, "name": "python3-cryptography", "release": "5.el8", "source": "rpm", "version": "3.2.1" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el8", "source": "rpm", "version": "2.6.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "15.el8", "source": "rpm", "version": "1.2.4" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "2.el8", "source": "rpm", "version": "4.2.1" } ], "python3-dmidecode": [ { "arch": "x86_64", "epoch": null, "name": "python3-dmidecode", "release": "15.el8", "source": "rpm", "version": "3.12.2" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "14.el8", "source": "rpm", "version": "4.0.21" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "5.el8", "source": "rpm", "version": "0.14" } ], "python3-firewall": [ { "arch": "noarch", "epoch": null, "name": "python3-firewall", "release": "13.el8", "source": "rpm", "version": "0.9.3" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "11.el8", "source": "rpm", "version": "0.63.0" } ], "python3-html5lib": [ { "arch": "noarch", "epoch": 1, "name": "python3-html5lib", "release": "6.el8", "source": "rpm", "version": "0.999999999" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "5.el8", "source": "rpm", "version": "2.5" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "31.el8", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "13.el8", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "3.el8", "source": "rpm", "version": "2.10.1" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "2.el8", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "11.el8", "source": "rpm", "version": "1.10" } ], "python3-jsonschema": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonschema", "release": "4.el8", "source": "rpm", "version": "2.6.0" } ], "python3-jwt": [ { "arch": "noarch", "epoch": null, "name": "python3-jwt", "release": "2.el8", "source": "rpm", "version": "1.6.1" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "11.el8", "source": "rpm", "version": "0.63.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "3.el8", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "47.el8", "source": "rpm", "version": "3.6.8" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "6.el8", "source": "rpm", "version": "2.9" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "9.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "14.el8", "source": "rpm", "version": "2.9.7" } ], "python3-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python3-linux-procfs", "release": "1.el8", "source": "rpm", "version": "0.7.0" } ], "python3-lxml": [ { "arch": "x86_64", "epoch": null, "name": "python3-lxml", "release": "4.el8", "source": "rpm", "version": "4.2.3" } ], "python3-magic": [ { "arch": "noarch", "epoch": null, "name": "python3-magic", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "4.el8", "source": "rpm", "version": "0.10.6" } ], "python3-nftables": [ { "arch": "x86_64", "epoch": 1, "name": "python3-nftables", "release": "26.el8", "source": "rpm", "version": "0.9.3" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "1.el8", "source": "rpm", "version": "2.1.0" } ], "python3-perf": [ { "arch": "x86_64", "epoch": null, "name": "python3-perf", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "python3-pip": [ { "arch": "noarch", "epoch": null, "name": "python3-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-ply": [ { "arch": "noarch", "epoch": null, "name": "python3-ply", "release": "9.el8", "source": "rpm", "version": "3.9" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "20.el8", "source": "rpm", "version": "2.9" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "14.el8", "source": "rpm", "version": "0.7.2" } ], "python3-pycparser": [ { "arch": "noarch", "epoch": null, "name": "python3-pycparser", "release": "14.el8", "source": "rpm", "version": "2.14" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "8.el8", "source": "rpm", "version": "3.1.1" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "3.el8", "source": "rpm", "version": "1.6.8" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "9.el8", "source": "rpm", "version": "2017.2" } ], "python3-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python3-pyudev", "release": "7.el8", "source": "rpm", "version": "0.21.0" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "12.el8", "source": "rpm", "version": "3.12" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "2.1.el8_1", "source": "rpm", "version": "2.20.0" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "3.el8", "source": "rpm", "version": "4.3.0" } ], "python3-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "8.el8", "source": "rpm", "version": "1.11.0" } ], "python3-slip": [ { "arch": "noarch", "epoch": null, "name": "python3-slip", "release": "13.el8", "source": "rpm", "version": "0.6.4" } ], "python3-slip-dbus": [ { "arch": "noarch", "epoch": null, "name": "python3-slip-dbus", "release": "13.el8", "source": "rpm", "version": "0.6.4" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "python3-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "python3-unbound": [ { "arch": "x86_64", "epoch": null, "name": "python3-unbound", "release": "2.el8", "source": "rpm", "version": "1.16.2" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "5.el8", "source": "rpm", "version": "1.24.2" } ], "python3-webencodings": [ { "arch": "noarch", "epoch": null, "name": "python3-webencodings", "release": "6.el8", "source": "rpm", "version": "0.5.1" } ], "python36": [ { "arch": "x86_64", "epoch": null, "name": "python36", "release": "38.module+el8.5.0+12207+5c5719bc", "source": "rpm", "version": "3.6.8" } ], "qa-tools": [ { "arch": "noarch", "epoch": null, "name": "qa-tools", "release": "3.el8", "source": "rpm", "version": "4.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 15, "name": "qemu-guest-agent", "release": "18.module+el8.7.0+15999+d24f860e", "source": "rpm", "version": "6.2.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "10.el8", "source": "rpm", "version": "7.0" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "0.2.el8", "source": "rpm", "version": "8.7" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "0.2.el8", "source": "rpm", "version": "8.7" } ], "restraint": [ { "arch": "x86_64", "epoch": null, "name": "restraint", "release": "1.el8bkr", "source": "rpm", "version": "0.4.0" } ], "restraint-rhts": [ { "arch": "x86_64", "epoch": null, "name": "restraint-rhts", "release": "1.el8bkr", "source": "rpm", "version": "0.4.0" } ], "rhc": [ { "arch": "x86_64", "epoch": 1, "name": "rhc", "release": "9.el8", "source": "rpm", "version": "0.2.1" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "1.el8", "source": "rpm", "version": "6.15" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "22.el8", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "10.el8", "source": "rpm", "version": "1.2.5" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "18.el8", "source": "rpm", "version": "3.1.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "10.el8", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "5.el8", "source": "rpm", "version": "4.5" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "106.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "106.el8", "source": "rpm", "version": "3.14.3" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "7.el8", "source": "rpm", "version": "2.12.2" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "6.el8", "source": "rpm", "version": "1.44" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "6.el8", "source": "rpm", "version": "1.44" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "17.el8", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "shim-x64": [ { "arch": "x86_64", "epoch": null, "name": "shim-x64", "release": "1.el8", "source": "rpm", "version": "15.6" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "3.el8", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el8", "source": "rpm", "version": "1.1.8" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "15.el8", "source": "rpm", "version": "3.26.0" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "20.el8", "source": "rpm", "version": "4.3" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "strace": [ { "arch": "x86_64", "epoch": null, "name": "strace", "release": "2.el8", "source": "rpm", "version": "5.18" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "subscription-manager-rhsm-certificates": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "8.el8", "source": "rpm", "version": "1.8.29" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemtap": [ { "arch": "x86_64", "epoch": null, "name": "systemtap", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "systemtap-client": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-client", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "systemtap-devel": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-devel", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "systemtap-runtime": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-runtime", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "6.el8", "source": "rpm", "version": "1.30" } ], "tbb": [ { "arch": "x86_64", "epoch": null, "name": "tbb", "release": "9.el8", "source": "rpm", "version": "2018.2" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "time": [ { "arch": "x86_64", "epoch": null, "name": "time", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "timedatex": [ { "arch": "x86_64", "epoch": null, "name": "timedatex", "release": "3.el8", "source": "rpm", "version": "0.5" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "4.el8", "source": "rpm", "version": "2.3.2" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "trousers-lib": [ { "arch": "x86_64", "epoch": null, "name": "trousers-lib", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "0.1.rc1.el8", "source": "rpm", "version": "2.19.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "2.el8", "source": "rpm", "version": "2022a" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "2.el8", "source": "rpm", "version": "1.16.2" } ], "unzip": [ { "arch": "x86_64", "epoch": null, "name": "unzip", "release": "46.el8", "source": "rpm", "version": "6.0" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "2.el8", "source": "rpm", "version": "1.113" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "vim-common": [ { "arch": "x86_64", "epoch": 2, "name": "vim-common", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "vim-enhanced": [ { "arch": "x86_64", "epoch": 2, "name": "vim-enhanced", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "vim-filesystem": [ { "arch": "noarch", "epoch": 2, "name": "vim-filesystem", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "14.el8", "source": "rpm", "version": "1.18" } ], "wget": [ { "arch": "x86_64", "epoch": null, "name": "wget", "release": "10.el8", "source": "rpm", "version": "1.19.5" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "18.el8", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "10.el8", "source": "rpm", "version": "5.0.0" } ], "xkeyboard-config": [ { "arch": "noarch", "epoch": null, "name": "xkeyboard-config", "release": "1.el8", "source": "rpm", "version": "2.28" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "4.el8_6", "source": "rpm", "version": "5.2.4" } ], "xz-devel": [ { "arch": "x86_64", "epoch": null, "name": "xz-devel", "release": "4.el8_6", "source": "rpm", "version": "5.2.4" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "4.el8_6", "source": "rpm", "version": "5.2.4" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "14.el8", "source": "rpm", "version": "4.0.21" } ], "zip": [ { "arch": "x86_64", "epoch": null, "name": "zip", "release": "23.el8", "source": "rpm", "version": "3.0" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el8", "source": "rpm", "version": "1.2.11" } ], "zlib-devel": [ { "arch": "x86_64", "epoch": null, "name": "zlib-devel", "release": "19.el8", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** Friday 19 August 2022 23:49:45 +0000 (0:00:01.617) 0:01:45.002 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** Friday 19 August 2022 23:49:45 +0000 (0:00:00.073) 0:01:45.076 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** Friday 19 August 2022 23:49:45 +0000 (0:00:00.055) 0:01:45.131 ********* ok: [sut] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** Friday 19 August 2022 23:49:45 +0000 (0:00:00.074) 0:01:45.206 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** Friday 19 August 2022 23:49:45 +0000 (0:00:00.068) 0:01:45.274 ********* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 31, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** Friday 19 August 2022 23:49:45 +0000 (0:00:00.301) 0:01:45.575 ********* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/var/lib/rsyslog", "secontext": "system_u:object_r:syslogd_var_lib_t:s0", "size": 29, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** Friday 19 August 2022 23:49:46 +0000 (0:00:00.301) 0:01:45.877 ********* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/var/log", "secontext": "system_u:object_r:var_log_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** Friday 19 August 2022 23:49:46 +0000 (0:00:00.295) 0:01:46.173 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1660952971.8404093, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1660952967.6743853, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16797861, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1652689130.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "4033708916", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** Friday 19 August 2022 23:49:46 +0000 (0:00:00.304) 0:01:46.477 ********* changed: [sut] => { "changed": true, "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "dest": "/etc/rsyslog.conf", "gid": 0, "group": "root", "md5sum": "e08a7b6fa14b8e9ce4b3f79d00d21c08", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 108, "src": "/root/.ansible/tmp/ansible-tmp-1660952986.8387425-18156-74820700563134/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** Friday 19 August 2022 23:49:47 +0000 (0:00:00.802) 0:01:47.280 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_common_rules": [ { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** Friday 19 August 2022 23:49:47 +0000 (0:00:00.174) 0:01:47.455 ********* changed: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False" } changed: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** Friday 19 August 2022 23:49:49 +0000 (0:00:01.465) 0:01:48.921 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** Friday 19 August 2022 23:49:49 +0000 (0:00:00.089) 0:01:49.010 ********* skipping: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** Friday 19 August 2022 23:49:49 +0000 (0:00:00.086) 0:01:49.096 ********* ok: [sut] => (item={'name': 'basic_input', 'type': 'basics'}) => { "ansible_facts": { "__rsyslog_basics_packages": [] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/basics/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "basic_input", "type": "basics" } } ok: [sut] => (item={'name': 'ovirt_collectd_input', 'type': 'ovirt', 'subtype': 'collectd', 'ovirt_collectd_port': 44514, 'ovirt_elasticsearch_index_prefix': 'project.ovirt-metrics', 'ovirt_env_name': 'test-engine', 'ovirt_env_uuid': '111-222-333'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_collectd_input", "ovirt_collectd_port": 44514, "ovirt_elasticsearch_index_prefix": "project.ovirt-metrics", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "111-222-333", "subtype": "collectd", "type": "ovirt" } } ok: [sut] => (item={'name': 'ovirt_engine_input', 'type': 'ovirt', 'subtype': 'engine', 'ovirt_elasticsearch_index_prefix': 'project.ovirt-logs', 'ovirt_env_name': 'test-engine', 'ovirt_env_uuid': '444-555-666', 'ovirt_vds_cluster_name': 'test_vds_cluster', 'ovirt_engine_fqdn': 'engine.ovirt.example.com', 'ovirt_input_file': '/var/log/ovirt-engine/engine.log'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_engine_input", "ovirt_elasticsearch_index_prefix": "project.ovirt-logs", "ovirt_engine_fqdn": "engine.ovirt.example.com", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "444-555-666", "ovirt_input_file": "/var/log/ovirt-engine/engine.log", "ovirt_vds_cluster_name": "test_vds_cluster", "subtype": "engine", "type": "ovirt" } } ok: [sut] => (item={'name': 'ovirt_vdsm_input', 'type': 'ovirt', 'subtype': 'vdsm', 'ovirt_elasticsearch_index_prefix': 'project.ovirt-logs', 'ovirt_env_name': 'test-engine', 'ovirt_env_uuid': '777-888-999', 'ovirt_vds_cluster_name': 'test_vds_cluster', 'ovirt_engine_fqdn': 'engine.ovirt.example.com', 'ovirt_input_file': '/var/log/vdsm/vdsm.log'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_vdsm_input", "ovirt_elasticsearch_index_prefix": "project.ovirt-logs", "ovirt_engine_fqdn": "engine.ovirt.example.com", "ovirt_env_name": "test-engine", "ovirt_env_uuid": "777-888-999", "ovirt_input_file": "/var/log/vdsm/vdsm.log", "ovirt_vds_cluster_name": "test_vds_cluster", "subtype": "vdsm", "type": "ovirt" } } ok: [sut] => (item={'name': 'ovirt_bogus_input', 'type': 'ovirt', 'subtype': 'bogus'}) => { "ansible_facts": { "__rsyslog_ovirt_packages": [ "rsyslog-mmnormalize", "rsyslog-mmjsonparse", "libfastjson", "liblognorm", "libestr" ], "__rsyslog_ovirt_rules": [ "{{ rsyslog_conf_ovirt_local_modules }}", "{{ rsyslog_conf_ovirt_main_modules }}", "{{ rsyslog_rulebase_ovirt_engine }}", "{{ rsyslog_rulebase_ovirt_vdsm }}", "{{ rsyslog_rulebase_ovirt_parse_json }}" ], "rsyslog_conf_ovirt_local_modules": [ { "name": "input-ovirt-local_modules", "sections": [ { "options": "{% if rsyslog_inputs | selectattr('name', 'defined') |\n selectattr('type', 'defined') |\n selectattr('type', 'match', '^basics$') | list | length == 0 %}\n# Log messages sent to local UNIX socket with use=off'\nmodule(load=\"imuxsock\" SysSock.Use=\"off\")\n{% endif %}" } ], "type": "modules" } ], "rsyslog_conf_ovirt_main_modules": [ { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" } ], "rsyslog_rulebase_ovirt_engine": [ { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ], "rsyslog_rulebase_ovirt_parse_json": [ { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] } ], "rsyslog_rulebase_ovirt_vdsm": [ { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] } ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml" ], "ansible_loop_var": "input_item", "changed": false, "input_item": { "name": "ovirt_bogus_input", "subtype": "bogus", "type": "ovirt" } } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** Friday 19 August 2022 23:49:49 +0000 (0:00:00.220) 0:01:49.317 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/basics/main.yml for sut => (item={'name': 'basic_input', 'type': 'basics'}) included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut => (item={'name': 'ovirt_collectd_input', 'type': 'ovirt', 'subtype': 'collectd', 'ovirt_collectd_port': 44514, 'ovirt_elasticsearch_index_prefix': 'project.ovirt-metrics', 'ovirt_env_name': 'test-engine', 'ovirt_env_uuid': '111-222-333'}) included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut => (item={'name': 'ovirt_engine_input', 'type': 'ovirt', 'subtype': 'engine', 'ovirt_elasticsearch_index_prefix': 'project.ovirt-logs', 'ovirt_env_name': 'test-engine', 'ovirt_env_uuid': '444-555-666', 'ovirt_vds_cluster_name': 'test_vds_cluster', 'ovirt_engine_fqdn': 'engine.ovirt.example.com', 'ovirt_input_file': '/var/log/ovirt-engine/engine.log'}) included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut => (item={'name': 'ovirt_vdsm_input', 'type': 'ovirt', 'subtype': 'vdsm', 'ovirt_elasticsearch_index_prefix': 'project.ovirt-logs', 'ovirt_env_name': 'test-engine', 'ovirt_env_uuid': '777-888-999', 'ovirt_vds_cluster_name': 'test_vds_cluster', 'ovirt_engine_fqdn': 'engine.ovirt.example.com', 'ovirt_input_file': '/var/log/vdsm/vdsm.log'}) included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/main.yml for sut => (item={'name': 'ovirt_bogus_input', 'type': 'ovirt', 'subtype': 'bogus'}) TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update basics input packages] *** Friday 19 August 2022 23:49:49 +0000 (0:00:00.210) 0:01:49.527 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:49:49 +0000 (0:00:00.104) 0:01:49.632 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:49:49 +0000 (0:00:00.099) 0:01:49.731 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:49:50 +0000 (0:00:00.065) 0:01:49.797 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:49:50 +0000 (0:00:00.095) 0:01:49.893 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create basics input configuration file input-basics-basic_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:49:50 +0000 (0:00:00.068) 0:01:49.962 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:49:50 +0000 (0:00:00.111) 0:01:50.073 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:49:50 +0000 (0:00:00.069) 0:01:50.143 ********* changed: [sut] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'module(load="imuxsock" # provides support for local system logging (e.g. via logger command)\n SysSock.Use="off") # Turn off message reception via local log socket.\nmodule(load="imjournal"\n StateFile="/var/lib/rsyslog/imjournal.state"\n RateLimit.Burst="20000"\n RateLimit.Interval="600"\n PersistStateInterval="10")\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call default_files\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:49:51 +0000 (0:00:00.899) 0:01:51.043 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:49:51 +0000 (0:00:00.090) 0:01:51.134 ********* skipping: [sut] => (item={'name': 'input-basics-basic_input', 'type': 'input', 'state': 'present', 'sections': [{'options': 'module(load="imuxsock" # provides support for local system logging (e.g. via logger command)\n SysSock.Use="off") # Turn off message reception via local log socket.\nmodule(load="imjournal"\n StateFile="/var/lib/rsyslog/imjournal.state"\n RateLimit.Burst="20000"\n RateLimit.Interval="600"\n PersistStateInterval="10")\nif\n ($inputname == "imjournal" or $inputname == "imuxsock")\n then {\n call default_files\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:49:51 +0000 (0:00:00.225) 0:01:51.359 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:49:51 +0000 (0:00:00.106) 0:01:51.466 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:49:52 +0000 (0:00:00.516) 0:01:51.982 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:49:52 +0000 (0:00:00.227) 0:01:52.210 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:49:52 +0000 (0:00:00.107) 0:01:52.318 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-mmjsonparse-8.2102.0-10.el8.x86_64", "Installed: rsyslog-mmnormalize-8.2102.0-10.el8.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:49:54 +0000 (0:00:02.417) 0:01:54.736 ********* changed: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:49:58 +0000 (0:00:03.514) 0:01:58.250 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:49:58 +0000 (0:00:00.101) 0:01:58.351 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_collectd_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:49:58 +0000 (0:00:00.119) 0:01:58.471 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:49:58 +0000 (0:00:00.158) 0:01:58.630 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:49:58 +0000 (0:00:00.069) 0:01:58.699 ********* changed: [sut] => (item={'name': 'input-ovirt-ovirt_collectd_input', 'type': 'input', 'sections': [{'options': 'input(name="ovirt_collectd_input" type="imtcp" port="44514")\nif $inputname == "ovirt_collectd_input" then {\n set $!original_raw_message = $msg;\n action(name="collectd_mmjsonparse" type="mmjsonparse" cookie="") # parse entire message as json\n set $!@timestamp = exec_template(\'cnvt_to_viaq_timestamp\');\n unset $!time;\n if $!collectd!plugin == \'virt\' then {\n set $!ovirt!entity = \'vms\';\n } else {\n set $!ovirt!entity = \'hosts\';\n }\n set $.index_prefix = "project.ovirt-metrics" & "-" & "test-engine" & "." & "111-222-333" & ".";\n set $.input_type = "ovirt";\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output_ops\n}\n'}], 'state': 'present'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:49:59 +0000 (0:00:00.848) 0:01:59.548 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:49:59 +0000 (0:00:00.101) 0:01:59.649 ********* skipping: [sut] => (item={'name': 'input-ovirt-ovirt_collectd_input', 'type': 'input', 'sections': [{'options': 'input(name="ovirt_collectd_input" type="imtcp" port="44514")\nif $inputname == "ovirt_collectd_input" then {\n set $!original_raw_message = $msg;\n action(name="collectd_mmjsonparse" type="mmjsonparse" cookie="") # parse entire message as json\n set $!@timestamp = exec_template(\'cnvt_to_viaq_timestamp\');\n unset $!time;\n if $!collectd!plugin == \'virt\' then {\n set $!ovirt!entity = \'vms\';\n } else {\n set $!ovirt!entity = \'hosts\';\n }\n set $.index_prefix = "project.ovirt-metrics" & "-" & "test-engine" & "." & "111-222-333" & ".";\n set $.input_type = "ovirt";\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == "ovirt_collectd_input")\n then {\n call elasticsearch_output_ops\n}\n'}], 'state': 'present'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:50:00 +0000 (0:00:00.176) 0:01:59.825 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:00.807103", "end": "2022-08-19 23:50:01.094940", "rc": 0, "start": "2022-08-19 23:50:00.287837" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:50:01 +0000 (0:00:01.104) 0:02:00.930 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:50:01 +0000 (0:00:00.104) 0:02:01.034 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:50:01 +0000 (0:00:00.563) 0:02:01.598 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:50:01 +0000 (0:00:00.156) 0:02:01.755 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:50:02 +0000 (0:00:00.109) 0:02:01.864 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:50:03 +0000 (0:00:01.801) 0:02:03.665 ********* ok: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:50:06 +0000 (0:00:03.115) 0:02:06.781 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:50:07 +0000 (0:00:00.112) 0:02:06.894 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_engine_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:50:07 +0000 (0:00:00.123) 0:02:07.017 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:50:07 +0000 (0:00:00.118) 0:02:07.135 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:50:07 +0000 (0:00:00.070) 0:02:07.206 ********* changed: [sut] => (item={'name': 'input-ovirt-ovirt_engine_input', 'type': 'input', 'sections': [{'options': 'input(type="imfile" file="/var/log/ovirt-engine/engine.log" tag="ovirt_engine_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_engine_input" then {\n action(name="ovirt-engine_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_engine.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_engine_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "444-555-666" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-10-64.ec2.internal\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.31.10.64\';\n set $!ovirt!engine_fqdn = \'engine.ovirt.example.com\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output_ops\n}\n'}], 'state': 'present'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "b842280118fcd42c28778ea703612a9f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:50:08 +0000 (0:00:00.846) 0:02:08.053 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b842280118fcd42c28778ea703612a9f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:50:08 +0000 (0:00:00.111) 0:02:08.164 ********* skipping: [sut] => (item={'name': 'input-ovirt-ovirt_engine_input', 'type': 'input', 'sections': [{'options': 'input(type="imfile" file="/var/log/ovirt-engine/engine.log" tag="ovirt_engine_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_engine_input" then {\n action(name="ovirt-engine_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_engine.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_engine_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "444-555-666" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-10-64.ec2.internal\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.31.10.64\';\n set $!ovirt!engine_fqdn = \'engine.ovirt.example.com\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_engine_input")\n then {\n call elasticsearch_output_ops\n}\n'}], 'state': 'present'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:50:08 +0000 (0:00:00.180) 0:02:08.344 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:00.805691", "end": "2022-08-19 23:50:09.612647", "rc": 0, "start": "2022-08-19 23:50:08.806956" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:50:09 +0000 (0:00:01.102) 0:02:09.447 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:50:09 +0000 (0:00:00.139) 0:02:09.587 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:50:10 +0000 (0:00:00.517) 0:02:10.104 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:50:10 +0000 (0:00:00.149) 0:02:10.254 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:50:10 +0000 (0:00:00.108) 0:02:10.363 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:50:12 +0000 (0:00:01.791) 0:02:12.154 ********* ok: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:50:15 +0000 (0:00:03.102) 0:02:15.257 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b842280118fcd42c28778ea703612a9f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:50:15 +0000 (0:00:00.199) 0:02:15.457 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_vdsm_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:50:15 +0000 (0:00:00.123) 0:02:15.580 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:50:15 +0000 (0:00:00.119) 0:02:15.700 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:50:15 +0000 (0:00:00.069) 0:02:15.769 ********* changed: [sut] => (item={'name': 'input-ovirt-ovirt_vdsm_input', 'type': 'input', 'sections': [{'options': 'input(type="imfile" file="/var/log/vdsm/vdsm.log" tag="ovirt_vdsm_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_vdsm_input" then {\n action(name="ovirt-vdsm_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_vdsm.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_vdsm_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "777-888-999" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-10-64.ec2.internal\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.31.10.64\';\n set $!ovirt!engine_fqdn = \'engine.ovirt.example.com\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output_ops\n}\n'}], 'state': 'present'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "md5sum": "36bc20ae79bf7b020bb1d1371daf7543", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:50:16 +0000 (0:00:00.863) 0:02:16.633 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b842280118fcd42c28778ea703612a9f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "unsafe_writes": false, "validate": null } }, "md5sum": "36bc20ae79bf7b020bb1d1371daf7543", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:50:16 +0000 (0:00:00.124) 0:02:16.757 ********* skipping: [sut] => (item={'name': 'input-ovirt-ovirt_vdsm_input', 'type': 'input', 'sections': [{'options': 'input(type="imfile" file="/var/log/vdsm/vdsm.log" tag="ovirt_vdsm_input"\n reopenOnTruncate="on" startmsg.regex="^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}")\nif $syslogtag == "ovirt_vdsm_input" then {\n action(name="ovirt-vdsm_mmnormalize" type="mmnormalize"\n rulebase="/etc/rsyslog.d/ovirt_vdsm.rulebase" path="$.ovirt")\n}\nif $syslogtag == "ovirt_vdsm_input" then {\n set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "777-888-999" & ".";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & "T" & $.ovirt!time & "." & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = \'ip-10-31-10-64.ec2.internal\';\n set $!ovirt!cluster_name = \'test_vds_cluster\';\n set $!ipaddr4 = \'10.31.10.64\';\n set $!ovirt!engine_fqdn = \'engine.ovirt.example.com\';\n set $.input_type = "ovirt";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == "ovirt_vdsm_input")\n then {\n call elasticsearch_output_ops\n}\n'}], 'state': 'present'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:50:17 +0000 (0:00:00.182) 0:02:16.940 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:00.808979", "end": "2022-08-19 23:50:18.213738", "rc": 0, "start": "2022-08-19 23:50:17.404759" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set ovirt platform/version specific variables] *** Friday 19 August 2022 23:50:18 +0000 (0:00:01.107) 0:02:18.047 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/inputs/ovirt/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:50:18 +0000 (0:00:00.137) 0:02:18.185 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:50:18 +0000 (0:00:00.514) 0:02:18.699 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml) => { "ansible_facts": { "__rsyslog_ovirt_prereq_packages": [ "policycoreutils-python-utils" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update oVirt input packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:50:19 +0000 (0:00:00.147) 0:02:18.847 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:50:19 +0000 (0:00:00.110) 0:02:18.957 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:50:20 +0000 (0:00:01.790) 0:02:20.748 ********* ok: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:50:24 +0000 (0:00:03.126) 0:02:23.875 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b842280118fcd42c28778ea703612a9f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "unsafe_writes": false, "validate": null } }, "md5sum": "36bc20ae79bf7b020bb1d1371daf7543", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:50:24 +0000 (0:00:00.208) 0:02:24.083 ********* skipping: [sut] => (item={'name': 'input-ovirt-local_modules', 'type': 'modules', 'sections': [{'options': ''}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'input-ovirt-main-modules', 'type': 'modules', 'sections': [{'options': '# Read from file with inotify enabled\nmodule(load="imfile" mode="inotify")'}, {'options': '# Read from tcp collectd metrics\nmodule(load="imtcp")'}, {'options': '# Normalize logs\nmodule(load="mmnormalize")'}, {'options': '# Parse logs to JSON\nmodule(load="mmjsonparse")'}, {'options': 'template(name="cnvt_to_viaq_timestamp" type="list") {\n property(name="TIMESTAMP" dateFormat="rfc3339")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_engine', 'filename': 'ovirt_engine.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %thread:string{"quoting.char.begin":"(","quoting.char.end":")"}% %correlationid:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'ovirt_vdsm', 'filename': 'ovirt_vdsm.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{"quoting.char.begin":"(","quoting.char.end":")"}% %thread:string{"quoting.char.begin":"[","quoting.char.end":"]"}% %message:rest%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'parse_json', 'filename': 'parse_json.rulebase', 'nocomment': True, 'sections': [{'options': 'version=2\nrule=:%.:json%'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create oVirt input configuration file input-ovirt-ovirt_bogus_input in /etc/rsyslog.d] *** Friday 19 August 2022 23:50:24 +0000 (0:00:00.124) 0:02:24.208 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to] *** Friday 19 August 2022 23:50:24 +0000 (0:00:00.073) 0:02:24.282 ********* changed: [sut] => { "changed": true, "cmd": "set -euo pipefail\nsport=44514\nplist=$( semanage port -l | grep \"$sport\" || : )\nif [ \"$plist\" = \"\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\nelse\n elems=()\n for pl in \"$plist\"\n do\n elems+=($pl)\n done\n if [ \"${elems[0]}\" != \"syslogd_port_t\" -o \"${elems[1]}\" != \"tcp\" ]; then\n semanage port -a -t syslogd_port_t -p tcp \"$sport\"\n fi\nfi", "delta": "0:00:00.804027", "end": "2022-08-19 23:50:25.548504", "rc": 0, "start": "2022-08-19 23:50:24.744477" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** Friday 19 August 2022 23:50:25 +0000 (0:00:01.099) 0:02:25.382 ********* ok: [sut] => (item={'name': 'default_files', 'type': 'files'}) => { "ansible_facts": { "__rsyslog_conf_files_output_modules": [ { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "{% if logging_files_template_format == \"traditional\" %}\nmodule(load=\"builtin:omfile\" Template=\"RSYSLOG_TraditionalFileFormat\")\n{% elif logging_files_template_format == \"syslog\" %}\nmodule(load=\"builtin:omfile\" Template=\"RSYSLOG_SyslogProtocol23Format\")\n{% else %}\nmodule(load=\"builtin:omfile\")\n{% endif %}" } ], "type": "modules" } ], "__rsyslog_files_output_packages": [], "__rsyslog_files_output_rules": [ "{{ __rsyslog_conf_files_output_modules }}" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/files/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "name": "default_files", "type": "files" } } ok: [sut] => (item={'name': 'elasticsearch_output', 'type': 'elasticsearch', 'server_host': ['logging-es0', 'logging-es1'], 'server_port': 9200, 'index_prefix': 'project.', 'input_type': 'ovirt', 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'uid': 'testuser0'}) => { "ansible_facts": { "__rsyslog_conf_es_elasticsearch": [ { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"{{ __rsyslog_work_dir }}/es-bulk-errors.log\")\n}" } ], "type": "output" } ], "__rsyslog_conf_es_main_modules": [ { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" } ], "__rsyslog_elasticsearch_packages": [ "rsyslog-elasticsearch" ], "__rsyslog_elasticsearch_rules": [ "{{ __rsyslog_conf_es_main_modules }}", "{{ __rsyslog_conf_es_elasticsearch }}" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/elasticsearch/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "index_prefix": "project.", "input_type": "ovirt", "name": "elasticsearch_output", "private_key": "/etc/rsyslog.d/es-key.pem", "server_host": [ "logging-es0", "logging-es1" ], "server_port": 9200, "type": "elasticsearch", "uid": "testuser0" } } ok: [sut] => (item={'name': 'elasticsearch_output_ops', 'type': 'elasticsearch', 'server_host': ['logging-es-ops0', 'logging-es-ops1'], 'server_port': 9200, 'index_prefix': '.operations.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'dynSearchIndex': False, 'bulkmode': False, 'dynbulkid': False, 'allowUnsignedCerts': True, 'usehttps': False}) => { "ansible_facts": { "__rsyslog_conf_es_elasticsearch": [ { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"{{ __rsyslog_work_dir }}/es-bulk-errors.log\")\n}" } ], "type": "output" } ], "__rsyslog_conf_es_main_modules": [ { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" } ], "__rsyslog_elasticsearch_packages": [ "rsyslog-elasticsearch" ], "__rsyslog_elasticsearch_rules": [ "{{ __rsyslog_conf_es_main_modules }}", "{{ __rsyslog_conf_es_elasticsearch }}" ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/elasticsearch/main.yml" ], "ansible_loop_var": "output_item", "changed": false, "output_item": { "allowUnsignedCerts": true, "bulkmode": false, "ca_cert": "/etc/rsyslog.d/es-ca.crt", "cert": "/etc/rsyslog.d/es-cert.pem", "dynSearchIndex": false, "dynbulkid": false, "index_prefix": ".operations.", "input_type": "ovirt", "name": "elasticsearch_output_ops", "private_key": "/etc/rsyslog.d/es-key.pem", "retryfailures": false, "server_host": [ "logging-es-ops0", "logging-es-ops1" ], "server_port": 9200, "type": "elasticsearch", "usehttps": false } } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** Friday 19 August 2022 23:50:25 +0000 (0:00:00.140) 0:02:25.523 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/outputs/files/main.yml for sut => (item={'name': 'default_files', 'type': 'files'}) included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for sut => (item={'name': 'elasticsearch_output', 'type': 'elasticsearch', 'server_host': ['logging-es0', 'logging-es1'], 'server_port': 9200, 'index_prefix': 'project.', 'input_type': 'ovirt', 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'uid': 'testuser0'}) included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/outputs/elasticsearch/main.yml for sut => (item={'name': 'elasticsearch_output_ops', 'type': 'elasticsearch', 'server_host': ['logging-es-ops0', 'logging-es-ops1'], 'server_port': 9200, 'index_prefix': '.operations.', 'input_type': 'ovirt', 'retryfailures': False, 'ca_cert': '/etc/rsyslog.d/es-ca.crt', 'cert': '/etc/rsyslog.d/es-cert.pem', 'private_key': '/etc/rsyslog.d/es-key.pem', 'dynSearchIndex': False, 'bulkmode': False, 'dynbulkid': False, 'allowUnsignedCerts': True, 'usehttps': False}) TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update files output packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:50:25 +0000 (0:00:00.163) 0:02:25.687 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:50:26 +0000 (0:00:00.106) 0:02:25.793 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:50:26 +0000 (0:00:00.069) 0:02:25.863 ********* changed: [sut] => (item={'name': 'output-files-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfile")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660953026.1979897-18667-133420676207058/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:50:26 +0000 (0:00:00.759) 0:02:26.622 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b842280118fcd42c28778ea703612a9f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "unsafe_writes": false, "validate": null } }, "md5sum": "36bc20ae79bf7b020bb1d1371daf7543", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "content": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953026.1979897-18667-133420676207058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660953026.1979897-18667-133420676207058/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:50:27 +0000 (0:00:00.217) 0:02:26.839 ********* skipping: [sut] => (item={'name': 'output-files-modules', 'type': 'modules', 'sections': [{'comment': 'Log messages into files with traditional, syslog, or default format', 'options': 'module(load="builtin:omfile")\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create files output configuration file output-files-default_files in /etc/rsyslog.d] *** Friday 19 August 2022 23:50:27 +0000 (0:00:00.085) 0:02:26.925 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:50:27 +0000 (0:00:00.110) 0:02:27.035 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:50:27 +0000 (0:00:00.070) 0:02:27.105 ********* changed: [sut] => (item={'name': 'output-files-default_files', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="default_files") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don\'t log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660953027.5224886-18685-280738253562962/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:50:28 +0000 (0:00:00.841) 0:02:27.947 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b842280118fcd42c28778ea703612a9f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "unsafe_writes": false, "validate": null } }, "md5sum": "36bc20ae79bf7b020bb1d1371daf7543", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "content": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953026.1979897-18667-133420676207058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660953026.1979897-18667-133420676207058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953027.5224886-18685-280738253562962/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660953027.5224886-18685-280738253562962/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:50:28 +0000 (0:00:00.134) 0:02:28.081 ********* skipping: [sut] => (item={'name': 'output-files-default_files', 'type': 'output', 'state': 'present', 'sections': [{'options': 'ruleset(name="default_files") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don\'t log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** Friday 19 August 2022 23:50:28 +0000 (0:00:00.169) 0:02:28.251 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/set_certs.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:50:28 +0000 (0:00:00.102) 0:02:28.353 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:50:28 +0000 (0:00:00.084) 0:02:28.437 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy key on the control host to the specified path on the target host] *** Friday 19 August 2022 23:50:28 +0000 (0:00:00.082) 0:02:28.520 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** Friday 19 August 2022 23:50:28 +0000 (0:00:00.081) 0:02:28.602 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** Friday 19 August 2022 23:50:28 +0000 (0:00:00.121) 0:02:28.723 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:50:29 +0000 (0:00:00.080) 0:02:28.803 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:50:29 +0000 (0:00:00.112) 0:02:28.916 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-elasticsearch-8.2102.0-10.el8.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:50:31 +0000 (0:00:02.408) 0:02:31.325 ********* changed: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660953031.6617222-18716-6305346258449/source", "state": "file", "uid": 0 } changed: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', 'sections': [{'options': '# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660953032.3441458-18716-235718840173875/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:50:32 +0000 (0:00:01.441) 0:02:32.766 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b842280118fcd42c28778ea703612a9f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "unsafe_writes": false, "validate": null } }, "md5sum": "36bc20ae79bf7b020bb1d1371daf7543", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "content": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953026.1979897-18667-133420676207058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660953026.1979897-18667-133420676207058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953027.5224886-18685-280738253562962/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660953027.5224886-18685-280738253562962/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "content": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953031.6617222-18716-6305346258449/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660953031.6617222-18716-6305346258449/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "content": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953032.3441458-18716-235718840173875/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660953032.3441458-18716-235718840173875/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:50:33 +0000 (0:00:00.184) 0:02:32.951 ********* skipping: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', 'sections': [{'options': '# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d] *** Friday 19 August 2022 23:50:33 +0000 (0:00:00.132) 0:02:33.084 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:50:33 +0000 (0:00:00.123) 0:02:33.207 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:50:33 +0000 (0:00:00.072) 0:02:33.280 ********* changed: [sut] => (item={'name': 'output-elasticsearch-elasticsearch_output', 'type': 'output', 'weight': '31', 'state': 'present', 'sections': [{'options': 'ruleset(name="elasticsearch_output") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == "create")) then {\n stop # successful\n }\n if ($.omes!writeoperation == "unknown") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template("prefix_index_template");\n }\n if ($.input_type == "ovirt") and ($.index_prefix startswith "project.") then {\n action(\n type="omelasticsearch"\n name="elasticsearch_output"\n server=["logging-es0", "logging-es1"]\n serverport="9200"\n template="es_template"\n searchIndex="index_template"\n dynSearchIndex="on"\n searchType="com.redhat.viaq.common"\n bulkmode="on"\n writeoperation="create"\n bulkid="id_template"\n dynbulkid="on"\n allowUnsignedCerts="off"\n retryfailures="on"\n retryruleset="elasticsearch_output"\n usehttps="on"\n tls.cacert="/etc/rsyslog.d/es-ca.crt"\n tls.mycert="/etc/rsyslog.d/es-cert.pem"\n tls.myprivkey="/etc/rsyslog.d/es-key.pem"\n )\n }\n}\n'}], 'mode': '0600', 'owner': 'root', 'group': 'root'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "71e6277b21b00503d850a500a91ede5d172122bc", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=[\"logging-es0\", \"logging-es1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"on\"\n retryruleset=\"elasticsearch_output\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "md5sum": "aa250a5a94976fa4957f7f0543182df8", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2062, "src": "/root/.ansible/tmp/ansible-tmp-1660953033.7139962-18742-74473003458901/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:50:34 +0000 (0:00:00.866) 0:02:34.147 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b842280118fcd42c28778ea703612a9f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "unsafe_writes": false, "validate": null } }, "md5sum": "36bc20ae79bf7b020bb1d1371daf7543", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "content": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953026.1979897-18667-133420676207058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660953026.1979897-18667-133420676207058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953027.5224886-18685-280738253562962/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660953027.5224886-18685-280738253562962/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "content": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953031.6617222-18716-6305346258449/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660953031.6617222-18716-6305346258449/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "content": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953032.3441458-18716-235718840173875/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660953032.3441458-18716-235718840173875/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "71e6277b21b00503d850a500a91ede5d172122bc", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=[\"logging-es0\", \"logging-es1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"on\"\n retryruleset=\"elasticsearch_output\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "71e6277b21b00503d850a500a91ede5d172122bc", "content": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953033.7139962-18742-74473003458901/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa250a5a94976fa4957f7f0543182df8", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2062, "src": "/root/.ansible/tmp/ansible-tmp-1660953033.7139962-18742-74473003458901/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:50:34 +0000 (0:00:00.143) 0:02:34.290 ********* skipping: [sut] => (item={'name': 'output-elasticsearch-elasticsearch_output', 'type': 'output', 'weight': '31', 'state': 'present', 'sections': [{'options': 'ruleset(name="elasticsearch_output") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == "create")) then {\n stop # successful\n }\n if ($.omes!writeoperation == "unknown") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template("prefix_index_template");\n }\n if ($.input_type == "ovirt") and ($.index_prefix startswith "project.") then {\n action(\n type="omelasticsearch"\n name="elasticsearch_output"\n server=["logging-es0", "logging-es1"]\n serverport="9200"\n template="es_template"\n searchIndex="index_template"\n dynSearchIndex="on"\n searchType="com.redhat.viaq.common"\n bulkmode="on"\n writeoperation="create"\n bulkid="id_template"\n dynbulkid="on"\n allowUnsignedCerts="off"\n retryfailures="on"\n retryruleset="elasticsearch_output"\n usehttps="on"\n tls.cacert="/etc/rsyslog.d/es-ca.crt"\n tls.mycert="/etc/rsyslog.d/es-cert.pem"\n tls.myprivkey="/etc/rsyslog.d/es-key.pem"\n )\n }\n}\n'}], 'mode': '0600', 'owner': 'root', 'group': 'root'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=[\"logging-es0\", \"logging-es1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"on\"\n retryruleset=\"elasticsearch_output\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output in /etc/rsyslog.d (no_log)] *** Friday 19 August 2022 23:50:34 +0000 (0:00:00.189) 0:02:34.480 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set and check certs and key for elasticsearch] *** Friday 19 August 2022 23:50:34 +0000 (0:00:00.078) 0:02:34.558 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/set_certs.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy ca_cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:50:34 +0000 (0:00:00.105) 0:02:34.664 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy cert on the control host to the specified path on the target host] *** Friday 19 August 2022 23:50:34 +0000 (0:00:00.084) 0:02:34.749 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy key on the control host to the specified path on the target host] *** Friday 19 August 2022 23:50:35 +0000 (0:00:00.081) 0:02:34.830 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - tls is true, but triplets are not given] *** Friday 19 August 2022 23:50:35 +0000 (0:00:00.081) 0:02:34.912 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check certs - key/certs data are provided, but tls is false] *** Friday 19 August 2022 23:50:35 +0000 (0:00:00.121) 0:02:35.034 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update elasticsearch logging packages and generate configuration files in /etc/rsyslog.d] *** Friday 19 August 2022 23:50:35 +0000 (0:00:00.081) 0:02:35.115 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:50:35 +0000 (0:00:00.114) 0:02:35.230 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:50:37 +0000 (0:00:01.805) 0:02:37.035 ********* ok: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "state": "file", "uid": 0 } ok: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', 'sections': [{'options': '# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:50:38 +0000 (0:00:01.290) 0:02:38.326 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b842280118fcd42c28778ea703612a9f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "unsafe_writes": false, "validate": null } }, "md5sum": "36bc20ae79bf7b020bb1d1371daf7543", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "content": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953026.1979897-18667-133420676207058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660953026.1979897-18667-133420676207058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953027.5224886-18685-280738253562962/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660953027.5224886-18685-280738253562962/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "content": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953031.6617222-18716-6305346258449/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660953031.6617222-18716-6305346258449/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "content": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953032.3441458-18716-235718840173875/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660953032.3441458-18716-235718840173875/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "71e6277b21b00503d850a500a91ede5d172122bc", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=[\"logging-es0\", \"logging-es1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"on\"\n retryruleset=\"elasticsearch_output\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "71e6277b21b00503d850a500a91ede5d172122bc", "content": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953033.7139962-18742-74473003458901/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa250a5a94976fa4957f7f0543182df8", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2062, "src": "/root/.ansible/tmp/ansible-tmp-1660953033.7139962-18742-74473003458901/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:50:38 +0000 (0:00:00.187) 0:02:38.513 ********* skipping: [sut] => (item={'name': 'output-elasticsearch-module', 'type': 'modules', 'sections': [{'options': '# Send to Elasticsearch\nmodule(load="omelasticsearch")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'output-elasticsearch', 'type': 'output', 'sections': [{'options': '# omelasticsearch\ntemplate(name="es_template" type="list") {\n property(name="$!all-json-plain")\n}\ntemplate(name="es_template_nl" type="list") {\n property(name="$!all-json-plain")\n constant(value="\\n")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets "index_name"\ntemplate(name="prefix_index_template" type="list") {\n property(name="$.index_prefix")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="1" position.to="4")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="6" position.to="7")\n constant(value=".")\n property(name="$!@timestamp" dateFormat="rfc3339"\n position.from="9" position.to="10")\n}\n\ntemplate(name="index_template" type="string" string="%$.index_name%")\ntemplate(name="id_template" type="string" string="%$.es_msg_id%")\n\nruleset(name="error_es") {\n action(name="es_bulk_errors" type="omfile"\n template="es_template_nl"\n file="/var/lib/rsyslog/es-bulk-errors.log")\n}'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d] *** Friday 19 August 2022 23:50:38 +0000 (0:00:00.123) 0:02:38.636 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/deploy.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:50:38 +0000 (0:00:00.124) 0:02:38.760 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d] *** Friday 19 August 2022 23:50:39 +0000 (0:00:00.070) 0:02:38.831 ********* changed: [sut] => (item={'name': 'output-elasticsearch-elasticsearch_output_ops', 'type': 'output', 'weight': '31', 'state': 'present', 'sections': [{'options': 'ruleset(name="elasticsearch_output_ops") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == "create")) then {\n stop # successful\n }\n if ($.omes!writeoperation == "unknown") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template("prefix_index_template");\n }\n if ($.input_type == "ovirt") and ($.index_prefix startswith ".operations.") then {\n action(\n type="omelasticsearch"\n name="elasticsearch_output_ops"\n server=["logging-es-ops0", "logging-es-ops1"]\n serverport="9200"\n template="es_template"\n searchIndex="index_template"\n dynSearchIndex="off"\n searchType="com.redhat.viaq.common"\n bulkmode="off"\n writeoperation="create"\n bulkid="id_template"\n dynbulkid="off"\n allowUnsignedCerts="on"\n retryfailures="off"\n usehttps="off"\n tls.cacert="/etc/rsyslog.d/es-ca.crt"\n tls.mycert="/etc/rsyslog.d/es-cert.pem"\n tls.myprivkey="/etc/rsyslog.d/es-key.pem"\n )\n }\n}\n'}], 'mode': '0600', 'owner': 'root', 'group': 'root'}) => { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0acbbd214d4f586c38ca68b426ee9623be2f5100", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output_ops", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output_ops\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \".operations.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output_ops\"\n server=[\"logging-es-ops0\", \"logging-es-ops1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"off\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"off\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"off\"\n allowUnsignedCerts=\"on\"\n retryfailures=\"off\"\n usehttps=\"off\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "md5sum": "91fa182fd5c3178ec28e9fa3ab4b381b", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2038, "src": "/root/.ansible/tmp/ansible-tmp-1660953039.2691998-18795-140670144914016/source", "state": "file", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : add deployed templates to global list] *** Friday 19 August 2022 23:50:39 +0000 (0:00:00.861) 0:02:39.692 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "dest": "/etc/rsyslog.d/00-global.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "6eefea71c3ad2a843daad5f9298714de9673eb70", "content": null, "dest": "/etc/rsyslog.d/00-global.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "unsafe_writes": false, "validate": null } }, "md5sum": "863131059e7ae38b2d3f96b0c3174cbf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1660952987.789315-18180-188652241943114/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "dest": "/etc/rsyslog.d/05-common-defaults.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b7d67e36f48a188643b14805c03cb94c45d313c7", "content": null, "dest": "/etc/rsyslog.d/05-common-defaults.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "unsafe_writes": false, "validate": null } }, "md5sum": "746d586a506a03409023ceae147c2b17", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 73, "src": "/root/.ansible/tmp/ansible-tmp-1660952988.488988-18180-175699864547416/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "results": [], "skipped": true, "skipped_reason": "No items in the list" }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-basics-basic_input", "sections": [ { "options": "module(load=\"imuxsock\" # provides support for local system logging (e.g. via logger command)\n SysSock.Use=\"off\") # Turn off message reception via local log socket.\nmodule(load=\"imjournal\"\n StateFile=\"/var/lib/rsyslog/imjournal.state\"\n RateLimit.Burst=\"20000\"\n RateLimit.Interval=\"600\"\n PersistStateInterval=\"10\")\nif\n ($inputname == \"imjournal\" or $inputname == \"imuxsock\")\n then {\n call default_files\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "72229297706650ab0ed2b927e5239cfcfa5cd514", "content": null, "dest": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "unsafe_writes": false, "validate": null } }, "md5sum": "054cefcf34c465274c05c036c042b56c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 465, "src": "/root/.ansible/tmp/ansible-tmp-1660952990.6225755-18258-102912725977395/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "unsafe_writes": false, "validate": null } }, "md5sum": "010ff7db1505a75738c4b39383a75133", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.0746396-18341-197988275689966/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "content": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "unsafe_writes": false, "validate": null } }, "md5sum": "e0af3f729f8d8944a9d73f2a88443f9c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "src": "/root/.ansible/tmp/ansible-tmp-1660952995.7554944-18341-21655863692012/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "content": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "unsafe_writes": false, "validate": null } }, "md5sum": "1a029c4432a64552ec6c31122d7c78c4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "src": "/root/.ansible/tmp/ansible-tmp-1660952996.4356482-18341-165479458489762/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "content": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "unsafe_writes": false, "validate": null } }, "md5sum": "23c35538369a351f5dd7a3fab36c9ac4", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.1129456-18341-97926490448194/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "content": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "unsafe_writes": false, "validate": null } }, "md5sum": "9fb3b66cb2071559dc9113b20cf2c36b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "src": "/root/.ansible/tmp/ansible-tmp-1660952997.8287203-18341-260154265005897/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_collectd_input", "sections": [ { "options": "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\")\nif $inputname == \"ovirt_collectd_input\" then {\n set $!original_raw_message = $msg;\n action(name=\"collectd_mmjsonparse\" type=\"mmjsonparse\" cookie=\"\") # parse entire message as json\n set $!@timestamp = exec_template('cnvt_to_viaq_timestamp');\n unset $!time;\n if $!collectd!plugin == 'virt' then {\n set $!ovirt!entity = 'vms';\n } else {\n set $!ovirt!entity = 'hosts';\n }\n set $.index_prefix = \"project.ovirt-metrics\" & \"-\" & \"test-engine\" & \".\" & \"111-222-333\" & \".\";\n set $.input_type = \"ovirt\";\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output\n}\nif\n ($inputname == \"ovirt_collectd_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3e99cf979651c692abfff4b823198b0d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 796, "src": "/root/.ansible/tmp/ansible-tmp-1660952999.1276016-18419-212943802168054/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_engine_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_engine_input\" then {\n action(name=\"ovirt-engine_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_engine.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_engine_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"444-555-666\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_engine_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "unsafe_writes": false, "validate": null } }, "md5sum": "b842280118fcd42c28778ea703612a9f", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1339, "src": "/root/.ansible/tmp/ansible-tmp-1660953007.6365645-18530-153631850166272/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-ovirt_vdsm_input", "sections": [ { "options": "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"\n reopenOnTruncate=\"on\" startmsg.regex=\"^[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}\")\nif $syslogtag == \"ovirt_vdsm_input\" then {\n action(name=\"ovirt-vdsm_mmnormalize\" type=\"mmnormalize\"\n rulebase=\"/etc/rsyslog.d/ovirt_vdsm.rulebase\" path=\"$.ovirt\")\n}\nif $syslogtag == \"ovirt_vdsm_input\" then {\n set $.index_prefix = \"project.ovirt-logs\" & \"-\" & \"test-engine\" & \".\" & \"777-888-999\" & \".\";\n # Add ovirt logs specific metadata\n set $!@timestamp = $.ovirt!date & \"T\" & $.ovirt!time & \".\" & $.ovirt!msec & $.ovirt!tz;\n set $!service = $syslogtag;\n set $!message = $.ovirt!message;\n set $!level = $.ovirt!level;\n set $!hostname = 'ip-10-31-10-64.ec2.internal';\n set $!ovirt!cluster_name = 'test_vds_cluster';\n set $!ipaddr4 = '10.31.10.64';\n set $!ovirt!engine_fqdn = 'engine.ovirt.example.com';\n set $.input_type = \"ovirt\";\n set $!ovirt!class = $.ovirt!class;\n set $!ovirt!thread = $.ovirt!thread;\n\n unset $!metadata;\n\n if strlen($.ovirt!correlationid) > 0 then {\n set $!ovirt!correlationid = $.ovirt!correlationid;\n }\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output\n}\nif\n ($syslogtag == \"ovirt_vdsm_input\")\n then {\n call elasticsearch_output_ops\n}\n" } ], "state": "present", "type": "input" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "content": null, "dest": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "unsafe_writes": false, "validate": null } }, "md5sum": "36bc20ae79bf7b020bb1d1371daf7543", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1315, "src": "/root/.ansible/tmp/ansible-tmp-1660953016.2032712-18594-240109307054544/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "8cd91b34b3e7afedf08a2254ef9f3dc0d9bc0eab", "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-local_modules", "sections": [ { "options": "" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 23, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "08d2454e19d10d57937eeed97d00aa1c03a1b548", "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" }, "before": { "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "input-ovirt-main-modules", "sections": [ { "options": "# Read from file with inotify enabled\nmodule(load=\"imfile\" mode=\"inotify\")" }, { "options": "# Read from tcp collectd metrics\nmodule(load=\"imtcp\")" }, { "options": "# Normalize logs\nmodule(load=\"mmnormalize\")" }, { "options": "# Parse logs to JSON\nmodule(load=\"mmjsonparse\")" }, { "options": "template(name=\"cnvt_to_viaq_timestamp\" type=\"list\") {\n property(name=\"TIMESTAMP\" dateFormat=\"rfc3339\")\n}" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 356, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "fef8ceda44e3f789ff71cfe6aaef2bd42984b6aa", "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_engine.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_engine.rulebase", "name": "ovirt_engine", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %thread:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %correlationid:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_engine.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 315, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "f1a497b894e82036082606ea1d1190251ddd56da", "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" }, "before": { "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "ovirt_vdsm.rulebase", "name": "ovirt_vdsm", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%date:date-iso% %time:time-24hr%,%msec:number%%tz:word% %level:word%%-:whitespace%%class:string{\"quoting.char.begin\":\"(\",\"quoting.char.end\":\")\"}% %thread:string{\"quoting.char.begin\":\"[\",\"quoting.char.end\":\"]\"}% %message:rest%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 243, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "7ffe9915baace6fd657ed85bad783314c8c77902", "dest": "/etc/rsyslog.d/parse_json.rulebase", "diff": { "after": { "path": "/etc/rsyslog.d/parse_json.rulebase" }, "before": { "path": "/etc/rsyslog.d/parse_json.rulebase" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "filename": "parse_json.rulebase", "name": "parse_json", "nocomment": true, "sections": [ { "options": "version=2\nrule=:%.:json%" } ] }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/parse_json.rulebase", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/parse_json.rulebase", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 26, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-modules", "sections": [ { "comment": "Log messages into files with traditional, syslog, or default format", "options": "module(load=\"builtin:omfile\")\n" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "361aef05aaad3946ff58ba3aa71b24741bfde2cd", "content": null, "dest": "/etc/rsyslog.d/10-output-files-modules.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953026.1979897-18667-133420676207058/source", "unsafe_writes": false, "validate": null } }, "md5sum": "65a14ad014294cb75ae401f0f9d875d5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 128, "src": "/root/.ansible/tmp/ansible-tmp-1660953026.1979897-18667-133420676207058/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-files-default_files", "sections": [ { "options": "ruleset(name=\"default_files\") {\n # Log all kernel messages to the console.\n # Logging much else clutters up the screen.\n kern.* /dev/console\n # Log anything (except mail) of level info or higher.\n # Don't log private authentication messages!\n *.info;mail.none;authpriv.none;cron.none /var/log/messages\n # The authpriv file has restricted access.\n authpriv.* /var/log/secure\n # Log all the mail messages in one place.\n mail.* -/var/log/maillog\n # Log cron stuff\n cron.* -/var/log/cron\n # Everybody gets emergency messages\n *.emerg :omusrmsg:*\n # Save news errors of level crit and higher in a special file.\n uucp,news.crit /var/log/spooler\n # Save boot messages also to boot.log\n local7.* /var/log/boot.log\n}\n" } ], "state": "present", "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "ec4f5c91855d526e10963c7678121d42168d319b", "content": null, "dest": "/etc/rsyslog.d/30-output-files-default_files.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953027.5224886-18685-280738253562962/source", "unsafe_writes": false, "validate": null } }, "md5sum": "20057dad3aa8039db4ff077d1540f965", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1660953027.5224886-18685-280738253562962/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "content": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953031.6617222-18716-6305346258449/source", "unsafe_writes": false, "validate": null } }, "md5sum": "3db61224d4f3afa9db3364f4057368f8", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "src": "/root/.ansible/tmp/ansible-tmp-1660953031.6617222-18716-6305346258449/source", "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": true, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "content": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0644", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953032.3441458-18716-235718840173875/source", "unsafe_writes": false, "validate": null } }, "md5sum": "6fa571345a7fb1fe5c29e1e035a18f81", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "src": "/root/.ansible/tmp/ansible-tmp-1660953032.3441458-18716-235718840173875/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "71e6277b21b00503d850a500a91ede5d172122bc", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \"project.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output\"\n server=[\"logging-es0\", \"logging-es1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"on\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"on\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"on\"\n allowUnsignedCerts=\"off\"\n retryfailures=\"on\"\n retryruleset=\"elasticsearch_output\"\n usehttps=\"on\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "71e6277b21b00503d850a500a91ede5d172122bc", "content": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953033.7139962-18742-74473003458901/source", "unsafe_writes": false, "validate": null } }, "md5sum": "aa250a5a94976fa4957f7f0543182df8", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2062, "src": "/root/.ansible/tmp/ansible-tmp-1660953033.7139962-18742-74473003458901/source", "state": "file", "uid": 0 } ], "skipped": false }, { "changed": false, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "checksum": "62e6d34344caa40ec0432f4bc9de56721faf2cda", "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "diff": { "after": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" }, "before": { "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch-module", "sections": [ { "options": "# Send to Elasticsearch\nmodule(load=\"omelasticsearch\")" } ], "type": "modules" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 78, "state": "file", "uid": 0 }, { "ansible_loop_var": "inner_item", "changed": false, "checksum": "5414c4589f6f3102e668c5c49ffc32c7c1e6798b", "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "diff": { "after": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" }, "before": { "path": "/etc/rsyslog.d/30-output-elasticsearch.conf" } }, "failed": false, "gid": 0, "group": "root", "inner_item": { "name": "output-elasticsearch", "sections": [ { "options": "# omelasticsearch\ntemplate(name=\"es_template\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n}\ntemplate(name=\"es_template_nl\" type=\"list\") {\n property(name=\"$!all-json-plain\")\n constant(value=\"\\n\")\n}\n\n# Add date to the end of the index name - index_prefix.yyyy-mm-dd,\n# based on the log timestamp.\n# This template sets \"index_name\"\ntemplate(name=\"prefix_index_template\" type=\"list\") {\n property(name=\"$.index_prefix\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"1\" position.to=\"4\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"6\" position.to=\"7\")\n constant(value=\".\")\n property(name=\"$!@timestamp\" dateFormat=\"rfc3339\"\n position.from=\"9\" position.to=\"10\")\n}\n\ntemplate(name=\"index_template\" type=\"string\" string=\"%$.index_name%\")\ntemplate(name=\"id_template\" type=\"string\" string=\"%$.es_msg_id%\")\n\nruleset(name=\"error_es\") {\n action(name=\"es_bulk_errors\" type=\"omfile\"\n template=\"es_template_nl\"\n file=\"/var/lib/rsyslog/es-bulk-errors.log\")\n}" } ], "type": "output" }, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": "rules.conf.j2", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "dest": "/etc/rsyslog.d/30-output-elasticsearch.conf", "follow": true, "force": false, "group": "root", "mode": "0644", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "file", "unsafe_writes": false } }, "mode": "0644", "owner": "root", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 1098, "state": "file", "uid": 0 } ], "skipped": false }, { "changed": true, "msg": "All items completed", "results": [ { "ansible_loop_var": "inner_item", "changed": true, "checksum": "0acbbd214d4f586c38ca68b426ee9623be2f5100", "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "diff": [], "failed": false, "gid": 0, "group": "root", "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output_ops", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output_ops\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \".operations.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output_ops\"\n server=[\"logging-es-ops0\", \"logging-es-ops1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"off\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"off\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"off\"\n allowUnsignedCerts=\"on\"\n retryfailures=\"off\"\n usehttps=\"off\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "invocation": { "module_args": { "_original_basename": "rules.conf.j2", "attributes": null, "backup": false, "checksum": "0acbbd214d4f586c38ca68b426ee9623be2f5100", "content": null, "dest": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "directory_mode": null, "follow": false, "force": true, "group": "root", "local_follow": null, "mode": "0600", "owner": "root", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1660953039.2691998-18795-140670144914016/source", "unsafe_writes": false, "validate": null } }, "md5sum": "91fa182fd5c3178ec28e9fa3ab4b381b", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 2038, "src": "/root/.ansible/tmp/ansible-tmp-1660953039.2691998-18795-140670144914016/source", "state": "file", "uid": 0 } ], "skipped": false } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove role config files from rsyslog.d] *** Friday 19 August 2022 23:50:40 +0000 (0:00:00.145) 0:02:39.838 ********* skipping: [sut] => (item={'name': 'output-elasticsearch-elasticsearch_output_ops', 'type': 'output', 'weight': '31', 'state': 'present', 'sections': [{'options': 'ruleset(name="elasticsearch_output_ops") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == "create")) then {\n stop # successful\n }\n if ($.omes!writeoperation == "unknown") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template("prefix_index_template");\n }\n if ($.input_type == "ovirt") and ($.index_prefix startswith ".operations.") then {\n action(\n type="omelasticsearch"\n name="elasticsearch_output_ops"\n server=["logging-es-ops0", "logging-es-ops1"]\n serverport="9200"\n template="es_template"\n searchIndex="index_template"\n dynSearchIndex="off"\n searchType="com.redhat.viaq.common"\n bulkmode="off"\n writeoperation="create"\n bulkid="id_template"\n dynbulkid="off"\n allowUnsignedCerts="on"\n retryfailures="off"\n usehttps="off"\n tls.cacert="/etc/rsyslog.d/es-ca.crt"\n tls.mycert="/etc/rsyslog.d/es-cert.pem"\n tls.myprivkey="/etc/rsyslog.d/es-key.pem"\n )\n }\n}\n'}], 'mode': '0600', 'owner': 'root', 'group': 'root'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "group": "root", "mode": "0600", "name": "output-elasticsearch-elasticsearch_output_ops", "owner": "root", "sections": [ { "options": "ruleset(name=\"elasticsearch_output_ops\") {\n if (strlen($.omes) > 0) and (strlen($.omes!status) > 0) then {\n # retry case\n if ($.omes!status == 200) or ($.omes!status == 201) or (($.omes!status == 409) and ($.omes!writeoperation == \"create\")) then {\n stop # successful\n }\n if ($.omes!writeoperation == \"unknown\") or (strlen($.omes!error!type) == 0) or (strlen($.omes!error!reason) == 0) then {\n call error_es\n stop\n }\n if ($.omes!status == 400) or ($.omes!status < 200) then {\n call error_es\n stop\n }\n # else fall through to retry operation\n }\n if strlen($!es_msg_id) > 0 then {\n set $.es_msg_id = $!es_msg_id;\n } else if (strlen($.omes) > 0) and (strlen($.omes!_id) > 0) then {\n # retry\n set $.es_msg_id = $.omes!_id;\n } else {\n # NOTE: depends on rsyslog being compiled with --enable-uuid\n set $.es_msg_id = $uuid;\n }\n if (strlen($.omes) > 0) and (strlen($.omes!_index) > 0) then {\n # retry\n set $.index_name = $.omes!_index;\n } else {\n set $.index_name = exec_template(\"prefix_index_template\");\n }\n if ($.input_type == \"ovirt\") and ($.index_prefix startswith \".operations.\") then {\n action(\n type=\"omelasticsearch\"\n name=\"elasticsearch_output_ops\"\n server=[\"logging-es-ops0\", \"logging-es-ops1\"]\n serverport=\"9200\"\n template=\"es_template\"\n searchIndex=\"index_template\"\n dynSearchIndex=\"off\"\n searchType=\"com.redhat.viaq.common\"\n bulkmode=\"off\"\n writeoperation=\"create\"\n bulkid=\"id_template\"\n dynbulkid=\"off\"\n allowUnsignedCerts=\"on\"\n retryfailures=\"off\"\n usehttps=\"off\"\n tls.cacert=\"/etc/rsyslog.d/es-ca.crt\"\n tls.mycert=\"/etc/rsyslog.d/es-cert.pem\"\n tls.myprivkey=\"/etc/rsyslog.d/es-key.pem\"\n )\n }\n}\n" } ], "state": "present", "type": "output", "weight": "31" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create elasticsearch output configuration file output-elasticsearch-elasticsearch_output_ops in /etc/rsyslog.d (no_log)] *** Friday 19 August 2022 23:50:40 +0000 (0:00:00.195) 0:02:40.034 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** Friday 19 August 2022 23:50:40 +0000 (0:00:00.080) 0:02:40.114 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** Friday 19 August 2022 23:50:40 +0000 (0:00:00.070) 0:02:40.185 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** Friday 19 August 2022 23:50:40 +0000 (0:00:00.087) 0:02:40.273 ********* TASK [Manage firewall for specified ports] ************************************* Friday 19 August 2022 23:50:40 +0000 (0:00:00.065) 0:02:40.338 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Prepare _logging_selinux_ports to drop ports defined in the selinux policy] *** Friday 19 August 2022 23:50:40 +0000 (0:00:00.070) 0:02:40.409 ********* ok: [sut] => { "ansible_facts": { "_logging_selinux_ports": [] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Drop ports defined in the selinux policy] *** Friday 19 August 2022 23:50:40 +0000 (0:00:00.086) 0:02:40.495 ********* TASK [Manage selinux for specified ports] ************************************** Friday 19 August 2022 23:50:40 +0000 (0:00:00.043) 0:02:40.539 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** Friday 19 August 2022 23:50:40 +0000 (0:00:00.107) 0:02:40.647 ********* skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** Friday 19 August 2022 23:50:40 +0000 (0:00:00.101) 0:02:40.748 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** Friday 19 August 2022 23:50:41 +0000 (0:00:00.081) 0:02:40.830 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** Friday 19 August 2022 23:50:41 +0000 (0:00:00.085) 0:02:40.916 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** Friday 19 August 2022 23:50:41 +0000 (0:00:00.082) 0:02:40.999 ********* ok: [sut] => { "changed": false, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-08-19 23:49:39 UTC", "ActiveEnterTimestampMonotonic": "536371871", "ActiveExitTimestamp": "Fri 2022-08-19 23:49:39 UTC", "ActiveExitTimestampMonotonic": "536092440", "ActiveState": "active", "After": "network.target sysinit.target basic.target network-online.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-08-19 23:49:39 UTC", "AssertTimestampMonotonic": "536361893", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-08-19 23:49:39 UTC", "ConditionTimestampMonotonic": "536361891", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) https://www.rsyslog.com/doc/", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11037", "ExecMainStartTimestamp": "Fri 2022-08-19 23:49:39 UTC", "ExecMainStartTimestampMonotonic": "536363649", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Fri 2022-08-19 23:49:39 UTC] ; stop_time=[n/a] ; pid=11037 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-08-19 23:49:39 UTC", "InactiveEnterTimestampMonotonic": "536360410", "InactiveExitTimestamp": "Fri 2022-08-19 23:49:39 UTC", "InactiveExitTimestampMonotonic": "536363722", "InvocationID": "0d6d9d9b146f431d89aa956abb821ee4", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11037", "MemoryAccounting": "yes", "MemoryCurrent": "1183744", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-08-19 23:49:39 UTC", "StateChangeTimestampMonotonic": "536371871", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22628", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Fri 2022-08-19 23:49:39 UTC", "WatchdogTimestampMonotonic": "536371868", "WatchdogUSec": "0" } } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** Friday 19 August 2022 23:50:41 +0000 (0:00:00.475) 0:02:41.474 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** Friday 19 August 2022 23:50:41 +0000 (0:00:00.071) 0:02:41.545 ********* skipping: [sut] => {} TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** Friday 19 August 2022 23:50:41 +0000 (0:00:00.121) 0:02:41.667 ********* RUNNING HANDLER [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** Friday 19 August 2022 23:50:41 +0000 (0:00:00.000) 0:02:41.667 ********* changed: [sut] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-08-19 23:49:39 UTC", "ActiveEnterTimestampMonotonic": "536371871", "ActiveExitTimestamp": "Fri 2022-08-19 23:49:39 UTC", "ActiveExitTimestampMonotonic": "536092440", "ActiveState": "active", "After": "network.target sysinit.target basic.target network-online.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-08-19 23:49:39 UTC", "AssertTimestampMonotonic": "536361893", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-08-19 23:49:39 UTC", "ConditionTimestampMonotonic": "536361891", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) https://www.rsyslog.com/doc/", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11037", "ExecMainStartTimestamp": "Fri 2022-08-19 23:49:39 UTC", "ExecMainStartTimestampMonotonic": "536363649", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Fri 2022-08-19 23:49:39 UTC] ; stop_time=[n/a] ; pid=11037 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2022-08-19 23:49:39 UTC", "InactiveEnterTimestampMonotonic": "536360410", "InactiveExitTimestamp": "Fri 2022-08-19 23:49:39 UTC", "InactiveExitTimestampMonotonic": "536363722", "InvocationID": "0d6d9d9b146f431d89aa956abb821ee4", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11037", "MemoryAccounting": "yes", "MemoryCurrent": "1179648", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-08-19 23:49:39 UTC", "StateChangeTimestampMonotonic": "536371871", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22628", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Fri 2022-08-19 23:49:39 UTC", "WatchdogTimestampMonotonic": "536371868", "WatchdogUSec": "0" } } TASK [Ensure config file size and counts] ************************************** Friday 19 August 2022 23:50:42 +0000 (0:00:00.813) 0:02:42.480 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/tests/tasks/check_daemon_config_files.yml for sut TASK [Get info of /etc/rsyslog.conf] ******************************************* Friday 19 August 2022 23:50:42 +0000 (0:00:00.095) 0:02:42.576 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1660953042.6208055, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "57e12c1516a87bb8d6c6b3557393db2283f6a5f3", "ctime": 1660952987.3984973, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 385876178, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952987.162496, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 108, "uid": 0, "version": "527662811", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get file counts in /etc/rsyslog.d] *************************************** Friday 19 August 2022 23:50:43 +0000 (0:00:00.330) 0:02:42.907 ********* ok: [sut] => { "changed": false, "examined": 18, "files": [ { "atime": 1660952463.7231731, "ctime": 1660709593.362933, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 16798140, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1657609237.0, "nlink": 1, "path": "/etc/rsyslog.d/21-cloudinit.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 255, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953042.6208055, "ctime": 1660952988.3375025, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 411042321, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952988.1045012, "nlink": 1, "path": "/etc/rsyslog.d/00-global.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953042.6208055, "ctime": 1660952989.0355065, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 436208149, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952988.7995052, "nlink": 1, "path": "/etc/rsyslog.d/05-common-defaults.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 73, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953042.6208055, "ctime": 1660952991.1575184, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 461373587, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952990.922517, "nlink": 1, "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953004.2565913, "ctime": 1660952995.6155431, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 503316949, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952995.3795419, "nlink": 1, "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 23, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953004.8565948, "ctime": 1660952996.297547, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 528482773, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952996.0605457, "nlink": 1, "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 356, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953005.459598, "ctime": 1660952996.975551, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 553648599, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952996.7395494, "nlink": 1, "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 315, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953006.0596015, "ctime": 1660952997.6495545, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 578814421, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952997.4145532, "nlink": 1, "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 243, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953006.654605, "ctime": 1660952998.3675585, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 603980229, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952998.1315572, "nlink": 1, "path": "/etc/rsyslog.d/parse_json.rulebase", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 26, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953042.6208055, "ctime": 1660952999.6645658, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 629146199, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660952999.4295645, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 796, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953042.6208055, "ctime": 1660953008.1696134, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 805306650, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660953007.934612, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1339, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953042.6208055, "ctime": 1660953016.7466612, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 134218006, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660953016.5096598, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1315, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953042.6208055, "ctime": 1660953026.7387168, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 318767315, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660953026.5017157, "nlink": 1, "path": "/etc/rsyslog.d/10-output-files-modules.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 128, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953042.6208055, "ctime": 1660953028.0627244, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 343933456, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660953027.824723, "nlink": 1, "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1129, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953037.6167777, "ctime": 1660953032.2057474, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 377487893, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660953031.967746, "nlink": 1, "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 78, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953038.221781, "ctime": 1660953032.8827512, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 402653401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1660953032.64775, "nlink": 1, "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1098, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953042.6208055, "ctime": 1660953034.266759, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 427819223, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1660953034.0217576, "nlink": 1, "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 2062, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1660953042.6208055, "ctime": 1660953039.81279, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 511705234, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1660953039.5697885, "nlink": 1, "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "pw_name": "root", "rgrp": false, "roth": false, "rusr": true, "size": 2038, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 18, "skipped_paths": {} } MSG: All paths examined TASK [Check rsyslog.conf size (less)] ****************************************** Friday 19 August 2022 23:50:43 +0000 (0:00:00.285) 0:02:43.193 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check rsyslog.conf size (more)] ****************************************** Friday 19 August 2022 23:50:43 +0000 (0:00:00.068) 0:02:43.261 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check file counts in rsyslog.d] ****************************************** Friday 19 August 2022 23:50:43 +0000 (0:00:00.048) 0:02:43.310 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check conf files exist] ************************************************** Friday 19 August 2022 23:50:43 +0000 (0:00:00.066) 0:02:43.376 ********* ok: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "stat": { "atime": 1660953042.6208055, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "ctime": 1660952999.6645658, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 629146199, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952999.4295645, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 796, "uid": 0, "version": "3135378702", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "stat": { "atime": 1660953042.6208055, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "ctime": 1660953008.1696134, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 805306650, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660953007.934612, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1339, "uid": 0, "version": "2074839685", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "stat": { "atime": 1660953042.6208055, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "ctime": 1660953016.7466612, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134218006, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660953016.5096598, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1315, "uid": 0, "version": "3059692976", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check rsyslog errors] **************************************************** Friday 19 August 2022 23:50:44 +0000 (0:00:00.793) 0:02:44.170 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check /etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf, /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf, /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf] *** Friday 19 August 2022 23:50:44 +0000 (0:00:00.050) 0:02:44.220 ********* ok: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "stat": { "atime": 1660953042.6208055, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b14240407e89aa786eb9c1071a2eae0785befb58", "ctime": 1660952999.6645658, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 629146199, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660952999.4295645, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 796, "uid": 0, "version": "3135378702", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "stat": { "atime": 1660953042.6208055, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "964234404a25b3655b4353cfc5472a740f40d615", "ctime": 1660953008.1696134, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 805306650, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660953007.934612, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1339, "uid": 0, "version": "2074839685", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "stat": { "atime": 1660953042.6208055, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7b57fa9bdb56590c10c548b3b4f70eb220c4ec22", "ctime": 1660953016.7466612, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134218006, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1660953016.5096598, "nlink": 1, "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 1315, "uid": 0, "version": "3059692976", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check "/etc/rsyslog.d/90-input-ovirt-ovirt_bogus_input.conf does not exist"] *** Friday 19 August 2022 23:50:45 +0000 (0:00:00.760) 0:02:44.981 ********* ok: [sut] => { "changed": false, "failed_when_result": false, "stat": { "exists": false } } TASK [Check ovirt_collectd_port is "44514"] ************************************ Friday 19 August 2022 23:50:45 +0000 (0:00:00.272) 0:02:45.253 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "input(name=\"ovirt_collectd_input\" type=\"imtcp\" port=\"44514\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf" ], "delta": "0:00:00.003846", "end": "2022-08-19 23:50:45.697439", "rc": 0, "start": "2022-08-19 23:50:45.693593" } STDOUT: input(name="ovirt_collectd_input" type="imtcp" port="44514") TASK [Check index_prefix is project.ovirt-metrics in /etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf] *** Friday 19 August 2022 23:50:45 +0000 (0:00:00.280) 0:02:45.534 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "set $.index_prefix = \"project.ovirt-metrics\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf" ], "delta": "0:00:00.004051", "end": "2022-08-19 23:50:46.031281", "rc": 0, "start": "2022-08-19 23:50:46.027230" } STDOUT: set $.index_prefix = "project.ovirt-metrics" & "-" & "test-engine" & "." & "111-222-333" & "."; TASK [Check input file is /var/log/ovirt-engine/engine.log in /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf] *** Friday 19 August 2022 23:50:46 +0000 (0:00:00.356) 0:02:45.890 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "input(type=\"imfile\" file=\"/var/log/ovirt-engine/engine.log\" tag=\"ovirt_engine_input\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf" ], "delta": "0:00:00.004047", "end": "2022-08-19 23:50:46.332837", "rc": 0, "start": "2022-08-19 23:50:46.328790" } STDOUT: input(type="imfile" file="/var/log/ovirt-engine/engine.log" tag="ovirt_engine_input" TASK [Check index_prefix is project.ovirt-logs in /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf] *** Friday 19 August 2022 23:50:46 +0000 (0:00:00.277) 0:02:46.168 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "set $.index_prefix = \"project.ovirt-logs\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf" ], "delta": "0:00:00.004190", "end": "2022-08-19 23:50:46.608291", "rc": 0, "start": "2022-08-19 23:50:46.604101" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "444-555-666" & "."; TASK [Check input file is /var/log/vdsm/vdsm.log in /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf] *** Friday 19 August 2022 23:50:46 +0000 (0:00:00.275) 0:02:46.443 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "input(type=\"imfile\" file=\"/var/log/vdsm/vdsm.log\" tag=\"ovirt_vdsm_input\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf" ], "delta": "0:00:00.003968", "end": "2022-08-19 23:50:46.885688", "rc": 0, "start": "2022-08-19 23:50:46.881720" } STDOUT: input(type="imfile" file="/var/log/vdsm/vdsm.log" tag="ovirt_vdsm_input" TASK [Check index_prefix is project.ovirt-logs in /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf] *** Friday 19 August 2022 23:50:46 +0000 (0:00:00.276) 0:02:46.720 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "set $.index_prefix = \"project.ovirt-logs\"", "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf" ], "delta": "0:00:00.004234", "end": "2022-08-19 23:50:47.163472", "rc": 0, "start": "2022-08-19 23:50:47.159238" } STDOUT: set $.index_prefix = "project.ovirt-logs" & "-" & "test-engine" & "." & "777-888-999" & "."; TASK [Check default config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** Friday 19 August 2022 23:50:47 +0000 (0:00:00.278) 0:02:46.999 ********* ok: [sut] => (item=dynSearchIndex=.on.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "dynSearchIndex=.on.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:01.005082", "end": "2022-08-19 23:50:48.438027", "item": "dynSearchIndex=.on.", "rc": 0, "start": "2022-08-19 23:50:47.432945" } STDOUT: dynSearchIndex="on" ok: [sut] => (item=bulkmode=.on.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "bulkmode=.on.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.003692", "end": "2022-08-19 23:50:48.661018", "item": "bulkmode=.on.", "rc": 0, "start": "2022-08-19 23:50:48.657326" } STDOUT: bulkmode="on" ok: [sut] => (item=dynbulkid=.on.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "dynbulkid=.on.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:01.004824", "end": "2022-08-19 23:50:49.884445", "item": "dynbulkid=.on.", "rc": 0, "start": "2022-08-19 23:50:48.879621" } STDOUT: dynbulkid="on" ok: [sut] => (item=allowUnsignedCerts=.off.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "allowUnsignedCerts=.off.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.003643", "end": "2022-08-19 23:50:50.107960", "item": "allowUnsignedCerts=.off.", "rc": 0, "start": "2022-08-19 23:50:50.104317" } STDOUT: allowUnsignedCerts="off" ok: [sut] => (item=usehttps=.on.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "usehttps=.on.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:01.004843", "end": "2022-08-19 23:50:51.332070", "item": "usehttps=.on.", "rc": 0, "start": "2022-08-19 23:50:50.327227" } STDOUT: usehttps="on" ok: [sut] => (item=retryfailures=.on.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "retryfailures=.on.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.003817", "end": "2022-08-19 23:50:51.555528", "item": "retryfailures=.on.", "rc": 0, "start": "2022-08-19 23:50:51.551711" } STDOUT: retryfailures="on" TASK [Check modified config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** Friday 19 August 2022 23:50:51 +0000 (0:00:04.393) 0:02:51.392 ********* ok: [sut] => (item=dynSearchIndex=.off.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "dynSearchIndex=.off.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.003994", "end": "2022-08-19 23:50:51.831097", "item": "dynSearchIndex=.off.", "rc": 0, "start": "2022-08-19 23:50:51.827103" } STDOUT: dynSearchIndex="off" ok: [sut] => (item=bulkmode=.off.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "bulkmode=.off.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:01.005104", "end": "2022-08-19 23:50:53.105275", "item": "bulkmode=.off.", "rc": 0, "start": "2022-08-19 23:50:52.100171" } STDOUT: bulkmode="off" ok: [sut] => (item=dynbulkid=.off.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "dynbulkid=.off.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.003871", "end": "2022-08-19 23:50:53.330696", "item": "dynbulkid=.off.", "rc": 0, "start": "2022-08-19 23:50:53.326825" } STDOUT: dynbulkid="off" ok: [sut] => (item=allowUnsignedCerts=.on.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "allowUnsignedCerts=.on.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.003809", "end": "2022-08-19 23:50:53.554641", "item": "allowUnsignedCerts=.on.", "rc": 0, "start": "2022-08-19 23:50:53.550832" } STDOUT: allowUnsignedCerts="on" ok: [sut] => (item=usehttps=.off.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "usehttps=.off.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:01.004770", "end": "2022-08-19 23:50:54.779895", "item": "usehttps=.off.", "rc": 0, "start": "2022-08-19 23:50:53.775125" } STDOUT: usehttps="off" ok: [sut] => (item=retryfailures=.off.) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "/bin/grep", "retryfailures=.off.", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:00.003824", "end": "2022-08-19 23:50:55.005834", "item": "retryfailures=.off.", "rc": 0, "start": "2022-08-19 23:50:55.002010" } STDOUT: retryfailures="off" TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf"] *** Friday 19 August 2022 23:50:55 +0000 (0:00:03.448) 0:02:54.841 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "server=\\[\"logging-es0\", \"logging-es1\"\\]", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" ], "delta": "0:00:00.003889", "end": "2022-08-19 23:50:55.280507", "rc": 0, "start": "2022-08-19 23:50:55.276618" } STDOUT: server=["logging-es0", "logging-es1"] TASK [Check server param in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf"] *** Friday 19 August 2022 23:50:55 +0000 (0:00:00.275) 0:02:55.116 ********* ok: [sut] => { "changed": false, "cmd": [ "/bin/grep", "server=\\[\"logging-es-ops0\", \"logging-es-ops1\"\\]", "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" ], "delta": "0:00:01.004952", "end": "2022-08-19 23:50:56.558524", "rc": 0, "start": "2022-08-19 23:50:55.553572" } STDOUT: server=["logging-es-ops0", "logging-es-ops1"] TASK [END TEST CASE 1; Ensure basic ovirt configuration works] ***************** Friday 19 August 2022 23:50:56 +0000 (0:00:01.276) 0:02:56.392 ********* TASK [linux-system-roles.logging : Set files output if files output is not defined and logging_inputs is not empty] *** Friday 19 August 2022 23:50:56 +0000 (0:00:00.123) 0:02:56.515 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Set rsyslog_outputs] ************************ Friday 19 August 2022 23:50:56 +0000 (0:00:00.079) 0:02:56.594 ********* ok: [sut] => { "ansible_facts": { "rsyslog_outputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set rsyslog_inputs] ************************* Friday 19 August 2022 23:50:56 +0000 (0:00:00.143) 0:02:56.738 ********* ok: [sut] => { "ansible_facts": { "rsyslog_inputs": [] }, "changed": false } TASK [linux-system-roles.logging : Set custom_config_files fact] *************** Friday 19 August 2022 23:50:57 +0000 (0:00:00.093) 0:02:56.832 ********* TASK [linux-system-roles.logging : Check logging_inputs item in logging_flows.inputs] *** Friday 19 August 2022 23:50:57 +0000 (0:00:00.045) 0:02:56.877 ********* TASK [linux-system-roles.logging : Re-read facts after adding custom fact] ***** Friday 19 August 2022 23:50:57 +0000 (0:00:00.043) 0:02:56.921 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug dir] ******************* Friday 19 August 2022 23:50:57 +0000 (0:00:00.075) 0:02:56.997 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Delete debug file] ************************** Friday 19 August 2022 23:50:57 +0000 (0:00:00.072) 0:02:57.070 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Create rsyslog debug file] ****************** Friday 19 August 2022 23:50:57 +0000 (0:00:00.075) 0:02:57.145 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Use a debug var to avoid an empty dict in with_dict] *** Friday 19 August 2022 23:50:57 +0000 (0:00:00.076) 0:02:57.222 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.logging : Populate rsyslog debug file] **************** Friday 19 August 2022 23:50:57 +0000 (0:00:00.075) 0:02:57.297 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include Rsyslog role] **************************************************** Friday 19 August 2022 23:50:57 +0000 (0:00:00.074) 0:02:57.372 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:50:57 +0000 (0:00:00.080) 0:02:57.452 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/set_vars.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure ansible_facts used by role] *** Friday 19 August 2022 23:50:57 +0000 (0:00:00.075) 0:02:57.528 ********* ok: [sut] TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set platform/version specific variables] *** Friday 19 August 2022 23:50:58 +0000 (0:00:00.471) 0:02:57.999 ********* ok: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/default.yml) => { "ansible_facts": { "__rsyslog_input_basics": "input_basics.j2" }, "ansible_included_var_files": [ "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/default.yml" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Include /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/main.yml] *** Friday 19 August 2022 23:50:58 +0000 (0:00:00.119) 0:02:58.119 ********* skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/basics/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/basics/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/ovirt/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/remote/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/inputs/remote/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/elasticsearch/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/elasticsearch/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/files/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/forwards/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/forwards/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/relp/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/relp/main.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/remote_files/main.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/vars/outputs/remote_files/main.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Main rsyslog subrole] *** Friday 19 August 2022 23:50:58 +0000 (0:00:00.233) 0:02:58.352 ********* included: /WORKDIR/dist-git-logging-requirements-s67KjN/roles/rsyslog/tasks/main_core.yml for sut TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get status of rsyslog packages] *** Friday 19 August 2022 23:50:58 +0000 (0:00:00.128) 0:02:58.481 ********* ok: [sut] => (item=rsyslog) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "rpm", "-V", "rsyslog" ], "delta": "0:00:00.078912", "end": "2022-08-19 23:50:59.025833", "failed_when_result": false, "item": "rsyslog", "rc": 1, "start": "2022-08-19 23:50:58.946921" } STDOUT: S.5....T. c /etc/rsyslog.conf MSG: non-zero return code TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent] *** Friday 19 August 2022 23:50:59 +0000 (0:00:00.381) 0:02:58.863 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Removed: rsyslog-mmnormalize-8.2102.0-10.el8.x86_64", "Removed: rsyslog-8.2102.0-10.el8.x86_64", "Removed: rsyslog-elasticsearch-8.2102.0-10.el8.x86_64", "Removed: rsyslog-mmjsonparse-8.2102.0-10.el8.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages] *** Friday 19 August 2022 23:51:02 +0000 (0:00:03.172) 0:03:02.035 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: rsyslog-8.2102.0-10.el8.x86_64" ] } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset erased flag] *** Friday 19 August 2022 23:51:05 +0000 (0:00:03.024) 0:03:05.059 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_erased": false }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Gather package facts] *** Friday 19 August 2022 23:51:05 +0000 (0:00:00.062) 0:03:05.122 ********* ok: [sut] => { "ansible_facts": { "packages": { "NetworkManager": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "NetworkManager-libnm": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-libnm", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "NetworkManager-team": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-team", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "NetworkManager-tui": [ { "arch": "x86_64", "epoch": 1, "name": "NetworkManager-tui", "release": "1.el8", "source": "rpm", "version": "1.39.90" } ], "acl": [ { "arch": "x86_64", "epoch": null, "name": "acl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "aspell": [ { "arch": "x86_64", "epoch": 12, "name": "aspell", "release": "22.el8", "source": "rpm", "version": "0.60.6.1" } ], "audit": [ { "arch": "x86_64", "epoch": null, "name": "audit", "release": "4.el8", "source": "rpm", "version": "3.0.7" } ], "audit-libs": [ { "arch": "x86_64", "epoch": null, "name": "audit-libs", "release": "4.el8", "source": "rpm", "version": "3.0.7" } ], "authselect": [ { "arch": "x86_64", "epoch": null, "name": "authselect", "release": "1.el8", "source": "rpm", "version": "1.2.5" } ], "authselect-compat": [ { "arch": "x86_64", "epoch": null, "name": "authselect-compat", "release": "1.el8", "source": "rpm", "version": "1.2.5" } ], "authselect-libs": [ { "arch": "x86_64", "epoch": null, "name": "authselect-libs", "release": "1.el8", "source": "rpm", "version": "1.2.5" } ], "avahi-libs": [ { "arch": "x86_64", "epoch": null, "name": "avahi-libs", "release": "20.el8", "source": "rpm", "version": "0.7" } ], "basesystem": [ { "arch": "noarch", "epoch": null, "name": "basesystem", "release": "5.el8", "source": "rpm", "version": "11" } ], "bash": [ { "arch": "x86_64", "epoch": null, "name": "bash", "release": "4.el8", "source": "rpm", "version": "4.4.20" } ], "bc": [ { "arch": "x86_64", "epoch": null, "name": "bc", "release": "5.el8", "source": "rpm", "version": "1.07.1" } ], "beakerlib": [ { "arch": "noarch", "epoch": null, "name": "beakerlib", "release": "1.el8bkr", "source": "rpm", "version": "1.29.1" } ], "beakerlib-redhat": [ { "arch": "noarch", "epoch": null, "name": "beakerlib-redhat", "release": "33.el8bkr", "source": "rpm", "version": "1" } ], "bind-export-libs": [ { "arch": "x86_64", "epoch": 32, "name": "bind-export-libs", "release": "4.el8", "source": "rpm", "version": "9.11.36" } ], "binutils": [ { "arch": "x86_64", "epoch": null, "name": "binutils", "release": "117.el8", "source": "rpm", "version": "2.30" } ], "biosdevname": [ { "arch": "x86_64", "epoch": null, "name": "biosdevname", "release": "2.el8", "source": "rpm", "version": "0.7.3" } ], "boost-atomic": [ { "arch": "x86_64", "epoch": null, "name": "boost-atomic", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-chrono": [ { "arch": "x86_64", "epoch": null, "name": "boost-chrono", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-date-time": [ { "arch": "x86_64", "epoch": null, "name": "boost-date-time", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "boost-filesystem", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-system": [ { "arch": "x86_64", "epoch": null, "name": "boost-system", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-thread": [ { "arch": "x86_64", "epoch": null, "name": "boost-thread", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "boost-timer": [ { "arch": "x86_64", "epoch": null, "name": "boost-timer", "release": "13.el8", "source": "rpm", "version": "1.66.0" } ], "brotli": [ { "arch": "x86_64", "epoch": null, "name": "brotli", "release": "3.el8", "source": "rpm", "version": "1.0.6" } ], "bzip2-libs": [ { "arch": "x86_64", "epoch": null, "name": "bzip2-libs", "release": "26.el8", "source": "rpm", "version": "1.0.6" } ], "c-ares": [ { "arch": "x86_64", "epoch": null, "name": "c-ares", "release": "6.el8", "source": "rpm", "version": "1.13.0" } ], "ca-certificates": [ { "arch": "noarch", "epoch": null, "name": "ca-certificates", "release": "80.2.el8_6", "source": "rpm", "version": "2022.2.54" } ], "checkpolicy": [ { "arch": "x86_64", "epoch": null, "name": "checkpolicy", "release": "1.el8", "source": "rpm", "version": "2.9" } ], "chkconfig": [ { "arch": "x86_64", "epoch": null, "name": "chkconfig", "release": "1.el8", "source": "rpm", "version": "1.19.1" } ], "chrony": [ { "arch": "x86_64", "epoch": null, "name": "chrony", "release": "1.el8", "source": "rpm", "version": "4.2" } ], "cloud-init": [ { "arch": "noarch", "epoch": null, "name": "cloud-init", "release": "4.el8", "source": "rpm", "version": "22.1" } ], "cloud-utils-growpart": [ { "arch": "noarch", "epoch": null, "name": "cloud-utils-growpart", "release": "3.el8", "source": "rpm", "version": "0.31" } ], "coreutils": [ { "arch": "x86_64", "epoch": null, "name": "coreutils", "release": "13.el8", "source": "rpm", "version": "8.30" } ], "coreutils-common": [ { "arch": "x86_64", "epoch": null, "name": "coreutils-common", "release": "13.el8", "source": "rpm", "version": "8.30" } ], "cpio": [ { "arch": "x86_64", "epoch": null, "name": "cpio", "release": "11.el8", "source": "rpm", "version": "2.12" } ], "cpp": [ { "arch": "x86_64", "epoch": null, "name": "cpp", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "cracklib": [ { "arch": "x86_64", "epoch": null, "name": "cracklib", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "cracklib-dicts": [ { "arch": "x86_64", "epoch": null, "name": "cracklib-dicts", "release": "15.el8", "source": "rpm", "version": "2.9.6" } ], "createrepo_c": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c", "release": "6.el8", "source": "rpm", "version": "0.17.7" } ], "createrepo_c-libs": [ { "arch": "x86_64", "epoch": null, "name": "createrepo_c-libs", "release": "6.el8", "source": "rpm", "version": "0.17.7" } ], "cronie": [ { "arch": "x86_64", "epoch": null, "name": "cronie", "release": "8.el8", "source": "rpm", "version": "1.5.2" } ], "cronie-anacron": [ { "arch": "x86_64", "epoch": null, "name": "cronie-anacron", "release": "8.el8", "source": "rpm", "version": "1.5.2" } ], "crontabs": [ { "arch": "noarch", "epoch": null, "name": "crontabs", "release": "17.20190603git.el8", "source": "rpm", "version": "1.11" } ], "crypto-policies": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "crypto-policies-scripts": [ { "arch": "noarch", "epoch": null, "name": "crypto-policies-scripts", "release": "1.gitae470d6.el8", "source": "rpm", "version": "20211116" } ], "cryptsetup-libs": [ { "arch": "x86_64", "epoch": null, "name": "cryptsetup-libs", "release": "2.el8", "source": "rpm", "version": "2.3.7" } ], "curl": [ { "arch": "x86_64", "epoch": null, "name": "curl", "release": "25.el8", "source": "rpm", "version": "7.61.1" } ], "cyrus-sasl-lib": [ { "arch": "x86_64", "epoch": null, "name": "cyrus-sasl-lib", "release": "6.el8_5", "source": "rpm", "version": "2.1.27" } ], "dbus": [ { "arch": "x86_64", "epoch": 1, "name": "dbus", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-common": [ { "arch": "noarch", "epoch": 1, "name": "dbus-common", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-daemon": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-daemon", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-glib": [ { "arch": "x86_64", "epoch": null, "name": "dbus-glib", "release": "2.el8", "source": "rpm", "version": "0.110" } ], "dbus-libs": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-libs", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbus-tools": [ { "arch": "x86_64", "epoch": 1, "name": "dbus-tools", "release": "22.el8", "source": "rpm", "version": "1.12.8" } ], "dbxtool": [ { "arch": "x86_64", "epoch": null, "name": "dbxtool", "release": "5.el8_3.2", "source": "rpm", "version": "8" } ], "device-mapper": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper", "release": "6.el8", "source": "rpm", "version": "1.02.181" } ], "device-mapper-libs": [ { "arch": "x86_64", "epoch": 8, "name": "device-mapper-libs", "release": "6.el8", "source": "rpm", "version": "1.02.181" } ], "dhcp-client": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-client", "release": "48.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-common": [ { "arch": "noarch", "epoch": 12, "name": "dhcp-common", "release": "48.el8", "source": "rpm", "version": "4.3.6" } ], "dhcp-libs": [ { "arch": "x86_64", "epoch": 12, "name": "dhcp-libs", "release": "48.el8", "source": "rpm", "version": "4.3.6" } ], "diffutils": [ { "arch": "x86_64", "epoch": null, "name": "diffutils", "release": "6.el8", "source": "rpm", "version": "3.6" } ], "dmidecode": [ { "arch": "x86_64", "epoch": 1, "name": "dmidecode", "release": "4.el8", "source": "rpm", "version": "3.3" } ], "dnf": [ { "arch": "noarch", "epoch": null, "name": "dnf", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-data": [ { "arch": "noarch", "epoch": null, "name": "dnf-data", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "dnf-plugin-subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "dnf-plugin-subscription-manager", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "dnf-plugins-core", "release": "14.el8", "source": "rpm", "version": "4.0.21" } ], "dracut": [ { "arch": "x86_64", "epoch": null, "name": "dracut", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "dracut-config-rescue": [ { "arch": "x86_64", "epoch": null, "name": "dracut-config-rescue", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "dracut-network": [ { "arch": "x86_64", "epoch": null, "name": "dracut-network", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "dracut-squash": [ { "arch": "x86_64", "epoch": null, "name": "dracut-squash", "release": "209.git20220815.el8", "source": "rpm", "version": "049" } ], "drpm": [ { "arch": "x86_64", "epoch": null, "name": "drpm", "release": "3.el8", "source": "rpm", "version": "0.4.1" } ], "dyninst": [ { "arch": "x86_64", "epoch": null, "name": "dyninst", "release": "1.el8", "source": "rpm", "version": "12.1.0" } ], "e2fsprogs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "e2fsprogs-libs": [ { "arch": "x86_64", "epoch": null, "name": "e2fsprogs-libs", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "efi-filesystem": [ { "arch": "noarch", "epoch": null, "name": "efi-filesystem", "release": "3.el8", "source": "rpm", "version": "3" } ], "efibootmgr": [ { "arch": "x86_64", "epoch": null, "name": "efibootmgr", "release": "1.el8", "source": "rpm", "version": "16" } ], "efivar": [ { "arch": "x86_64", "epoch": null, "name": "efivar", "release": "4.el8", "source": "rpm", "version": "37" } ], "efivar-libs": [ { "arch": "x86_64", "epoch": null, "name": "efivar-libs", "release": "4.el8", "source": "rpm", "version": "37" } ], "elfutils-debuginfod-client": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-debuginfod-client-devel": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-debuginfod-client-devel", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-default-yama-scope": [ { "arch": "noarch", "epoch": null, "name": "elfutils-default-yama-scope", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-devel": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-devel", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-libelf": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-libelf-devel": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libelf-devel", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "elfutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "elfutils-libs", "release": "4.el8", "source": "rpm", "version": "0.187" } ], "emacs-filesystem": [ { "arch": "noarch", "epoch": 1, "name": "emacs-filesystem", "release": "7.el8", "source": "rpm", "version": "26.1" } ], "ethtool": [ { "arch": "x86_64", "epoch": 2, "name": "ethtool", "release": "2.el8", "source": "rpm", "version": "5.13" } ], "expat": [ { "arch": "x86_64", "epoch": null, "name": "expat", "release": "9.el8", "source": "rpm", "version": "2.2.5" } ], "file": [ { "arch": "x86_64", "epoch": null, "name": "file", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "file-libs": [ { "arch": "x86_64", "epoch": null, "name": "file-libs", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "filesystem": [ { "arch": "x86_64", "epoch": null, "name": "filesystem", "release": "6.el8", "source": "rpm", "version": "3.8" } ], "findutils": [ { "arch": "x86_64", "epoch": 1, "name": "findutils", "release": "20.el8", "source": "rpm", "version": "4.6.0" } ], "firewalld": [ { "arch": "noarch", "epoch": null, "name": "firewalld", "release": "13.el8", "source": "rpm", "version": "0.9.3" } ], "firewalld-filesystem": [ { "arch": "noarch", "epoch": null, "name": "firewalld-filesystem", "release": "13.el8", "source": "rpm", "version": "0.9.3" } ], "freetype": [ { "arch": "x86_64", "epoch": null, "name": "freetype", "release": "9.el8", "source": "rpm", "version": "2.9.1" } ], "fuse-libs": [ { "arch": "x86_64", "epoch": null, "name": "fuse-libs", "release": "16.el8", "source": "rpm", "version": "2.9.7" } ], "gawk": [ { "arch": "x86_64", "epoch": null, "name": "gawk", "release": "4.el8", "source": "rpm", "version": "4.2.1" } ], "gcc": [ { "arch": "x86_64", "epoch": null, "name": "gcc", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "gdbm": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm", "release": "2.el8", "source": "rpm", "version": "1.18" } ], "gdbm-libs": [ { "arch": "x86_64", "epoch": 1, "name": "gdbm-libs", "release": "2.el8", "source": "rpm", "version": "1.18" } ], "gdisk": [ { "arch": "x86_64", "epoch": null, "name": "gdisk", "release": "11.el8", "source": "rpm", "version": "1.0.3" } ], "geolite2-city": [ { "arch": "noarch", "epoch": null, "name": "geolite2-city", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "geolite2-country": [ { "arch": "noarch", "epoch": null, "name": "geolite2-country", "release": "1.el8", "source": "rpm", "version": "20180605" } ], "gettext": [ { "arch": "x86_64", "epoch": null, "name": "gettext", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "gettext-libs": [ { "arch": "x86_64", "epoch": null, "name": "gettext-libs", "release": "17.el8", "source": "rpm", "version": "0.19.8.1" } ], "git": [ { "arch": "x86_64", "epoch": null, "name": "git", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "git-core": [ { "arch": "x86_64", "epoch": null, "name": "git-core", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "git-core-doc": [ { "arch": "noarch", "epoch": null, "name": "git-core-doc", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "glib2": [ { "arch": "x86_64", "epoch": null, "name": "glib2", "release": "159.el8", "source": "rpm", "version": "2.56.4" } ], "glibc": [ { "arch": "x86_64", "epoch": null, "name": "glibc", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-common": [ { "arch": "x86_64", "epoch": null, "name": "glibc-common", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-devel": [ { "arch": "x86_64", "epoch": null, "name": "glibc-devel", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-gconv-extra": [ { "arch": "x86_64", "epoch": null, "name": "glibc-gconv-extra", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-headers": [ { "arch": "x86_64", "epoch": null, "name": "glibc-headers", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "glibc-langpack-en": [ { "arch": "x86_64", "epoch": null, "name": "glibc-langpack-en", "release": "209.el8", "source": "rpm", "version": "2.28" } ], "gmp": [ { "arch": "x86_64", "epoch": 1, "name": "gmp", "release": "10.el8", "source": "rpm", "version": "6.1.2" } ], "gnupg2": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2", "release": "3.el8_6", "source": "rpm", "version": "2.2.20" } ], "gnupg2-smime": [ { "arch": "x86_64", "epoch": null, "name": "gnupg2-smime", "release": "3.el8_6", "source": "rpm", "version": "2.2.20" } ], "gnutls": [ { "arch": "x86_64", "epoch": null, "name": "gnutls", "release": "4.el8", "source": "rpm", "version": "3.6.16" } ], "gobject-introspection": [ { "arch": "x86_64", "epoch": null, "name": "gobject-introspection", "release": "1.el8", "source": "rpm", "version": "1.56.1" } ], "gpg-pubkey": [ { "arch": null, "epoch": null, "name": "gpg-pubkey", "release": "5cf7cefb", "source": "rpm", "version": "2f86d6a1" } ], "gpgme": [ { "arch": "x86_64", "epoch": null, "name": "gpgme", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "gpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "gpm-libs", "release": "17.el8", "source": "rpm", "version": "1.20.7" } ], "grep": [ { "arch": "x86_64", "epoch": null, "name": "grep", "release": "6.el8", "source": "rpm", "version": "3.1" } ], "groff-base": [ { "arch": "x86_64", "epoch": null, "name": "groff-base", "release": "18.el8", "source": "rpm", "version": "1.22.3" } ], "grub2-common": [ { "arch": "noarch", "epoch": 1, "name": "grub2-common", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-efi-x64": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-efi-x64", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-pc", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-pc-modules": [ { "arch": "noarch", "epoch": 1, "name": "grub2-pc-modules", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-extra": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-extra", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grub2-tools-minimal": [ { "arch": "x86_64", "epoch": 1, "name": "grub2-tools-minimal", "release": "138.el8", "source": "rpm", "version": "2.02" } ], "grubby": [ { "arch": "x86_64", "epoch": null, "name": "grubby", "release": "45.el8", "source": "rpm", "version": "8.40" } ], "gssproxy": [ { "arch": "x86_64", "epoch": null, "name": "gssproxy", "release": "21.el8", "source": "rpm", "version": "0.8.0" } ], "gzip": [ { "arch": "x86_64", "epoch": null, "name": "gzip", "release": "13.el8", "source": "rpm", "version": "1.9" } ], "hardlink": [ { "arch": "x86_64", "epoch": 1, "name": "hardlink", "release": "6.el8", "source": "rpm", "version": "1.3" } ], "hdparm": [ { "arch": "x86_64", "epoch": null, "name": "hdparm", "release": "4.el8", "source": "rpm", "version": "9.54" } ], "hostname": [ { "arch": "x86_64", "epoch": null, "name": "hostname", "release": "6.el8", "source": "rpm", "version": "3.20" } ], "hwdata": [ { "arch": "noarch", "epoch": null, "name": "hwdata", "release": "8.13.el8", "source": "rpm", "version": "0.314" } ], "ima-evm-utils": [ { "arch": "x86_64", "epoch": null, "name": "ima-evm-utils", "release": "12.el8", "source": "rpm", "version": "1.3.2" } ], "info": [ { "arch": "x86_64", "epoch": null, "name": "info", "release": "7.el8", "source": "rpm", "version": "6.5" } ], "initscripts": [ { "arch": "x86_64", "epoch": null, "name": "initscripts", "release": "1.el8", "source": "rpm", "version": "10.00.18" } ], "insights-client": [ { "arch": "noarch", "epoch": 0, "name": "insights-client", "release": "8.el8", "source": "rpm", "version": "3.1.7" } ], "ipcalc": [ { "arch": "x86_64", "epoch": null, "name": "ipcalc", "release": "4.el8", "source": "rpm", "version": "0.2.4" } ], "iproute": [ { "arch": "x86_64", "epoch": null, "name": "iproute", "release": "1.el8", "source": "rpm", "version": "5.18.0" } ], "iprutils": [ { "arch": "x86_64", "epoch": null, "name": "iprutils", "release": "1.el8", "source": "rpm", "version": "2.4.19" } ], "ipset": [ { "arch": "x86_64", "epoch": null, "name": "ipset", "release": "1.el8", "source": "rpm", "version": "7.1" } ], "ipset-libs": [ { "arch": "x86_64", "epoch": null, "name": "ipset-libs", "release": "1.el8", "source": "rpm", "version": "7.1" } ], "iptables": [ { "arch": "x86_64", "epoch": null, "name": "iptables", "release": "23.el8", "source": "rpm", "version": "1.8.4" } ], "iptables-ebtables": [ { "arch": "x86_64", "epoch": null, "name": "iptables-ebtables", "release": "23.el8", "source": "rpm", "version": "1.8.4" } ], "iptables-libs": [ { "arch": "x86_64", "epoch": null, "name": "iptables-libs", "release": "23.el8", "source": "rpm", "version": "1.8.4" } ], "iputils": [ { "arch": "x86_64", "epoch": null, "name": "iputils", "release": "10.el8", "source": "rpm", "version": "20180629" } ], "irqbalance": [ { "arch": "x86_64", "epoch": 2, "name": "irqbalance", "release": "3.el8", "source": "rpm", "version": "1.9.0" } ], "isl": [ { "arch": "x86_64", "epoch": null, "name": "isl", "release": "6.el8", "source": "rpm", "version": "0.16.1" } ], "jansson": [ { "arch": "x86_64", "epoch": null, "name": "jansson", "release": "1.el8", "source": "rpm", "version": "2.14" } ], "json-c": [ { "arch": "x86_64", "epoch": null, "name": "json-c", "release": "3.el8", "source": "rpm", "version": "0.13.1" } ], "json-glib": [ { "arch": "x86_64", "epoch": null, "name": "json-glib", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "kbd": [ { "arch": "x86_64", "epoch": null, "name": "kbd", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-legacy": [ { "arch": "noarch", "epoch": null, "name": "kbd-legacy", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kbd-misc": [ { "arch": "noarch", "epoch": null, "name": "kbd-misc", "release": "10.el8", "source": "rpm", "version": "2.0.4" } ], "kernel": [ { "arch": "x86_64", "epoch": null, "name": "kernel", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-core": [ { "arch": "x86_64", "epoch": null, "name": "kernel-core", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-devel": [ { "arch": "x86_64", "epoch": null, "name": "kernel-devel", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-headers": [ { "arch": "x86_64", "epoch": null, "name": "kernel-headers", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-modules": [ { "arch": "x86_64", "epoch": null, "name": "kernel-modules", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kernel-tools-libs": [ { "arch": "x86_64", "epoch": null, "name": "kernel-tools-libs", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "kexec-tools": [ { "arch": "x86_64", "epoch": null, "name": "kexec-tools", "release": "6.el8", "source": "rpm", "version": "2.0.24" } ], "keyutils": [ { "arch": "x86_64", "epoch": null, "name": "keyutils", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "keyutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "keyutils-libs", "release": "9.el8", "source": "rpm", "version": "1.5.10" } ], "kmod": [ { "arch": "x86_64", "epoch": null, "name": "kmod", "release": "19.el8", "source": "rpm", "version": "25" } ], "kmod-libs": [ { "arch": "x86_64", "epoch": null, "name": "kmod-libs", "release": "19.el8", "source": "rpm", "version": "25" } ], "kpartx": [ { "arch": "x86_64", "epoch": null, "name": "kpartx", "release": "26.el8", "source": "rpm", "version": "0.8.4" } ], "krb5-libs": [ { "arch": "x86_64", "epoch": null, "name": "krb5-libs", "release": "21.el8", "source": "rpm", "version": "1.18.2" } ], "langpacks-en": [ { "arch": "noarch", "epoch": null, "name": "langpacks-en", "release": "12.el8", "source": "rpm", "version": "1.0" } ], "less": [ { "arch": "x86_64", "epoch": null, "name": "less", "release": "1.el8", "source": "rpm", "version": "530" } ], "libacl": [ { "arch": "x86_64", "epoch": null, "name": "libacl", "release": "1.el8", "source": "rpm", "version": "2.2.53" } ], "libarchive": [ { "arch": "x86_64", "epoch": null, "name": "libarchive", "release": "4.el8", "source": "rpm", "version": "3.3.3" } ], "libassuan": [ { "arch": "x86_64", "epoch": null, "name": "libassuan", "release": "3.el8", "source": "rpm", "version": "2.5.1" } ], "libattr": [ { "arch": "x86_64", "epoch": null, "name": "libattr", "release": "3.el8", "source": "rpm", "version": "2.4.48" } ], "libbasicobjects": [ { "arch": "x86_64", "epoch": null, "name": "libbasicobjects", "release": "40.el8", "source": "rpm", "version": "0.1.1" } ], "libblkid": [ { "arch": "x86_64", "epoch": null, "name": "libblkid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libbpf": [ { "arch": "x86_64", "epoch": null, "name": "libbpf", "release": "1.el8", "source": "rpm", "version": "0.5.0" } ], "libcap": [ { "arch": "x86_64", "epoch": null, "name": "libcap", "release": "4.el8", "source": "rpm", "version": "2.48" } ], "libcap-ng": [ { "arch": "x86_64", "epoch": null, "name": "libcap-ng", "release": "1.el8", "source": "rpm", "version": "0.7.11" } ], "libcollection": [ { "arch": "x86_64", "epoch": null, "name": "libcollection", "release": "40.el8", "source": "rpm", "version": "0.7.0" } ], "libcom_err": [ { "arch": "x86_64", "epoch": null, "name": "libcom_err", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "libcomps": [ { "arch": "x86_64", "epoch": null, "name": "libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "libcroco": [ { "arch": "x86_64", "epoch": null, "name": "libcroco", "release": "4.el8_2.1", "source": "rpm", "version": "0.6.12" } ], "libcurl": [ { "arch": "x86_64", "epoch": null, "name": "libcurl", "release": "25.el8", "source": "rpm", "version": "7.61.1" } ], "libdaemon": [ { "arch": "x86_64", "epoch": null, "name": "libdaemon", "release": "15.el8", "source": "rpm", "version": "0.14" } ], "libdb": [ { "arch": "x86_64", "epoch": null, "name": "libdb", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdb-utils": [ { "arch": "x86_64", "epoch": null, "name": "libdb-utils", "release": "42.el8_4", "source": "rpm", "version": "5.3.28" } ], "libdhash": [ { "arch": "x86_64", "epoch": null, "name": "libdhash", "release": "40.el8", "source": "rpm", "version": "0.5.0" } ], "libdnf": [ { "arch": "x86_64", "epoch": null, "name": "libdnf", "release": "11.el8", "source": "rpm", "version": "0.63.0" } ], "libedit": [ { "arch": "x86_64", "epoch": null, "name": "libedit", "release": "23.20170329cvs.el8", "source": "rpm", "version": "3.1" } ], "libestr": [ { "arch": "x86_64", "epoch": null, "name": "libestr", "release": "3.el8", "source": "rpm", "version": "0.1.10" } ], "libev": [ { "arch": "x86_64", "epoch": null, "name": "libev", "release": "6.el8", "source": "rpm", "version": "4.24" } ], "libevent": [ { "arch": "x86_64", "epoch": null, "name": "libevent", "release": "5.el8", "source": "rpm", "version": "2.1.8" } ], "libfastjson": [ { "arch": "x86_64", "epoch": null, "name": "libfastjson", "release": "1.el8", "source": "rpm", "version": "0.99.9" } ], "libfdisk": [ { "arch": "x86_64", "epoch": null, "name": "libfdisk", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libffi": [ { "arch": "x86_64", "epoch": null, "name": "libffi", "release": "23.el8", "source": "rpm", "version": "3.1" } ], "libgcc": [ { "arch": "x86_64", "epoch": null, "name": "libgcc", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "libgcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libgcrypt", "release": "7.el8_6", "source": "rpm", "version": "1.8.5" } ], "libgomp": [ { "arch": "x86_64", "epoch": null, "name": "libgomp", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "libgpg-error": [ { "arch": "x86_64", "epoch": null, "name": "libgpg-error", "release": "1.el8", "source": "rpm", "version": "1.31" } ], "libibverbs": [ { "arch": "x86_64", "epoch": null, "name": "libibverbs", "release": "1.el8", "source": "rpm", "version": "41.0" } ], "libidn2": [ { "arch": "x86_64", "epoch": null, "name": "libidn2", "release": "1.el8", "source": "rpm", "version": "2.2.0" } ], "libini_config": [ { "arch": "x86_64", "epoch": null, "name": "libini_config", "release": "40.el8", "source": "rpm", "version": "1.3.1" } ], "libkcapi": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libkcapi-hmaccalc": [ { "arch": "x86_64", "epoch": null, "name": "libkcapi-hmaccalc", "release": "2.el8", "source": "rpm", "version": "1.2.0" } ], "libksba": [ { "arch": "x86_64", "epoch": null, "name": "libksba", "release": "7.el8", "source": "rpm", "version": "1.3.5" } ], "libldb": [ { "arch": "x86_64", "epoch": null, "name": "libldb", "release": "2.el8", "source": "rpm", "version": "2.5.2" } ], "liblognorm": [ { "arch": "x86_64", "epoch": null, "name": "liblognorm", "release": "2.el8", "source": "rpm", "version": "2.0.5" } ], "libmaxminddb": [ { "arch": "x86_64", "epoch": null, "name": "libmaxminddb", "release": "10.el8", "source": "rpm", "version": "1.2.0" } ], "libmetalink": [ { "arch": "x86_64", "epoch": null, "name": "libmetalink", "release": "7.el8", "source": "rpm", "version": "0.1.3" } ], "libmnl": [ { "arch": "x86_64", "epoch": null, "name": "libmnl", "release": "6.el8", "source": "rpm", "version": "1.0.4" } ], "libmodulemd": [ { "arch": "x86_64", "epoch": null, "name": "libmodulemd", "release": "1.el8", "source": "rpm", "version": "2.13.0" } ], "libmount": [ { "arch": "x86_64", "epoch": null, "name": "libmount", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libmpc": [ { "arch": "x86_64", "epoch": null, "name": "libmpc", "release": "9.1.el8", "source": "rpm", "version": "1.1.0" } ], "libndp": [ { "arch": "x86_64", "epoch": null, "name": "libndp", "release": "6.el8", "source": "rpm", "version": "1.7" } ], "libnetfilter_conntrack": [ { "arch": "x86_64", "epoch": null, "name": "libnetfilter_conntrack", "release": "5.el8", "source": "rpm", "version": "1.0.6" } ], "libnfnetlink": [ { "arch": "x86_64", "epoch": null, "name": "libnfnetlink", "release": "13.el8", "source": "rpm", "version": "1.0.1" } ], "libnfsidmap": [ { "arch": "x86_64", "epoch": 1, "name": "libnfsidmap", "release": "57.el8", "source": "rpm", "version": "2.3.3" } ], "libnftnl": [ { "arch": "x86_64", "epoch": null, "name": "libnftnl", "release": "5.el8", "source": "rpm", "version": "1.1.5" } ], "libnghttp2": [ { "arch": "x86_64", "epoch": null, "name": "libnghttp2", "release": "3.el8_2.1", "source": "rpm", "version": "1.33.0" } ], "libnl3": [ { "arch": "x86_64", "epoch": null, "name": "libnl3", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "libnl3-cli": [ { "arch": "x86_64", "epoch": null, "name": "libnl3-cli", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "libnsl2": [ { "arch": "x86_64", "epoch": null, "name": "libnsl2", "release": "2.20180605git4a062cf.el8", "source": "rpm", "version": "1.2.0" } ], "libpath_utils": [ { "arch": "x86_64", "epoch": null, "name": "libpath_utils", "release": "40.el8", "source": "rpm", "version": "0.2.1" } ], "libpcap": [ { "arch": "x86_64", "epoch": 14, "name": "libpcap", "release": "5.el8", "source": "rpm", "version": "1.9.1" } ], "libpipeline": [ { "arch": "x86_64", "epoch": null, "name": "libpipeline", "release": "2.el8", "source": "rpm", "version": "1.5.0" } ], "libpkgconf": [ { "arch": "x86_64", "epoch": null, "name": "libpkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "libpng": [ { "arch": "x86_64", "epoch": 2, "name": "libpng", "release": "5.el8", "source": "rpm", "version": "1.6.34" } ], "libpsl": [ { "arch": "x86_64", "epoch": null, "name": "libpsl", "release": "6.el8", "source": "rpm", "version": "0.20.2" } ], "libpwquality": [ { "arch": "x86_64", "epoch": null, "name": "libpwquality", "release": "3.el8", "source": "rpm", "version": "1.4.4" } ], "libref_array": [ { "arch": "x86_64", "epoch": null, "name": "libref_array", "release": "40.el8", "source": "rpm", "version": "0.1.5" } ], "librepo": [ { "arch": "x86_64", "epoch": null, "name": "librepo", "release": "3.el8", "source": "rpm", "version": "1.14.2" } ], "libreport-filesystem": [ { "arch": "x86_64", "epoch": null, "name": "libreport-filesystem", "release": "15.el8", "source": "rpm", "version": "2.9.5" } ], "librhsm": [ { "arch": "x86_64", "epoch": null, "name": "librhsm", "release": "4.el8", "source": "rpm", "version": "0.0.3" } ], "libseccomp": [ { "arch": "x86_64", "epoch": null, "name": "libseccomp", "release": "1.el8", "source": "rpm", "version": "2.5.2" } ], "libsecret": [ { "arch": "x86_64", "epoch": null, "name": "libsecret", "release": "1.el8", "source": "rpm", "version": "0.18.6" } ], "libselinux": [ { "arch": "x86_64", "epoch": null, "name": "libselinux", "release": "6.el8", "source": "rpm", "version": "2.9" } ], "libselinux-utils": [ { "arch": "x86_64", "epoch": null, "name": "libselinux-utils", "release": "6.el8", "source": "rpm", "version": "2.9" } ], "libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "libsemanage", "release": "9.el8", "source": "rpm", "version": "2.9" } ], "libsepol": [ { "arch": "x86_64", "epoch": null, "name": "libsepol", "release": "3.el8", "source": "rpm", "version": "2.9" } ], "libsigsegv": [ { "arch": "x86_64", "epoch": null, "name": "libsigsegv", "release": "5.el8", "source": "rpm", "version": "2.11" } ], "libsmartcols": [ { "arch": "x86_64", "epoch": null, "name": "libsmartcols", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libsolv": [ { "arch": "x86_64", "epoch": null, "name": "libsolv", "release": "3.el8", "source": "rpm", "version": "0.7.20" } ], "libss": [ { "arch": "x86_64", "epoch": null, "name": "libss", "release": "5.el8", "source": "rpm", "version": "1.45.6" } ], "libssh": [ { "arch": "x86_64", "epoch": null, "name": "libssh", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libssh-config": [ { "arch": "noarch", "epoch": null, "name": "libssh-config", "release": "3.el8", "source": "rpm", "version": "0.9.6" } ], "libsss_autofs": [ { "arch": "x86_64", "epoch": null, "name": "libsss_autofs", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_certmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_certmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_idmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_nss_idmap": [ { "arch": "x86_64", "epoch": null, "name": "libsss_nss_idmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libsss_sudo": [ { "arch": "x86_64", "epoch": null, "name": "libsss_sudo", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "libstdc++": [ { "arch": "x86_64", "epoch": null, "name": "libstdc++", "release": "15.el8", "source": "rpm", "version": "8.5.0" } ], "libsysfs": [ { "arch": "x86_64", "epoch": null, "name": "libsysfs", "release": "25.el8", "source": "rpm", "version": "2.1.0" } ], "libtalloc": [ { "arch": "x86_64", "epoch": null, "name": "libtalloc", "release": "2.el8", "source": "rpm", "version": "2.3.3" } ], "libtasn1": [ { "arch": "x86_64", "epoch": null, "name": "libtasn1", "release": "3.el8", "source": "rpm", "version": "4.13" } ], "libtdb": [ { "arch": "x86_64", "epoch": null, "name": "libtdb", "release": "1.el8", "source": "rpm", "version": "1.4.6" } ], "libteam": [ { "arch": "x86_64", "epoch": null, "name": "libteam", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "libtevent": [ { "arch": "x86_64", "epoch": null, "name": "libtevent", "release": "0.el8", "source": "rpm", "version": "0.12.0" } ], "libtirpc": [ { "arch": "x86_64", "epoch": null, "name": "libtirpc", "release": "8.el8", "source": "rpm", "version": "1.1.4" } ], "libunistring": [ { "arch": "x86_64", "epoch": null, "name": "libunistring", "release": "3.el8", "source": "rpm", "version": "0.9.9" } ], "libusbx": [ { "arch": "x86_64", "epoch": null, "name": "libusbx", "release": "4.el8", "source": "rpm", "version": "1.0.23" } ], "libuser": [ { "arch": "x86_64", "epoch": null, "name": "libuser", "release": "24.el8", "source": "rpm", "version": "0.62" } ], "libutempter": [ { "arch": "x86_64", "epoch": null, "name": "libutempter", "release": "14.el8", "source": "rpm", "version": "1.1.6" } ], "libuuid": [ { "arch": "x86_64", "epoch": null, "name": "libuuid", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "libverto": [ { "arch": "x86_64", "epoch": null, "name": "libverto", "release": "2.el8", "source": "rpm", "version": "0.3.2" } ], "libverto-libev": [ { "arch": "x86_64", "epoch": null, "name": "libverto-libev", "release": "2.el8", "source": "rpm", "version": "0.3.2" } ], "libxcrypt": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxcrypt-devel": [ { "arch": "x86_64", "epoch": null, "name": "libxcrypt-devel", "release": "6.el8", "source": "rpm", "version": "4.1.1" } ], "libxkbcommon": [ { "arch": "x86_64", "epoch": null, "name": "libxkbcommon", "release": "1.el8", "source": "rpm", "version": "0.9.1" } ], "libxml2": [ { "arch": "x86_64", "epoch": null, "name": "libxml2", "release": "14.el8", "source": "rpm", "version": "2.9.7" } ], "libxslt": [ { "arch": "x86_64", "epoch": null, "name": "libxslt", "release": "6.el8", "source": "rpm", "version": "1.1.32" } ], "libyaml": [ { "arch": "x86_64", "epoch": null, "name": "libyaml", "release": "5.el8", "source": "rpm", "version": "0.1.7" } ], "libzstd": [ { "arch": "x86_64", "epoch": null, "name": "libzstd", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "libzstd-devel": [ { "arch": "x86_64", "epoch": null, "name": "libzstd-devel", "release": "1.el8", "source": "rpm", "version": "1.4.4" } ], "linux-firmware": [ { "arch": "noarch", "epoch": null, "name": "linux-firmware", "release": "110.git150864a4.el8", "source": "rpm", "version": "20220726" } ], "lmdb-libs": [ { "arch": "x86_64", "epoch": null, "name": "lmdb-libs", "release": "1.el8", "source": "rpm", "version": "0.9.24" } ], "logrotate": [ { "arch": "x86_64", "epoch": null, "name": "logrotate", "release": "4.el8", "source": "rpm", "version": "3.14.0" } ], "lshw": [ { "arch": "x86_64", "epoch": null, "name": "lshw", "release": "6.el8", "source": "rpm", "version": "B.02.19.2" } ], "lsscsi": [ { "arch": "x86_64", "epoch": null, "name": "lsscsi", "release": "3.el8", "source": "rpm", "version": "0.32" } ], "lua-libs": [ { "arch": "x86_64", "epoch": null, "name": "lua-libs", "release": "12.el8", "source": "rpm", "version": "5.3.4" } ], "lz4-libs": [ { "arch": "x86_64", "epoch": null, "name": "lz4-libs", "release": "3.el8_4", "source": "rpm", "version": "1.8.3" } ], "lzo": [ { "arch": "x86_64", "epoch": null, "name": "lzo", "release": "14.el8", "source": "rpm", "version": "2.08" } ], "make": [ { "arch": "x86_64", "epoch": 1, "name": "make", "release": "11.el8", "source": "rpm", "version": "4.2.1" } ], "man-db": [ { "arch": "x86_64", "epoch": null, "name": "man-db", "release": "18.el8", "source": "rpm", "version": "2.7.6.1" } ], "memstrack": [ { "arch": "x86_64", "epoch": null, "name": "memstrack", "release": "2.el8", "source": "rpm", "version": "0.2.4" } ], "microcode_ctl": [ { "arch": "x86_64", "epoch": 4, "name": "microcode_ctl", "release": "1.el8", "source": "rpm", "version": "20220510" } ], "mokutil": [ { "arch": "x86_64", "epoch": 1, "name": "mokutil", "release": "12.el8", "source": "rpm", "version": "0.3.0" } ], "mozjs60": [ { "arch": "x86_64", "epoch": null, "name": "mozjs60", "release": "4.el8", "source": "rpm", "version": "60.9.0" } ], "mpfr": [ { "arch": "x86_64", "epoch": null, "name": "mpfr", "release": "1.el8", "source": "rpm", "version": "3.1.6" } ], "ncurses": [ { "arch": "x86_64", "epoch": null, "name": "ncurses", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-base": [ { "arch": "noarch", "epoch": null, "name": "ncurses-base", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "ncurses-libs": [ { "arch": "x86_64", "epoch": null, "name": "ncurses-libs", "release": "9.20180224.el8", "source": "rpm", "version": "6.1" } ], "nettle": [ { "arch": "x86_64", "epoch": null, "name": "nettle", "release": "7.el8", "source": "rpm", "version": "3.4.1" } ], "newt": [ { "arch": "x86_64", "epoch": null, "name": "newt", "release": "11.el8", "source": "rpm", "version": "0.52.20" } ], "nfs-utils": [ { "arch": "x86_64", "epoch": 1, "name": "nfs-utils", "release": "57.el8", "source": "rpm", "version": "2.3.3" } ], "nftables": [ { "arch": "x86_64", "epoch": 1, "name": "nftables", "release": "26.el8", "source": "rpm", "version": "0.9.3" } ], "npth": [ { "arch": "x86_64", "epoch": null, "name": "npth", "release": "4.el8", "source": "rpm", "version": "1.5" } ], "nspr": [ { "arch": "x86_64", "epoch": null, "name": "nspr", "release": "3.el8_6", "source": "rpm", "version": "4.34.0" } ], "nss": [ { "arch": "x86_64", "epoch": null, "name": "nss", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-softokn": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-softokn-freebl": [ { "arch": "x86_64", "epoch": null, "name": "nss-softokn-freebl", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-sysinit": [ { "arch": "x86_64", "epoch": null, "name": "nss-sysinit", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "nss-util": [ { "arch": "x86_64", "epoch": null, "name": "nss-util", "release": "10.el8_6", "source": "rpm", "version": "3.79.0" } ], "numactl-libs": [ { "arch": "x86_64", "epoch": null, "name": "numactl-libs", "release": "13.el8", "source": "rpm", "version": "2.0.12" } ], "oddjob": [ { "arch": "x86_64", "epoch": null, "name": "oddjob", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "oddjob-mkhomedir": [ { "arch": "x86_64", "epoch": null, "name": "oddjob-mkhomedir", "release": "1.el8", "source": "rpm", "version": "0.34.7" } ], "openldap": [ { "arch": "x86_64", "epoch": null, "name": "openldap", "release": "18.el8", "source": "rpm", "version": "2.4.46" } ], "openssh": [ { "arch": "x86_64", "epoch": null, "name": "openssh", "release": "16.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-clients": [ { "arch": "x86_64", "epoch": null, "name": "openssh-clients", "release": "16.el8", "source": "rpm", "version": "8.0p1" } ], "openssh-server": [ { "arch": "x86_64", "epoch": null, "name": "openssh-server", "release": "16.el8", "source": "rpm", "version": "8.0p1" } ], "openssl": [ { "arch": "x86_64", "epoch": 1, "name": "openssl", "release": "7.el8_6", "source": "rpm", "version": "1.1.1k" } ], "openssl-libs": [ { "arch": "x86_64", "epoch": 1, "name": "openssl-libs", "release": "7.el8_6", "source": "rpm", "version": "1.1.1k" } ], "openssl-pkcs11": [ { "arch": "x86_64", "epoch": null, "name": "openssl-pkcs11", "release": "2.el8", "source": "rpm", "version": "0.4.10" } ], "os-prober": [ { "arch": "x86_64", "epoch": null, "name": "os-prober", "release": "9.el8", "source": "rpm", "version": "1.74" } ], "p11-kit": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "p11-kit-trust": [ { "arch": "x86_64", "epoch": null, "name": "p11-kit-trust", "release": "1.el8", "source": "rpm", "version": "0.23.22" } ], "pam": [ { "arch": "x86_64", "epoch": null, "name": "pam", "release": "22.el8", "source": "rpm", "version": "1.3.1" } ], "parted": [ { "arch": "x86_64", "epoch": null, "name": "parted", "release": "39.el8", "source": "rpm", "version": "3.2" } ], "passwd": [ { "arch": "x86_64", "epoch": null, "name": "passwd", "release": "4.el8", "source": "rpm", "version": "0.80" } ], "pciutils": [ { "arch": "x86_64", "epoch": null, "name": "pciutils", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pciutils-libs": [ { "arch": "x86_64", "epoch": null, "name": "pciutils-libs", "release": "1.el8", "source": "rpm", "version": "3.7.0" } ], "pcre": [ { "arch": "x86_64", "epoch": null, "name": "pcre", "release": "6.el8", "source": "rpm", "version": "8.42" } ], "pcre2": [ { "arch": "x86_64", "epoch": null, "name": "pcre2", "release": "3.el8_6", "source": "rpm", "version": "10.32" } ], "perl-Carp": [ { "arch": "noarch", "epoch": null, "name": "perl-Carp", "release": "396.el8", "source": "rpm", "version": "1.42" } ], "perl-Data-Dumper": [ { "arch": "x86_64", "epoch": null, "name": "perl-Data-Dumper", "release": "399.el8", "source": "rpm", "version": "2.167" } ], "perl-Digest": [ { "arch": "noarch", "epoch": null, "name": "perl-Digest", "release": "395.el8", "source": "rpm", "version": "1.17" } ], "perl-Digest-MD5": [ { "arch": "x86_64", "epoch": null, "name": "perl-Digest-MD5", "release": "396.el8", "source": "rpm", "version": "2.55" } ], "perl-Encode": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Encode", "release": "3.el8", "source": "rpm", "version": "2.97" } ], "perl-Errno": [ { "arch": "x86_64", "epoch": 0, "name": "perl-Errno", "release": "421.el8", "source": "rpm", "version": "1.28" } ], "perl-Error": [ { "arch": "noarch", "epoch": 1, "name": "perl-Error", "release": "2.el8", "source": "rpm", "version": "0.17025" } ], "perl-Exporter": [ { "arch": "noarch", "epoch": null, "name": "perl-Exporter", "release": "396.el8", "source": "rpm", "version": "5.72" } ], "perl-File-Path": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Path", "release": "2.el8", "source": "rpm", "version": "2.15" } ], "perl-File-Temp": [ { "arch": "noarch", "epoch": null, "name": "perl-File-Temp", "release": "1.el8", "source": "rpm", "version": "0.230.600" } ], "perl-Getopt-Long": [ { "arch": "noarch", "epoch": 1, "name": "perl-Getopt-Long", "release": "4.el8", "source": "rpm", "version": "2.50" } ], "perl-Git": [ { "arch": "noarch", "epoch": null, "name": "perl-Git", "release": "2.el8", "source": "rpm", "version": "2.31.1" } ], "perl-HTTP-Tiny": [ { "arch": "noarch", "epoch": null, "name": "perl-HTTP-Tiny", "release": "1.el8", "source": "rpm", "version": "0.074" } ], "perl-IO": [ { "arch": "x86_64", "epoch": 0, "name": "perl-IO", "release": "421.el8", "source": "rpm", "version": "1.38" } ], "perl-IO-Socket-IP": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-IP", "release": "5.el8", "source": "rpm", "version": "0.39" } ], "perl-IO-Socket-SSL": [ { "arch": "noarch", "epoch": null, "name": "perl-IO-Socket-SSL", "release": "4.module+el8.3.0+6446+594cad75", "source": "rpm", "version": "2.066" } ], "perl-MIME-Base64": [ { "arch": "x86_64", "epoch": null, "name": "perl-MIME-Base64", "release": "396.el8", "source": "rpm", "version": "3.15" } ], "perl-Mozilla-CA": [ { "arch": "noarch", "epoch": null, "name": "perl-Mozilla-CA", "release": "7.module+el8.3.0+6498+9eecfe51", "source": "rpm", "version": "20160104" } ], "perl-Net-SSLeay": [ { "arch": "x86_64", "epoch": null, "name": "perl-Net-SSLeay", "release": "2.module+el8.6.0+13392+f0897f98", "source": "rpm", "version": "1.88" } ], "perl-PathTools": [ { "arch": "x86_64", "epoch": null, "name": "perl-PathTools", "release": "1.el8", "source": "rpm", "version": "3.74" } ], "perl-Pod-Escapes": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Escapes", "release": "395.el8", "source": "rpm", "version": "1.07" } ], "perl-Pod-Perldoc": [ { "arch": "noarch", "epoch": null, "name": "perl-Pod-Perldoc", "release": "396.el8", "source": "rpm", "version": "3.28" } ], "perl-Pod-Simple": [ { "arch": "noarch", "epoch": 1, "name": "perl-Pod-Simple", "release": "395.el8", "source": "rpm", "version": "3.35" } ], "perl-Pod-Usage": [ { "arch": "noarch", "epoch": 4, "name": "perl-Pod-Usage", "release": "395.el8", "source": "rpm", "version": "1.69" } ], "perl-Scalar-List-Utils": [ { "arch": "x86_64", "epoch": 3, "name": "perl-Scalar-List-Utils", "release": "2.el8", "source": "rpm", "version": "1.49" } ], "perl-Socket": [ { "arch": "x86_64", "epoch": 4, "name": "perl-Socket", "release": "3.el8", "source": "rpm", "version": "2.027" } ], "perl-Storable": [ { "arch": "x86_64", "epoch": 1, "name": "perl-Storable", "release": "3.el8", "source": "rpm", "version": "3.11" } ], "perl-Term-ANSIColor": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-ANSIColor", "release": "396.el8", "source": "rpm", "version": "4.06" } ], "perl-Term-Cap": [ { "arch": "noarch", "epoch": null, "name": "perl-Term-Cap", "release": "395.el8", "source": "rpm", "version": "1.17" } ], "perl-TermReadKey": [ { "arch": "x86_64", "epoch": null, "name": "perl-TermReadKey", "release": "7.el8", "source": "rpm", "version": "2.37" } ], "perl-Text-ParseWords": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-ParseWords", "release": "395.el8", "source": "rpm", "version": "3.30" } ], "perl-Text-Tabs+Wrap": [ { "arch": "noarch", "epoch": null, "name": "perl-Text-Tabs+Wrap", "release": "395.el8", "source": "rpm", "version": "2013.0523" } ], "perl-Time-Local": [ { "arch": "noarch", "epoch": 1, "name": "perl-Time-Local", "release": "1.el8", "source": "rpm", "version": "1.280" } ], "perl-URI": [ { "arch": "noarch", "epoch": null, "name": "perl-URI", "release": "3.el8", "source": "rpm", "version": "1.73" } ], "perl-Unicode-Normalize": [ { "arch": "x86_64", "epoch": null, "name": "perl-Unicode-Normalize", "release": "396.el8", "source": "rpm", "version": "1.25" } ], "perl-constant": [ { "arch": "noarch", "epoch": null, "name": "perl-constant", "release": "396.el8", "source": "rpm", "version": "1.33" } ], "perl-interpreter": [ { "arch": "x86_64", "epoch": 4, "name": "perl-interpreter", "release": "421.el8", "source": "rpm", "version": "5.26.3" } ], "perl-libnet": [ { "arch": "noarch", "epoch": null, "name": "perl-libnet", "release": "3.el8", "source": "rpm", "version": "3.11" } ], "perl-libs": [ { "arch": "x86_64", "epoch": 4, "name": "perl-libs", "release": "421.el8", "source": "rpm", "version": "5.26.3" } ], "perl-macros": [ { "arch": "x86_64", "epoch": 4, "name": "perl-macros", "release": "421.el8", "source": "rpm", "version": "5.26.3" } ], "perl-parent": [ { "arch": "noarch", "epoch": 1, "name": "perl-parent", "release": "1.el8", "source": "rpm", "version": "0.237" } ], "perl-podlators": [ { "arch": "noarch", "epoch": null, "name": "perl-podlators", "release": "1.el8", "source": "rpm", "version": "4.11" } ], "perl-threads": [ { "arch": "x86_64", "epoch": 1, "name": "perl-threads", "release": "2.el8", "source": "rpm", "version": "2.21" } ], "perl-threads-shared": [ { "arch": "x86_64", "epoch": null, "name": "perl-threads-shared", "release": "2.el8", "source": "rpm", "version": "1.58" } ], "pigz": [ { "arch": "x86_64", "epoch": null, "name": "pigz", "release": "4.el8", "source": "rpm", "version": "2.4" } ], "pinentry": [ { "arch": "x86_64", "epoch": null, "name": "pinentry", "release": "2.el8", "source": "rpm", "version": "1.1.0" } ], "pkgconf": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-m4": [ { "arch": "noarch", "epoch": null, "name": "pkgconf-m4", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "pkgconf-pkg-config": [ { "arch": "x86_64", "epoch": null, "name": "pkgconf-pkg-config", "release": "1.el8", "source": "rpm", "version": "1.4.2" } ], "platform-python": [ { "arch": "x86_64", "epoch": null, "name": "platform-python", "release": "47.el8", "source": "rpm", "version": "3.6.8" } ], "platform-python-pip": [ { "arch": "noarch", "epoch": null, "name": "platform-python-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "platform-python-setuptools": [ { "arch": "noarch", "epoch": null, "name": "platform-python-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "plymouth": [ { "arch": "x86_64", "epoch": null, "name": "plymouth", "release": "11.20200615git1e36e30.el8", "source": "rpm", "version": "0.9.4" } ], "plymouth-core-libs": [ { "arch": "x86_64", "epoch": null, "name": "plymouth-core-libs", "release": "11.20200615git1e36e30.el8", "source": "rpm", "version": "0.9.4" } ], "plymouth-scripts": [ { "arch": "x86_64", "epoch": null, "name": "plymouth-scripts", "release": "11.20200615git1e36e30.el8", "source": "rpm", "version": "0.9.4" } ], "policycoreutils": [ { "arch": "x86_64", "epoch": null, "name": "policycoreutils", "release": "20.el8", "source": "rpm", "version": "2.9" } ], "policycoreutils-python-utils": [ { "arch": "noarch", "epoch": null, "name": "policycoreutils-python-utils", "release": "20.el8", "source": "rpm", "version": "2.9" } ], "polkit": [ { "arch": "x86_64", "epoch": null, "name": "polkit", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-libs": [ { "arch": "x86_64", "epoch": null, "name": "polkit-libs", "release": "13.el8_5.2", "source": "rpm", "version": "0.115" } ], "polkit-pkla-compat": [ { "arch": "x86_64", "epoch": null, "name": "polkit-pkla-compat", "release": "12.el8", "source": "rpm", "version": "0.1" } ], "popt": [ { "arch": "x86_64", "epoch": null, "name": "popt", "release": "1.el8", "source": "rpm", "version": "1.18" } ], "prefixdevname": [ { "arch": "x86_64", "epoch": null, "name": "prefixdevname", "release": "6.el8", "source": "rpm", "version": "0.1.0" } ], "procps-ng": [ { "arch": "x86_64", "epoch": null, "name": "procps-ng", "release": "8.el8", "source": "rpm", "version": "3.3.15" } ], "psmisc": [ { "arch": "x86_64", "epoch": null, "name": "psmisc", "release": "5.el8", "source": "rpm", "version": "23.1" } ], "publicsuffix-list-dafsa": [ { "arch": "noarch", "epoch": null, "name": "publicsuffix-list-dafsa", "release": "1.el8", "source": "rpm", "version": "20180723" } ], "python3-audit": [ { "arch": "x86_64", "epoch": null, "name": "python3-audit", "release": "4.el8", "source": "rpm", "version": "3.0.7" } ], "python3-babel": [ { "arch": "noarch", "epoch": null, "name": "python3-babel", "release": "7.el8", "source": "rpm", "version": "2.5.1" } ], "python3-cffi": [ { "arch": "x86_64", "epoch": null, "name": "python3-cffi", "release": "5.el8", "source": "rpm", "version": "1.11.5" } ], "python3-chardet": [ { "arch": "noarch", "epoch": null, "name": "python3-chardet", "release": "7.el8", "source": "rpm", "version": "3.0.4" } ], "python3-cloud-what": [ { "arch": "x86_64", "epoch": null, "name": "python3-cloud-what", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "python3-configobj": [ { "arch": "noarch", "epoch": null, "name": "python3-configobj", "release": "11.el8", "source": "rpm", "version": "5.0.6" } ], "python3-cryptography": [ { "arch": "x86_64", "epoch": null, "name": "python3-cryptography", "release": "5.el8", "source": "rpm", "version": "3.2.1" } ], "python3-dateutil": [ { "arch": "noarch", "epoch": 1, "name": "python3-dateutil", "release": "6.el8", "source": "rpm", "version": "2.6.1" } ], "python3-dbus": [ { "arch": "x86_64", "epoch": null, "name": "python3-dbus", "release": "15.el8", "source": "rpm", "version": "1.2.4" } ], "python3-decorator": [ { "arch": "noarch", "epoch": null, "name": "python3-decorator", "release": "2.el8", "source": "rpm", "version": "4.2.1" } ], "python3-dmidecode": [ { "arch": "x86_64", "epoch": null, "name": "python3-dmidecode", "release": "15.el8", "source": "rpm", "version": "3.12.2" } ], "python3-dnf": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "python3-dnf-plugins-core": [ { "arch": "noarch", "epoch": null, "name": "python3-dnf-plugins-core", "release": "14.el8", "source": "rpm", "version": "4.0.21" } ], "python3-ethtool": [ { "arch": "x86_64", "epoch": null, "name": "python3-ethtool", "release": "5.el8", "source": "rpm", "version": "0.14" } ], "python3-firewall": [ { "arch": "noarch", "epoch": null, "name": "python3-firewall", "release": "13.el8", "source": "rpm", "version": "0.9.3" } ], "python3-gobject-base": [ { "arch": "x86_64", "epoch": null, "name": "python3-gobject-base", "release": "2.el8", "source": "rpm", "version": "3.28.3" } ], "python3-gpg": [ { "arch": "x86_64", "epoch": null, "name": "python3-gpg", "release": "11.el8", "source": "rpm", "version": "1.13.1" } ], "python3-hawkey": [ { "arch": "x86_64", "epoch": null, "name": "python3-hawkey", "release": "11.el8", "source": "rpm", "version": "0.63.0" } ], "python3-html5lib": [ { "arch": "noarch", "epoch": 1, "name": "python3-html5lib", "release": "6.el8", "source": "rpm", "version": "0.999999999" } ], "python3-idna": [ { "arch": "noarch", "epoch": null, "name": "python3-idna", "release": "5.el8", "source": "rpm", "version": "2.5" } ], "python3-iniparse": [ { "arch": "noarch", "epoch": null, "name": "python3-iniparse", "release": "31.el8", "source": "rpm", "version": "0.4" } ], "python3-inotify": [ { "arch": "noarch", "epoch": null, "name": "python3-inotify", "release": "13.el8", "source": "rpm", "version": "0.9.6" } ], "python3-jinja2": [ { "arch": "noarch", "epoch": null, "name": "python3-jinja2", "release": "3.el8", "source": "rpm", "version": "2.10.1" } ], "python3-jsonpatch": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpatch", "release": "2.el8", "source": "rpm", "version": "1.21" } ], "python3-jsonpointer": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonpointer", "release": "11.el8", "source": "rpm", "version": "1.10" } ], "python3-jsonschema": [ { "arch": "noarch", "epoch": null, "name": "python3-jsonschema", "release": "4.el8", "source": "rpm", "version": "2.6.0" } ], "python3-jwt": [ { "arch": "noarch", "epoch": null, "name": "python3-jwt", "release": "2.el8", "source": "rpm", "version": "1.6.1" } ], "python3-libcomps": [ { "arch": "x86_64", "epoch": null, "name": "python3-libcomps", "release": "1.el8", "source": "rpm", "version": "0.1.18" } ], "python3-libdnf": [ { "arch": "x86_64", "epoch": null, "name": "python3-libdnf", "release": "11.el8", "source": "rpm", "version": "0.63.0" } ], "python3-librepo": [ { "arch": "x86_64", "epoch": null, "name": "python3-librepo", "release": "3.el8", "source": "rpm", "version": "1.14.2" } ], "python3-libs": [ { "arch": "x86_64", "epoch": null, "name": "python3-libs", "release": "47.el8", "source": "rpm", "version": "3.6.8" } ], "python3-libselinux": [ { "arch": "x86_64", "epoch": null, "name": "python3-libselinux", "release": "6.el8", "source": "rpm", "version": "2.9" } ], "python3-libsemanage": [ { "arch": "x86_64", "epoch": null, "name": "python3-libsemanage", "release": "9.el8", "source": "rpm", "version": "2.9" } ], "python3-libxml2": [ { "arch": "x86_64", "epoch": null, "name": "python3-libxml2", "release": "14.el8", "source": "rpm", "version": "2.9.7" } ], "python3-linux-procfs": [ { "arch": "noarch", "epoch": null, "name": "python3-linux-procfs", "release": "1.el8", "source": "rpm", "version": "0.7.0" } ], "python3-lxml": [ { "arch": "x86_64", "epoch": null, "name": "python3-lxml", "release": "4.el8", "source": "rpm", "version": "4.2.3" } ], "python3-magic": [ { "arch": "noarch", "epoch": null, "name": "python3-magic", "release": "20.el8", "source": "rpm", "version": "5.33" } ], "python3-markupsafe": [ { "arch": "x86_64", "epoch": null, "name": "python3-markupsafe", "release": "19.el8", "source": "rpm", "version": "0.23" } ], "python3-netifaces": [ { "arch": "x86_64", "epoch": null, "name": "python3-netifaces", "release": "4.el8", "source": "rpm", "version": "0.10.6" } ], "python3-nftables": [ { "arch": "x86_64", "epoch": 1, "name": "python3-nftables", "release": "26.el8", "source": "rpm", "version": "0.9.3" } ], "python3-oauthlib": [ { "arch": "noarch", "epoch": null, "name": "python3-oauthlib", "release": "1.el8", "source": "rpm", "version": "2.1.0" } ], "python3-perf": [ { "arch": "x86_64", "epoch": null, "name": "python3-perf", "release": "418.el8", "source": "rpm", "version": "4.18.0" } ], "python3-pip": [ { "arch": "noarch", "epoch": null, "name": "python3-pip", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-pip-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-pip-wheel", "release": "22.el8", "source": "rpm", "version": "9.0.3" } ], "python3-ply": [ { "arch": "noarch", "epoch": null, "name": "python3-ply", "release": "9.el8", "source": "rpm", "version": "3.9" } ], "python3-policycoreutils": [ { "arch": "noarch", "epoch": null, "name": "python3-policycoreutils", "release": "20.el8", "source": "rpm", "version": "2.9" } ], "python3-prettytable": [ { "arch": "noarch", "epoch": null, "name": "python3-prettytable", "release": "14.el8", "source": "rpm", "version": "0.7.2" } ], "python3-pycparser": [ { "arch": "noarch", "epoch": null, "name": "python3-pycparser", "release": "14.el8", "source": "rpm", "version": "2.14" } ], "python3-pyserial": [ { "arch": "noarch", "epoch": null, "name": "python3-pyserial", "release": "8.el8", "source": "rpm", "version": "3.1.1" } ], "python3-pysocks": [ { "arch": "noarch", "epoch": null, "name": "python3-pysocks", "release": "3.el8", "source": "rpm", "version": "1.6.8" } ], "python3-pytz": [ { "arch": "noarch", "epoch": null, "name": "python3-pytz", "release": "9.el8", "source": "rpm", "version": "2017.2" } ], "python3-pyudev": [ { "arch": "noarch", "epoch": null, "name": "python3-pyudev", "release": "7.el8", "source": "rpm", "version": "0.21.0" } ], "python3-pyyaml": [ { "arch": "x86_64", "epoch": null, "name": "python3-pyyaml", "release": "12.el8", "source": "rpm", "version": "3.12" } ], "python3-requests": [ { "arch": "noarch", "epoch": null, "name": "python3-requests", "release": "2.1.el8_1", "source": "rpm", "version": "2.20.0" } ], "python3-rpm": [ { "arch": "x86_64", "epoch": null, "name": "python3-rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "python3-setools": [ { "arch": "x86_64", "epoch": null, "name": "python3-setools", "release": "3.el8", "source": "rpm", "version": "4.3.0" } ], "python3-setuptools": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-setuptools-wheel": [ { "arch": "noarch", "epoch": null, "name": "python3-setuptools-wheel", "release": "6.el8", "source": "rpm", "version": "39.2.0" } ], "python3-six": [ { "arch": "noarch", "epoch": null, "name": "python3-six", "release": "8.el8", "source": "rpm", "version": "1.11.0" } ], "python3-slip": [ { "arch": "noarch", "epoch": null, "name": "python3-slip", "release": "13.el8", "source": "rpm", "version": "0.6.4" } ], "python3-slip-dbus": [ { "arch": "noarch", "epoch": null, "name": "python3-slip-dbus", "release": "13.el8", "source": "rpm", "version": "0.6.4" } ], "python3-subscription-manager-rhsm": [ { "arch": "x86_64", "epoch": null, "name": "python3-subscription-manager-rhsm", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "python3-syspurpose": [ { "arch": "x86_64", "epoch": null, "name": "python3-syspurpose", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "python3-unbound": [ { "arch": "x86_64", "epoch": null, "name": "python3-unbound", "release": "2.el8", "source": "rpm", "version": "1.16.2" } ], "python3-urllib3": [ { "arch": "noarch", "epoch": null, "name": "python3-urllib3", "release": "5.el8", "source": "rpm", "version": "1.24.2" } ], "python3-webencodings": [ { "arch": "noarch", "epoch": null, "name": "python3-webencodings", "release": "6.el8", "source": "rpm", "version": "0.5.1" } ], "python36": [ { "arch": "x86_64", "epoch": null, "name": "python36", "release": "38.module+el8.5.0+12207+5c5719bc", "source": "rpm", "version": "3.6.8" } ], "qa-tools": [ { "arch": "noarch", "epoch": null, "name": "qa-tools", "release": "3.el8", "source": "rpm", "version": "4.1" } ], "qemu-guest-agent": [ { "arch": "x86_64", "epoch": 15, "name": "qemu-guest-agent", "release": "18.module+el8.7.0+15999+d24f860e", "source": "rpm", "version": "6.2.0" } ], "quota": [ { "arch": "x86_64", "epoch": 1, "name": "quota", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "quota-nls": [ { "arch": "noarch", "epoch": 1, "name": "quota-nls", "release": "14.el8", "source": "rpm", "version": "4.04" } ], "readline": [ { "arch": "x86_64", "epoch": null, "name": "readline", "release": "10.el8", "source": "rpm", "version": "7.0" } ], "redhat-release": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release", "release": "0.2.el8", "source": "rpm", "version": "8.7" } ], "redhat-release-eula": [ { "arch": "x86_64", "epoch": null, "name": "redhat-release-eula", "release": "0.2.el8", "source": "rpm", "version": "8.7" } ], "restraint": [ { "arch": "x86_64", "epoch": null, "name": "restraint", "release": "1.el8bkr", "source": "rpm", "version": "0.4.0" } ], "restraint-rhts": [ { "arch": "x86_64", "epoch": null, "name": "restraint-rhts", "release": "1.el8bkr", "source": "rpm", "version": "0.4.0" } ], "rhc": [ { "arch": "x86_64", "epoch": 1, "name": "rhc", "release": "9.el8", "source": "rpm", "version": "0.2.1" } ], "rng-tools": [ { "arch": "x86_64", "epoch": null, "name": "rng-tools", "release": "1.el8", "source": "rpm", "version": "6.15" } ], "rootfiles": [ { "arch": "noarch", "epoch": null, "name": "rootfiles", "release": "22.el8", "source": "rpm", "version": "8.1" } ], "rpcbind": [ { "arch": "x86_64", "epoch": null, "name": "rpcbind", "release": "10.el8", "source": "rpm", "version": "1.2.5" } ], "rpm": [ { "arch": "x86_64", "epoch": null, "name": "rpm", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-build-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-build-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-libs": [ { "arch": "x86_64", "epoch": null, "name": "rpm-libs", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-selinux": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-selinux", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rpm-plugin-systemd-inhibit": [ { "arch": "x86_64", "epoch": null, "name": "rpm-plugin-systemd-inhibit", "release": "23.el8", "source": "rpm", "version": "4.14.3" } ], "rsync": [ { "arch": "x86_64", "epoch": null, "name": "rsync", "release": "18.el8", "source": "rpm", "version": "3.1.3" } ], "rsyslog": [ { "arch": "x86_64", "epoch": null, "name": "rsyslog", "release": "10.el8", "source": "rpm", "version": "8.2102.0" } ], "sed": [ { "arch": "x86_64", "epoch": null, "name": "sed", "release": "5.el8", "source": "rpm", "version": "4.5" } ], "selinux-policy": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy", "release": "106.el8", "source": "rpm", "version": "3.14.3" } ], "selinux-policy-targeted": [ { "arch": "noarch", "epoch": null, "name": "selinux-policy-targeted", "release": "106.el8", "source": "rpm", "version": "3.14.3" } ], "setup": [ { "arch": "noarch", "epoch": null, "name": "setup", "release": "7.el8", "source": "rpm", "version": "2.12.2" } ], "sg3_utils": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils", "release": "6.el8", "source": "rpm", "version": "1.44" } ], "sg3_utils-libs": [ { "arch": "x86_64", "epoch": null, "name": "sg3_utils-libs", "release": "6.el8", "source": "rpm", "version": "1.44" } ], "shadow-utils": [ { "arch": "x86_64", "epoch": 2, "name": "shadow-utils", "release": "17.el8", "source": "rpm", "version": "4.6" } ], "shared-mime-info": [ { "arch": "x86_64", "epoch": null, "name": "shared-mime-info", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "shim-x64": [ { "arch": "x86_64", "epoch": null, "name": "shim-x64", "release": "1.el8", "source": "rpm", "version": "15.6" } ], "slang": [ { "arch": "x86_64", "epoch": null, "name": "slang", "release": "3.el8", "source": "rpm", "version": "2.3.2" } ], "snappy": [ { "arch": "x86_64", "epoch": null, "name": "snappy", "release": "3.el8", "source": "rpm", "version": "1.1.8" } ], "sqlite-libs": [ { "arch": "x86_64", "epoch": null, "name": "sqlite-libs", "release": "15.el8", "source": "rpm", "version": "3.26.0" } ], "squashfs-tools": [ { "arch": "x86_64", "epoch": null, "name": "squashfs-tools", "release": "20.el8", "source": "rpm", "version": "4.3" } ], "sssd-client": [ { "arch": "x86_64", "epoch": null, "name": "sssd-client", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "sssd-common": [ { "arch": "x86_64", "epoch": null, "name": "sssd-common", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "sssd-kcm": [ { "arch": "x86_64", "epoch": null, "name": "sssd-kcm", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "sssd-nfs-idmap": [ { "arch": "x86_64", "epoch": null, "name": "sssd-nfs-idmap", "release": "1.el8", "source": "rpm", "version": "2.7.3" } ], "strace": [ { "arch": "x86_64", "epoch": null, "name": "strace", "release": "2.el8", "source": "rpm", "version": "5.18" } ], "subscription-manager": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "subscription-manager-rhsm-certificates": [ { "arch": "x86_64", "epoch": null, "name": "subscription-manager-rhsm-certificates", "release": "1.el8", "source": "rpm", "version": "1.28.32" } ], "sudo": [ { "arch": "x86_64", "epoch": null, "name": "sudo", "release": "8.el8", "source": "rpm", "version": "1.8.29" } ], "systemd": [ { "arch": "x86_64", "epoch": null, "name": "systemd", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemd-libs": [ { "arch": "x86_64", "epoch": null, "name": "systemd-libs", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemd-pam": [ { "arch": "x86_64", "epoch": null, "name": "systemd-pam", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemd-udev": [ { "arch": "x86_64", "epoch": null, "name": "systemd-udev", "release": "62.el8", "source": "rpm", "version": "239" } ], "systemtap": [ { "arch": "x86_64", "epoch": null, "name": "systemtap", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "systemtap-client": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-client", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "systemtap-devel": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-devel", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "systemtap-runtime": [ { "arch": "x86_64", "epoch": null, "name": "systemtap-runtime", "release": "1.el8", "source": "rpm", "version": "4.7" } ], "tar": [ { "arch": "x86_64", "epoch": 2, "name": "tar", "release": "6.el8", "source": "rpm", "version": "1.30" } ], "tbb": [ { "arch": "x86_64", "epoch": null, "name": "tbb", "release": "9.el8", "source": "rpm", "version": "2018.2" } ], "teamd": [ { "arch": "x86_64", "epoch": null, "name": "teamd", "release": "2.el8", "source": "rpm", "version": "1.31" } ], "time": [ { "arch": "x86_64", "epoch": null, "name": "time", "release": "3.el8", "source": "rpm", "version": "1.9" } ], "timedatex": [ { "arch": "x86_64", "epoch": null, "name": "timedatex", "release": "3.el8", "source": "rpm", "version": "0.5" } ], "tpm2-tss": [ { "arch": "x86_64", "epoch": null, "name": "tpm2-tss", "release": "4.el8", "source": "rpm", "version": "2.3.2" } ], "trousers": [ { "arch": "x86_64", "epoch": null, "name": "trousers", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "trousers-lib": [ { "arch": "x86_64", "epoch": null, "name": "trousers-lib", "release": "1.el8", "source": "rpm", "version": "0.3.15" } ], "tuned": [ { "arch": "noarch", "epoch": null, "name": "tuned", "release": "0.1.rc1.el8", "source": "rpm", "version": "2.19.0" } ], "tzdata": [ { "arch": "noarch", "epoch": null, "name": "tzdata", "release": "2.el8", "source": "rpm", "version": "2022a" } ], "unbound-libs": [ { "arch": "x86_64", "epoch": null, "name": "unbound-libs", "release": "2.el8", "source": "rpm", "version": "1.16.2" } ], "unzip": [ { "arch": "x86_64", "epoch": null, "name": "unzip", "release": "46.el8", "source": "rpm", "version": "6.0" } ], "usermode": [ { "arch": "x86_64", "epoch": null, "name": "usermode", "release": "2.el8", "source": "rpm", "version": "1.113" } ], "util-linux": [ { "arch": "x86_64", "epoch": null, "name": "util-linux", "release": "35.el8", "source": "rpm", "version": "2.32.1" } ], "vim-common": [ { "arch": "x86_64", "epoch": 2, "name": "vim-common", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "vim-enhanced": [ { "arch": "x86_64", "epoch": 2, "name": "vim-enhanced", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "vim-filesystem": [ { "arch": "noarch", "epoch": 2, "name": "vim-filesystem", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "vim-minimal": [ { "arch": "x86_64", "epoch": 2, "name": "vim-minimal", "release": "19.el8_6.4", "source": "rpm", "version": "8.0.1763" } ], "virt-what": [ { "arch": "x86_64", "epoch": null, "name": "virt-what", "release": "14.el8", "source": "rpm", "version": "1.18" } ], "wget": [ { "arch": "x86_64", "epoch": null, "name": "wget", "release": "10.el8", "source": "rpm", "version": "1.19.5" } ], "which": [ { "arch": "x86_64", "epoch": null, "name": "which", "release": "18.el8", "source": "rpm", "version": "2.21" } ], "xfsprogs": [ { "arch": "x86_64", "epoch": null, "name": "xfsprogs", "release": "10.el8", "source": "rpm", "version": "5.0.0" } ], "xkeyboard-config": [ { "arch": "noarch", "epoch": null, "name": "xkeyboard-config", "release": "1.el8", "source": "rpm", "version": "2.28" } ], "xz": [ { "arch": "x86_64", "epoch": null, "name": "xz", "release": "4.el8_6", "source": "rpm", "version": "5.2.4" } ], "xz-devel": [ { "arch": "x86_64", "epoch": null, "name": "xz-devel", "release": "4.el8_6", "source": "rpm", "version": "5.2.4" } ], "xz-libs": [ { "arch": "x86_64", "epoch": null, "name": "xz-libs", "release": "4.el8_6", "source": "rpm", "version": "5.2.4" } ], "yum": [ { "arch": "noarch", "epoch": null, "name": "yum", "release": "11.el8", "source": "rpm", "version": "4.7.0" } ], "yum-utils": [ { "arch": "noarch", "epoch": null, "name": "yum-utils", "release": "14.el8", "source": "rpm", "version": "4.0.21" } ], "zip": [ { "arch": "x86_64", "epoch": null, "name": "zip", "release": "23.el8", "source": "rpm", "version": "3.0" } ], "zlib": [ { "arch": "x86_64", "epoch": null, "name": "zlib", "release": "19.el8", "source": "rpm", "version": "1.2.11" } ], "zlib-devel": [ { "arch": "x86_64", "epoch": null, "name": "zlib-devel", "release": "19.el8", "source": "rpm", "version": "1.2.11" } ] } }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog version] *** Friday 19 August 2022 23:51:06 +0000 (0:00:01.588) 0:03:06.710 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_version": "8.2102.0" }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 1] *** Friday 19 August 2022 23:51:07 +0000 (0:00:00.118) 0:03:06.829 ********* skipping: [sut] => {} TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version 2] *** Friday 19 August 2022 23:51:07 +0000 (0:00:00.056) 0:03:06.886 ********* ok: [sut] => {} MSG: Rsyslog_version is 8.2102.0, which is newer than "8.37.0-7.2". TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Set __rsyslog_failed_validation] *** Friday 19 August 2022 23:51:07 +0000 (0:00:00.120) 0:03:07.006 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create the config directory if it does not exist] *** Friday 19 August 2022 23:51:07 +0000 (0:00:00.068) 0:03:07.075 ********* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/rsyslog.d", "secontext": "system_u:object_r:syslog_conf_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create a work directory] *** Friday 19 August 2022 23:51:07 +0000 (0:00:00.295) 0:03:07.371 ********* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/var/lib/rsyslog", "secontext": "system_u:object_r:syslogd_var_lib_t:s0", "size": 29, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Create logging directory if it does not exist or the ownership and/or modes are different.] *** Friday 19 August 2022 23:51:07 +0000 (0:00:00.297) 0:03:07.668 ********* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/var/log", "secontext": "system_u:object_r:var_log_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get mode of rsyslog.conf if it exists] *** Friday 19 August 2022 23:51:08 +0000 (0:00:00.299) 0:03:07.968 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1652689130.0, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d1243d5fddb7d1edfae7de76c2087f004daf6174", "ctime": 1660953064.2479267, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16797861, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1652689130.0, "nlink": 1, "path": "/etc/rsyslog.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 3186, "uid": 0, "version": "853349865", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate main rsyslog configuration] *** Friday 19 August 2022 23:51:08 +0000 (0:00:00.301) 0:03:08.269 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate global rule to add to __rsyslog_common_rules] *** Friday 19 August 2022 23:51:08 +0000 (0:00:00.073) 0:03:08.343 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_common_rules": [ { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate common rsyslog configuration files in rsyslog.d] *** Friday 19 August 2022 23:51:08 +0000 (0:00:00.186) 0:03:08.529 ********* skipping: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Initialize list of template results] *** Friday 19 August 2022 23:51:08 +0000 (0:00:00.094) 0:03:08.623 ********* ok: [sut] => { "ansible_facts": { "__rsyslog_template_results": [ { "changed": false, "msg": "All items skipped", "results": [ { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False", "skipped": true }, { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "skip_reason": "Conditional result was False", "skipped": true } ], "skipped": true } ] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Remove common config files in rsyslog.d] *** Friday 19 August 2022 23:51:08 +0000 (0:00:00.088) 0:03:08.712 ********* skipping: [sut] => (item={'filename': '00-global.conf', 'comment': 'Global options', 'options': 'global(\n workDirectory="/var/lib/rsyslog"\n)\n'}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "comment": "Global options", "filename": "00-global.conf", "options": "global(\n workDirectory=\"/var/lib/rsyslog\"\n)\n" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'local-modules', 'type': 'modules', 'state': 'absent', 'sections': [{'options': '# Mark message periodically by immark, if set to true.\nmodule(load="immark" interval="3600")'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "local-modules", "sections": [ { "options": "# Mark message periodically by immark, if set to true.\nmodule(load=\"immark\" interval=\"3600\")" } ], "state": "absent", "type": "modules" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'common-defaults', 'type': 'global', 'sections': [{'comment': 'Log every message', 'options': '$RepeatedMsgReduction off'}]}) => { "ansible_loop_var": "inner_item", "changed": false, "inner_item": { "name": "common-defaults", "sections": [ { "comment": "Log every message", "options": "$RepeatedMsgReduction off" } ], "type": "global" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Include input sub-vars] *** Friday 19 August 2022 23:51:09 +0000 (0:00:00.085) 0:03:08.798 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Run input sub-tasks] *** Friday 19 August 2022 23:51:09 +0000 (0:00:00.045) 0:03:08.844 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Include output sub-vars] *** Friday 19 August 2022 23:51:09 +0000 (0:00:00.065) 0:03:08.909 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Run output sub-tasks] *** Friday 19 August 2022 23:51:09 +0000 (0:00:00.043) 0:03:08.953 ********* TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Get rsyslog config files not owned by any package] *** Friday 19 August 2022 23:51:09 +0000 (0:00:00.087) 0:03:09.041 ********* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nfor conf in $( ls \"/etc/rsyslog.d\" ); do\n rstr=$( rpm -qf \"/etc/rsyslog.d/$conf\" 2>&1 || : )\n if [[ \"$rstr\" == *\"not owned by any package\"* ]]; then\n echo \"/etc/rsyslog.d/$conf\"\n fi\ndone\n", "delta": "0:00:00.139891", "end": "2022-08-19 23:51:09.637182", "failed_when_result": false, "rc": 0, "start": "2022-08-19 23:51:09.497291" } STDOUT: /etc/rsyslog.d/00-global.conf /etc/rsyslog.d/05-common-defaults.conf /etc/rsyslog.d/10-input-ovirt-local_modules.conf /etc/rsyslog.d/10-input-ovirt-main-modules.conf /etc/rsyslog.d/10-output-elasticsearch-module.conf /etc/rsyslog.d/10-output-files-modules.conf /etc/rsyslog.d/30-output-elasticsearch.conf /etc/rsyslog.d/30-output-files-default_files.conf /etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf /etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf /etc/rsyslog.d/90-input-basics-basic_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf /etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf /etc/rsyslog.d/ovirt_engine.rulebase /etc/rsyslog.d/ovirt_vdsm.rulebase /etc/rsyslog.d/parse_json.rulebase TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state] *** Friday 19 August 2022 23:51:09 +0000 (0:00:00.430) 0:03:09.471 ********* changed: [sut] => (item=/etc/rsyslog.d/00-global.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/00-global.conf", "path": "/etc/rsyslog.d/00-global.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/05-common-defaults.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/05-common-defaults.conf", "path": "/etc/rsyslog.d/05-common-defaults.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/10-input-ovirt-local_modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "path": "/etc/rsyslog.d/10-input-ovirt-local_modules.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/10-input-ovirt-main-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "path": "/etc/rsyslog.d/10-input-ovirt-main-modules.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/10-output-elasticsearch-module.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "path": "/etc/rsyslog.d/10-output-elasticsearch-module.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/10-output-files-modules.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/10-output-files-modules.conf", "path": "/etc/rsyslog.d/10-output-files-modules.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/30-output-elasticsearch.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-elasticsearch.conf", "path": "/etc/rsyslog.d/30-output-elasticsearch.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/30-output-files-default_files.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/30-output-files-default_files.conf", "path": "/etc/rsyslog.d/30-output-files-default_files.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "path": "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/90-input-basics-basic_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "path": "/etc/rsyslog.d/90-input-basics-basic_input.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_collectd_input.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_engine_input.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "path": "/etc/rsyslog.d/90-input-ovirt-ovirt_vdsm_input.conf", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/ovirt_engine.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/ovirt_engine.rulebase", "path": "/etc/rsyslog.d/ovirt_engine.rulebase", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/ovirt_vdsm.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "path": "/etc/rsyslog.d/ovirt_vdsm.rulebase", "state": "absent" } changed: [sut] => (item=/etc/rsyslog.d/parse_json.rulebase) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/rsyslog.d/parse_json.rulebase", "path": "/etc/rsyslog.d/parse_json.rulebase", "state": "absent" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy custom config files if they are specified in rsyslog_custom_config_files variable array.] *** Friday 19 August 2022 23:51:13 +0000 (0:00:04.134) 0:03:13.605 ********* TASK [Manage firewall for specified ports] ************************************* Friday 19 August 2022 23:51:13 +0000 (0:00:00.065) 0:03:13.671 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Prepare _logging_selinux_ports to drop ports defined in the selinux policy] *** Friday 19 August 2022 23:51:13 +0000 (0:00:00.070) 0:03:13.741 ********* ok: [sut] => { "ansible_facts": { "_logging_selinux_ports": [] }, "changed": false } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Drop ports defined in the selinux policy] *** Friday 19 August 2022 23:51:14 +0000 (0:00:00.085) 0:03:13.827 ********* TASK [Manage selinux for specified ports] ************************************** Friday 19 August 2022 23:51:14 +0000 (0:00:00.044) 0:03:13.872 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check tls is enabled in forwards output or remote input and logging_pki_files] *** Friday 19 August 2022 23:51:14 +0000 (0:00:00.113) 0:03:13.985 ********* skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=[]) => { "ansible_loop_var": "item", "changed": false, "item": [], "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local ca_cert file to the target if needed] *** Friday 19 August 2022 23:51:14 +0000 (0:00:00.096) 0:03:14.082 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local cert file to the target if needed] *** Friday 19 August 2022 23:51:14 +0000 (0:00:00.075) 0:03:14.157 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Copy local key file to the target if needed] *** Friday 19 August 2022 23:51:14 +0000 (0:00:00.076) 0:03:14.234 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Enable rsyslog service] *** Friday 19 August 2022 23:51:14 +0000 (0:00:00.076) 0:03:14.310 ********* changed: [sut] => { "changed": true, "enabled": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target system.slice network.target sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) https://www.rsyslog.com/doc/", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22628", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Disable rsyslog service] *** Friday 19 August 2022 23:51:15 +0000 (0:00:00.496) 0:03:14.807 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Check rsyslog version] *** Friday 19 August 2022 23:51:15 +0000 (0:00:00.069) 0:03:14.876 ********* skipping: [sut] => {} TASK [Force all notified handlers to run at this point, not waiting for normal sync points] *** Friday 19 August 2022 23:51:15 +0000 (0:00:00.121) 0:03:14.998 ********* RUNNING HANDLER [/WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd] *** Friday 19 August 2022 23:51:15 +0000 (0:00:00.000) 0:03:14.998 ********* changed: [sut] => { "changed": true, "name": "rsyslog", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2022-08-19 23:51:14 UTC", "ActiveEnterTimestampMonotonic": "631958546", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target system.slice network.target sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2022-08-19 23:51:14 UTC", "AssertTimestampMonotonic": "631950697", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2022-08-19 23:51:14 UTC", "ConditionTimestampMonotonic": "631950695", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rsyslog.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "System Logging Service", "DevicePolicy": "auto", "Documentation": "man:rsyslogd(8) https://www.rsyslog.com/doc/", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/rsyslog (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "16289", "ExecMainStartTimestamp": "Fri 2022-08-19 23:51:14 UTC", "ExecMainStartTimestampMonotonic": "631952094", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rsyslogd ; argv[]=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS ; ignore_errors=no ; start_time=[Fri 2022-08-19 23:51:14 UTC] ; stop_time=[n/a] ; pid=16289 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rsyslog.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "rsyslog.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2022-08-19 23:51:14 UTC", "InactiveExitTimestampMonotonic": "631952179", "InvocationID": "3dd932eb27654b338dbef5b59757a156", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "16384", "LimitNOFILESoft": "16384", "LimitNPROC": "14143", "LimitNPROCSoft": "14143", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14143", "LimitSIGPENDINGSoft": "14143", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "16289", "MemoryAccounting": "yes", "MemoryCurrent": "1552384", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "rsyslog.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "on-failure", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2022-08-19 23:51:14 UTC", "StateChangeTimestampMonotonic": "631958546", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22628", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0066", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network.target network-online.target", "WatchdogTimestamp": "Fri 2022-08-19 23:51:14 UTC", "WatchdogTimestampMonotonic": "631958543", "WatchdogUSec": "0" } } PLAY RECAP ********************************************************************* sut : ok=285 changed=48 unreachable=0 failed=0 skipped=192 rescued=0 ignored=0 Friday 19 August 2022 23:51:16 +0000 (0:00:01.001) 0:03:15.999 ********* =============================================================================== /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Ensure collectd port is allowed for rsyslogd to listen to --- 8.05s Check default config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output.conf" --- 4.39s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state --- 4.16s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Purge - remove files not generated by current state --- 4.13s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.53s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.51s Check modified config params in "/etc/rsyslog.d/31-output-elasticsearch-elasticsearch_output_ops.conf" --- 3.45s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : restart rsyslogd --- 3.33s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent --- 3.28s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 3.20s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.18s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Reset original confs - logging package is absent --- 3.17s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.14s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.13s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 3.13s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.12s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.10s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Generate role configuration files in rsyslog.d --- 3.09s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 3.02s /WORKDIR/dist-git-logging-requirements-s67KjN/tests/roles/linux-system-roles.logging/roles/rsyslog : Install/Update required packages --- 2.45s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---