ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpvo81nsdl executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmp5aixmznd/tests/get_services_state.yml statically imported: /tmp/tmp5aixmznd/tests/restore_services_state.yml Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_sanity_retention.yml ******************************************* 1 plays in /tmp/tmp5aixmznd/tests/tests_sanity_retention.yml PLAY [Test configuration of retention period] ********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5aixmznd/tests/tests_sanity_retention.yml:3 Thursday 07 July 2022 18:30:30 +0000 (0:00:00.014) 0:00:00.014 ********* [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/rhel-6.qcow2.snap] TASK [Get initial state of services] ******************************************* task path: /tmp/tmp5aixmznd/tests/get_services_state.yml:3 Thursday 07 July 2022 18:30:31 +0000 (0:00:01.011) 0:00:01.025 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "services": { "acpid": { "name": "acpid", "source": "sysv", "state": "running", "status": "enabled" }, "auditd": { "name": "auditd", "source": "sysv", "state": "running", "status": "enabled" }, "blk-availability": { "name": "blk-availability", "source": "sysv", "state": "running", "status": "enabled" }, "cgconfig": { "name": "cgconfig", "source": "sysv", "state": "stopped", "status": "disabled" }, "cgred": { "name": "cgred", "source": "sysv", "state": "stopped", "status": "disabled" }, "cloud-config": { "name": "cloud-config", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-final": { "name": "cloud-final", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init": { "name": "cloud-init", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init-local": { "name": "cloud-init-local", "source": "sysv", "state": "stopped", "status": "enabled" }, "crond": { "name": "crond", "source": "sysv", "state": "running", "status": "enabled" }, "ip6tables": { "name": "ip6tables", "source": "sysv", "state": "stopped", "status": "enabled" }, "iptables": { "name": "iptables", "source": "sysv", "state": "stopped", "status": "enabled" }, "kdump": { "name": "kdump", "source": "sysv", "state": "stopped", "status": "disabled" }, "ktune": { "name": "ktune", "source": "sysv", "state": "running", "status": "enabled" }, "mdmonitor": { "name": "mdmonitor", "source": "sysv", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "netfs": { "name": "netfs", "source": "sysv", "state": "running", "status": "enabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "nfs": { "name": "nfs", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfs-rdma": { "name": "nfs-rdma", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfslock": { "name": "nfslock", "source": "sysv", "state": "running", "status": "enabled" }, "ovirt-guest-agent": { "name": "ovirt-guest-agent", "source": "sysv", "state": "stopped", "status": "enabled" }, "pmcd": { "name": "pmcd", "source": "sysv", "state": "running", "status": "enabled" }, "pmie": { "name": "pmie", "source": "sysv", "state": "running", "status": "enabled" }, "pmlogger": { "name": "pmlogger", "source": "sysv", "state": "running", "status": "enabled" }, "pmproxy": { "name": "pmproxy", "source": "sysv", "state": "running", "status": "disabled" }, "qemu-ga": { "name": "qemu-ga", "source": "sysv", "state": "stopped", "status": "enabled" }, "rdisc": { "name": "rdisc", "source": "sysv", "state": "stopped", "status": "disabled" }, "rdma": { "name": "rdma", "source": "sysv", "state": "running", "status": "enabled" }, "restorecond": { "name": "restorecond", "source": "sysv", "state": "stopped", "status": "disabled" }, "rhnsd": { "name": "rhnsd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rhsmcertd": { "name": "rhsmcertd", "source": "sysv", "state": "running", "status": "enabled" }, "rpcbind": { "name": "rpcbind", "source": "sysv", "state": "running", "status": "enabled" }, "rpcgssd": { "name": "rpcgssd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rpcsvcgssd": { "name": "rpcsvcgssd", "source": "sysv", "state": "stopped", "status": "disabled" }, "rsyslog": { "name": "rsyslog", "source": "sysv", "state": "running", "status": "enabled" }, "saslauthd": { "name": "saslauthd", "source": "sysv", "state": "stopped", "status": "disabled" }, "sendmail": { "name": "sendmail", "source": "sysv", "state": "running", "status": "enabled" }, "sshd": { "name": "sshd", "source": "sysv", "state": "running", "status": "enabled" }, "tuned": { "name": "tuned", "source": "sysv", "state": "running", "status": "enabled" }, "udev-post": { "name": "udev-post", "source": "sysv", "state": "running", "status": "enabled" } } }, "changed": false } META: ran handlers TASK [linux-system-roles.metrics : Add Elasticsearch to metrics domain list] *** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:4 Thursday 07 July 2022 18:30:33 +0000 (0:00:01.770) 0:00:02.795 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add SQL Server to metrics domain list] ****** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:9 Thursday 07 July 2022 18:30:33 +0000 (0:00:00.035) 0:00:02.831 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add Postfix to metrics domain list] ********* task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:14 Thursday 07 July 2022 18:30:33 +0000 (0:00:00.033) 0:00:02.865 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add bpftrace to metrics domain list] ******** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:19 Thursday 07 July 2022 18:30:33 +0000 (0:00:00.037) 0:00:02.902 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Setup metrics access for roles] ************* task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:24 Thursday 07 July 2022 18:30:33 +0000 (0:00:00.033) 0:00:02.936 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "__metrics_accounts": [ { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" } ] }, "changed": false } TASK [Configure Elasticsearch metrics] ***************************************** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:32 Thursday 07 July 2022 18:30:33 +0000 (0:00:00.047) 0:00:02.983 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure SQL Server metrics.] ******************************************* task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:46 Thursday 07 July 2022 18:30:33 +0000 (0:00:00.034) 0:00:03.018 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure Postfix metrics.] ********************************************** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:53 Thursday 07 July 2022 18:30:33 +0000 (0:00:00.031) 0:00:03.049 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup bpftrace metrics.] ************************************************* task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:60 Thursday 07 July 2022 18:30:33 +0000 (0:00:00.033) 0:00:03.083 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric querying service.] ****************************************** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:68 Thursday 07 July 2022 18:30:33 +0000 (0:00:00.036) 0:00:03.119 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric collection service.] **************************************** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:75 Thursday 07 July 2022 18:30:33 +0000 (0:00:00.035) 0:00:03.154 ********* TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Set platform/version specific variables] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:4 Thursday 07 July 2022 18:30:33 +0000 (0:00:00.045) 0:00:03.200 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" } ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml) => { "ansible_facts": { "__pcp_pmcd_defaults_path": "/etc/sysconfig/pmcd", "__pcp_pmlogger_defaults_path": "/etc/sysconfig/pmlogger", "__pcp_pmlogger_timers_path": "/etc/sysconfig/pmlogger_timers", "__pcp_pmproxy_defaults_path": "/etc/sysconfig/pmproxy" }, "ansible_included_var_files": [ "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" } ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml) => { "ansible_facts": { "__pcp_pmcd_defaults_path": "/etc/sysconfig/pmcd", "__pcp_pmlogger_defaults_path": "/etc/sysconfig/pmlogger", "__pcp_pmlogger_timers_path": "/etc/sysconfig/pmlogger_timers", "__pcp_pmproxy_defaults_path": "/etc/sysconfig/pmproxy" }, "ansible_included_var_files": [ "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" } ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.yml) => { "ansible_facts": { "__pcp_packages_extra": [ "pcp-pmda-dm", "pcp-pmda-nfsclient", "pcp-system-tools" ], "__pcp_sasl_mechlist": "digest-md5", "__pcp_sasl_packages": [ "cyrus-sasl-lib", "cyrus-sasl-md5" ] }, "ansible_included_var_files": [ "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.yml" } skipping: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.10.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.10.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:15 Thursday 07 July 2022 18:30:33 +0000 (0:00:00.080) 0:00:03.281 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "pcp-3.10.9-9.el6.x86_64 providing pcp is already installed", "pcp-pmda-dm-3.10.9-9.el6.x86_64 providing pcp-pmda-dm is already installed", "pcp-pmda-nfsclient-3.10.9-9.el6.x86_64 providing pcp-pmda-nfsclient is already installed", "pcp-system-tools-3.10.9-9.el6.x86_64 providing pcp-system-tools is already installed" ] } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:20 Thursday 07 July 2022 18:30:34 +0000 (0:00:00.661) 0:00:03.943 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64 providing cyrus-sasl-lib is already installed", "cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64 providing cyrus-sasl-md5 is already installed" ] } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:28 Thursday 07 July 2022 18:30:34 +0000 (0:00:00.499) 0:00:04.442 ********* included: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml for /cache/rhel-6.qcow2.snap TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : List optional metric collection agents to be enabled] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:4 Thursday 07 July 2022 18:30:34 +0000 (0:00:00.039) 0:00:04.482 ********* TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:9 Thursday 07 July 2022 18:30:34 +0000 (0:00:00.035) 0:00:04.517 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:00.003224", "end": "2022-07-07 14:30:35.048017", "rc": 0, "start": "2022-07-07 14:30:35.044793" } STDOUT: # Performance Metrics Domain Specifications # # This file is automatically generated during the build # Name Id IPC IPC Params File/Cmd root 1 pipe binary /var/lib/pcp/pmdas/root/pmdaroot pmcd 2 dso pmcd_init /var/lib/pcp/pmdas/pmcd/pmda_pmcd.so proc 3 pipe binary /var/lib/pcp/pmdas/proc/pmdaproc -d 3 xfs 11 pipe binary /var/lib/pcp/pmdas/xfs/pmdaxfs -d 11 linux 60 pipe binary /var/lib/pcp/pmdas/linux/pmdalinux mmv 70 dso mmv_init /var/lib/pcp/pmdas/mmv/pmda_mmv.so jbd2 122 dso jbd2_init /var/lib/pcp/pmdas/jbd2/pmda_jbd2.so [access] disallow ".*" : store; disallow ":*" : store; allow "local:*" : all; TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure optional metric collection agents are enabled] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:14 Thursday 07 July 2022 18:30:35 +0000 (0:00:00.411) 0:00:04.928 ********* TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 Thursday 07 July 2022 18:30:35 +0000 (0:00:00.037) 0:00:04.966 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure implicit metric label path exists] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:31 Thursday 07 July 2022 18:30:35 +0000 (0:00:00.479) 0:00:05.446 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels/optional", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 Thursday 07 July 2022 18:30:36 +0000 (0:00:00.361) 0:00:05.807 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "5f36b2ea290645ee34d943220a14b54ee5ea5be5", "dest": "/etc/pcp/labels/ansible-managed", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/pcp/labels/ansible-managed", "secontext": "system_u:object_r:etc_t:s0", "size": 3, "state": "file", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 Thursday 07 July 2022 18:30:36 +0000 (0:00:00.657) 0:00:06.465 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "5f36b2ea290645ee34d943220a14b54ee5ea5be5", "dest": "/etc/pcp/labels/optional/ansible-managed", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/pcp/labels/optional/ansible-managed", "secontext": "system_u:object_r:etc_t:s0", "size": 3, "state": "file", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 Thursday 07 July 2022 18:30:37 +0000 (0:00:00.530) 0:00:06.995 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "4663db2c59d908d774b1dce1477898cd60e40aa3", "dest": "/etc/sysconfig/pmcd", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/pmcd", "secontext": "system_u:object_r:etc_t:s0", "size": 1593, "state": "file", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 Thursday 07 July 2022 18:30:37 +0000 (0:00:00.556) 0:00:07.551 ********* ok: [/cache/rhel-6.qcow2.snap] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "append": false, "changed": false, "comment": "", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "group": 497, "home": "/home/metrics", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "move_home": false, "name": "metrics", "shell": "/bin/bash", "state": "present", "uid": 497 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector SASL accounts are configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:68 Thursday 07 July 2022 18:30:38 +0000 (0:00:00.476) 0:00:08.028 ********* ok: [/cache/rhel-6.qcow2.snap] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nif ! sasldblistusers2 -f \"/etc/pcp/passwd.db\" | grep -q \"^metrics@\"; then\n echo \"Creating new metrics user in /etc/pcp/passwd.db\"\n echo \"metrics\" | saslpasswd2 -a pmcd \"metrics\"\n chown root:pcp \"/etc/pcp/passwd.db\"\n chmod 640 \"/etc/pcp/passwd.db\"\nfi\n", "delta": "0:00:00.006189", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-07-07 14:30:38.434694", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2022-07-07 14:30:38.428505" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:83 Thursday 07 July 2022 18:30:38 +0000 (0:00:00.286) 0:00:08.315 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "7033a0e76d02f828ac19ff1b5e1c832d45eae84b", "dest": "/etc/sasl2/pmcd.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sasl2/pmcd.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 961, "state": "file", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmcd restart if needed] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:91 Thursday 07 July 2022 18:30:39 +0000 (0:00:00.501) 0:00:08.817 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmcd": false }, "changed": false } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Report performance metric collector restart state] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:103 Thursday 07 July 2022 18:30:39 +0000 (0:00:00.036) 0:00:08.853 ********* ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ['optional_agents: False', 'explicit_labels: False', 'implicit_labels: False', 'defaults_config: False', 'authentication: False', 'restart_pmcd: False'] TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is running and enabled on boot] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:114 Thursday 07 July 2022 18:30:39 +0000 (0:00:00.047) 0:00:08.900 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "enabled": true, "name": "pmcd", "state": "started" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is restarted and enabled on boot] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:121 Thursday 07 July 2022 18:30:39 +0000 (0:00:00.523) 0:00:09.423 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:30 Thursday 07 July 2022 18:30:39 +0000 (0:00:00.035) 0:00:09.458 ********* included: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml for /cache/rhel-6.qcow2.snap TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 Thursday 07 July 2022 18:30:39 +0000 (0:00:00.039) 0:00:09.498 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "network", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/network", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=power) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "power", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/power", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "zeroconf", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/zeroconf", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 Thursday 07 July 2022 18:30:40 +0000 (0:00:00.955) 0:00:10.454 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "network", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/network", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=power) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "power", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/power", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "zeroconf", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/zeroconf", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 Thursday 07 July 2022 18:30:41 +0000 (0:00:01.005) 0:00:11.459 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": false, "checksum": "608d8a6ac6ee33bb86b77d28ba24fbcd378db43d", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/etc/pcp/pmieconf/network/tcplistenoverflows", "gid": 0, "group": "root", "item": "network/tcplistenoverflows", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/network/tcplistenoverflows", "secontext": "system_u:object_r:etc_t:s0", "size": 971, "state": "file", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": false, "checksum": "3256a5c2e8d07a20d8e97a08c0ab163252b0beae", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "gid": 0, "group": "root", "item": "network/tcpqfulldocookies", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "secontext": "system_u:object_r:etc_t:s0", "size": 1131, "state": "file", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": false, "checksum": "37b2bd7f2430bd9678ab078c5e69a53bea556524", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/etc/pcp/pmieconf/network/tcpqfulldrops", "gid": 0, "group": "root", "item": "network/tcpqfulldrops", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/network/tcpqfulldrops", "secontext": "system_u:object_r:etc_t:s0", "size": 1129, "state": "file", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": false, "checksum": "1d53d6182709617c8f633339652d8d9e75f3b603", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/etc/pcp/pmieconf/power/thermal_throttle", "gid": 0, "group": "root", "item": "power/thermal_throttle", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/power/thermal_throttle", "secontext": "system_u:object_r:etc_t:s0", "size": 1153, "state": "file", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": false, "checksum": "65169db16dcaa224c211373001adc3addf1031c4", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/etc/pcp/pmieconf/zeroconf/all_threads", "gid": 0, "group": "root", "item": "zeroconf/all_threads", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/zeroconf/all_threads", "secontext": "system_u:object_r:etc_t:s0", "size": 840, "state": "file", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra rules symlinks have been created for targeted hosts] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 Thursday 07 July 2022 18:30:44 +0000 (0:00:02.514) 0:00:13.973 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/var/lib/pcp/config/pmieconf/network/tcplistenoverflows", "gid": 0, "group": "root", "item": "network/tcplistenoverflows", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 44, "src": "/etc/pcp/pmieconf/network/tcplistenoverflows", "state": "link", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/var/lib/pcp/config/pmieconf/network/tcpqfulldocookies", "gid": 0, "group": "root", "item": "network/tcpqfulldocookies", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 43, "src": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "state": "link", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/var/lib/pcp/config/pmieconf/network/tcpqfulldrops", "gid": 0, "group": "root", "item": "network/tcpqfulldrops", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 39, "src": "/etc/pcp/pmieconf/network/tcpqfulldrops", "state": "link", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/var/lib/pcp/config/pmieconf/power/thermal_throttle", "gid": 0, "group": "root", "item": "power/thermal_throttle", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 40, "src": "/etc/pcp/pmieconf/power/thermal_throttle", "state": "link", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/var/lib/pcp/config/pmieconf/zeroconf/all_threads", "gid": 0, "group": "root", "item": "zeroconf/all_threads", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 38, "src": "/etc/pcp/pmieconf/zeroconf/all_threads", "state": "link", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric inference for targeted hosts (with control.d)] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:43 Thursday 07 July 2022 18:30:45 +0000 (0:00:01.593) 0:00:15.567 ********* TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric inference for targeted hosts (single control)] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:54 Thursday 07 July 2022 18:30:45 +0000 (0:00:00.065) 0:00:15.632 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmie restart if needed] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:64 Thursday 07 July 2022 18:30:46 +0000 (0:00:00.036) 0:00:15.669 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmie": false }, "changed": false } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is running and enabled on boot] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:75 Thursday 07 July 2022 18:30:46 +0000 (0:00:00.038) 0:00:15.708 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "enabled": true, "name": "pmie", "state": "started" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is restarted and enabled on boot] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:82 Thursday 07 July 2022 18:30:46 +0000 (0:00:00.396) 0:00:16.104 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:32 Thursday 07 July 2022 18:30:46 +0000 (0:00:00.038) 0:00:16.143 ********* included: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml for /cache/rhel-6.qcow2.snap TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure metric log location is configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:4 Thursday 07 July 2022 18:30:46 +0000 (0:00:00.048) 0:00:16.191 ********* ok: [/cache/rhel-6.qcow2.snap] => { "backup": "", "changed": false } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:13 Thursday 07 July 2022 18:30:46 +0000 (0:00:00.423) 0:00:16.614 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "317bf295f8c0f638af3a572ca4efdce0fb359ef4", "dest": "/etc/sysconfig/pmlogger", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/pmlogger", "secontext": "system_u:object_r:etc_t:s0", "size": 1146, "state": "file", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:20 Thursday 07 July 2022 18:30:47 +0000 (0:00:00.533) 0:00:17.148 ********* NOTIFIED HANDLER /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : restart pmlogger for /cache/rhel-6.qcow2.snap changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "checksum": "a745865951048b89c2dcad5c69c7efded5cc01e9", "dest": "/etc/sysconfig/pmlogger_timers", "gid": 0, "group": "root", "md5sum": "c16c3187dfef77be074262936f673a79", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 956, "src": "/root/.ansible/tmp/ansible-tmp-1657218647.5451221-106756-8476183736450/source", "state": "file", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric logging for targeted hosts (with control.d)] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:28 Thursday 07 July 2022 18:30:48 +0000 (0:00:00.703) 0:00:17.851 ********* TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric logging for targeted hosts (single control)] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:40 Thursday 07 July 2022 18:30:48 +0000 (0:00:00.034) 0:00:17.886 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmlogger restart if needed] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:50 Thursday 07 July 2022 18:30:48 +0000 (0:00:00.034) 0:00:17.920 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmlogger": true }, "changed": false } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is running and enabled on boot] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:60 Thursday 07 July 2022 18:30:48 +0000 (0:00:00.038) 0:00:17.959 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is restarted and enabled on boot] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:67 Thursday 07 July 2022 18:30:48 +0000 (0:00:00.033) 0:00:17.992 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "enabled": true, "name": "pmlogger", "state": "started" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:34 Thursday 07 July 2022 18:30:49 +0000 (0:00:01.489) 0:00:19.482 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Setup metric graphing service.] ****************************************** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:87 Thursday 07 July 2022 18:30:49 +0000 (0:00:00.044) 0:00:19.527 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Check basic services and the retention] ********************************** task path: /tmp/tmp5aixmznd/tests/tests_sanity_retention.yml:18 Thursday 07 July 2022 18:30:49 +0000 (0:00:00.041) 0:00:19.568 ********* included: /tmp/tmp5aixmznd/tests/check_pcp.yml for /cache/rhel-6.qcow2.snap => (item=check_pcp.yml) included: /tmp/tmp5aixmznd/tests/check_pmlogger.yml for /cache/rhel-6.qcow2.snap => (item=check_pmlogger.yml) included: /tmp/tmp5aixmznd/tests/check_pmie.yml for /cache/rhel-6.qcow2.snap => (item=check_pmie.yml) included: /tmp/tmp5aixmznd/tests/check_retention.yml for /cache/rhel-6.qcow2.snap => (item=check_retention.yml) TASK [Check if PCP works] ****************************************************** task path: /tmp/tmp5aixmznd/tests/check_pcp.yml:3 Thursday 07 July 2022 18:30:49 +0000 (0:00:00.039) 0:00:19.608 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "pcp" ], "delta": "0:00:00.071726", "end": "2022-07-07 14:30:50.079367", "rc": 0, "start": "2022-07-07 14:30:50.007641" } STDOUT: Performance Co-Pilot configuration on ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com: platform: Linux ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com 2.6.32-754.el6.x86_64 #1 SMP Thu May 24 18:18:25 EDT 2018 x86_64 hardware: 4 cpus, 3 disks, 1 node, 2005MB RAM timezone: EDT+4 services: pmcd pmproxy pmcd: Version 3.10.9-1, 7 agents, 1 client pmda: root pmcd proc xfs linux mmv jbd2 pmie: ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com: /var/log/pcp/pmie/ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com/pmie.log TASK [Check if pmlogger is running] ******************************************** task path: /tmp/tmp5aixmznd/tests/check_pmlogger.yml:3 Thursday 07 July 2022 18:30:50 +0000 (0:00:00.345) 0:00:19.954 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmp5aixmznd/tests/check_pmlogger.yml:9 Thursday 07 July 2022 18:30:50 +0000 (0:00:00.034) 0:00:19.989 ********* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmp5aixmznd/tests/check_header.yml for /cache/rhel-6.qcow2.snap => (item=/etc/sysconfig/pmlogger) included: /tmp/tmp5aixmznd/tests/check_header.yml for /cache/rhel-6.qcow2.snap => (item=/etc/sysconfig/pmlogger_timers) TASK [Grep the ansible_managed header in /etc/sysconfig/pmlogger] ************** task path: /tmp/tmp5aixmznd/tests/check_header.yml:3 Thursday 07 July 2022 18:30:50 +0000 (0:00:00.038) 0:00:20.028 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger" ], "delta": "0:00:00.003090", "end": "2022-07-07 14:30:50.428440", "rc": 0, "start": "2022-07-07 14:30:50.425350" } STDOUT: # Ansible managed TASK [Grep the ansible_managed header in /etc/sysconfig/pmlogger_timers] ******* task path: /tmp/tmp5aixmznd/tests/check_header.yml:3 Thursday 07 July 2022 18:30:50 +0000 (0:00:00.275) 0:00:20.303 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger_timers" ], "delta": "0:00:00.003253", "end": "2022-07-07 14:30:50.702296", "rc": 0, "start": "2022-07-07 14:30:50.699043" } STDOUT: # Ansible managed TASK [Check if primary pmie is running] **************************************** task path: /tmp/tmp5aixmznd/tests/check_pmie.yml:3 Thursday 07 July 2022 18:30:50 +0000 (0:00:00.274) 0:00:20.577 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if retention period is set] **************************************** task path: /tmp/tmp5aixmznd/tests/check_retention.yml:4 Thursday 07 July 2022 18:30:50 +0000 (0:00:00.034) 0:00:20.612 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "-e", "--discard 137", "/etc/sysconfig/pmlogger_timers" ], "delta": "0:00:00.003007", "end": "2022-07-07 14:30:51.007051", "rc": 0, "start": "2022-07-07 14:30:51.004044" } STDOUT: PMLOGGER_DAILY_PARAMS="--discard 137" RUNNING HANDLER [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : restart pmlogger] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/handlers/main.yml:19 Thursday 07 July 2022 18:30:51 +0000 (0:00:00.298) 0:00:20.911 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "name": "pmlogger", "state": "started" } META: ran handlers TASK [Get final state of services] ********************************************* task path: /tmp/tmp5aixmznd/tests/restore_services_state.yml:3 Thursday 07 July 2022 18:30:52 +0000 (0:00:01.509) 0:00:22.420 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "services": { "acpid": { "name": "acpid", "source": "sysv", "state": "running", "status": "enabled" }, "auditd": { "name": "auditd", "source": "sysv", "state": "running", "status": "enabled" }, "blk-availability": { "name": "blk-availability", "source": "sysv", "state": "running", "status": "enabled" }, "cgconfig": { "name": "cgconfig", "source": "sysv", "state": "stopped", "status": "disabled" }, "cgred": { "name": "cgred", "source": "sysv", "state": "stopped", "status": "disabled" }, "cloud-config": { "name": "cloud-config", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-final": { "name": "cloud-final", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init": { "name": "cloud-init", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init-local": { "name": "cloud-init-local", "source": "sysv", "state": "stopped", "status": "enabled" }, "crond": { "name": "crond", "source": "sysv", "state": "running", "status": "enabled" }, "ip6tables": { "name": "ip6tables", "source": "sysv", "state": "stopped", "status": "enabled" }, "iptables": { "name": "iptables", "source": "sysv", "state": "stopped", "status": "enabled" }, "kdump": { "name": "kdump", "source": "sysv", "state": "stopped", "status": "disabled" }, "ktune": { "name": "ktune", "source": "sysv", "state": "running", "status": "enabled" }, "mdmonitor": { "name": "mdmonitor", "source": "sysv", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "netfs": { "name": "netfs", "source": "sysv", "state": "running", "status": "enabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "nfs": { "name": "nfs", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfs-rdma": { "name": "nfs-rdma", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfslock": { "name": "nfslock", "source": "sysv", "state": "running", "status": "enabled" }, "ovirt-guest-agent": { "name": "ovirt-guest-agent", "source": "sysv", "state": "stopped", "status": "enabled" }, "pmcd": { "name": "pmcd", "source": "sysv", "state": "running", "status": "enabled" }, "pmie": { "name": "pmie", "source": "sysv", "state": "running", "status": "enabled" }, "pmlogger": { "name": "pmlogger", "source": "sysv", "state": "running", "status": "enabled" }, "pmproxy": { "name": "pmproxy", "source": "sysv", "state": "running", "status": "disabled" }, "qemu-ga": { "name": "qemu-ga", "source": "sysv", "state": "stopped", "status": "enabled" }, "rdisc": { "name": "rdisc", "source": "sysv", "state": "stopped", "status": "disabled" }, "rdma": { "name": "rdma", "source": "sysv", "state": "running", "status": "enabled" }, "restorecond": { "name": "restorecond", "source": "sysv", "state": "stopped", "status": "disabled" }, "rhnsd": { "name": "rhnsd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rhsmcertd": { "name": "rhsmcertd", "source": "sysv", "state": "running", "status": "enabled" }, "rpcbind": { "name": "rpcbind", "source": "sysv", "state": "running", "status": "enabled" }, "rpcgssd": { "name": "rpcgssd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rpcsvcgssd": { "name": "rpcsvcgssd", "source": "sysv", "state": "stopped", "status": "disabled" }, "rsyslog": { "name": "rsyslog", "source": "sysv", "state": "running", "status": "enabled" }, "saslauthd": { "name": "saslauthd", "source": "sysv", "state": "stopped", "status": "disabled" }, "sendmail": { "name": "sendmail", "source": "sysv", "state": "running", "status": "enabled" }, "sshd": { "name": "sshd", "source": "sysv", "state": "running", "status": "enabled" }, "tuned": { "name": "tuned", "source": "sysv", "state": "running", "status": "enabled" }, "udev-post": { "name": "udev-post", "source": "sysv", "state": "running", "status": "enabled" } } }, "changed": false } TASK [Restore state of services] *********************************************** task path: /tmp/tmp5aixmznd/tests/restore_services_state.yml:9 Thursday 07 July 2022 18:30:54 +0000 (0:00:01.567) 0:00:23.988 ********* skipping: [/cache/rhel-6.qcow2.snap] => (item=pmcd) => { "ansible_loop_var": "item", "changed": false, "item": "pmcd", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=pmlogger) => { "ansible_loop_var": "item", "changed": false, "item": "pmlogger", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=pmie) => { "ansible_loop_var": "item", "changed": false, "item": "pmie", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=pmproxy) => { "ansible_loop_var": "item", "changed": false, "item": "pmproxy", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=redis) => { "ansible_loop_var": "item", "changed": false, "item": "redis", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=grafana-server) => { "ansible_loop_var": "item", "changed": false, "item": "grafana-server", "skip_reason": "Conditional result was False" } META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=44 changed=7 unreachable=0 failed=0 skipped=23 rescued=0 ignored=0 Thursday 07 July 2022 18:30:54 +0000 (0:00:00.039) 0:00:24.028 ********* =============================================================================== /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts --- 2.51s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 Get initial state of services ------------------------------------------- 1.77s /tmp/tmp5aixmznd/tests/get_services_state.yml:3 ------------------------------- /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra rules symlinks have been created for targeted hosts --- 1.59s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 Get final state of services --------------------------------------------- 1.57s /tmp/tmp5aixmznd/tests/restore_services_state.yml:3 --------------------------- /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : restart pmlogger --- 1.51s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/handlers/main.yml:19 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is restarted and enabled on boot --- 1.49s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:67 Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmp5aixmznd/tests/tests_sanity_retention.yml:3 --------------------------- /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist --- 1.01s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist --- 0.96s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set --- 0.70s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:20 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages --- 0.66s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:15 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured --- 0.66s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured --- 0.56s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is configured --- 0.53s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:13 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured --- 0.53s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is running and enabled on boot --- 0.52s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:114 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured --- 0.50s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:83 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages --- 0.50s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:20 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists --- 0.48s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured --- 0.48s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpvo81nsdl executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /tmp/tmp8nxucwzp/tests/metrics/get_services_state.yml statically imported: /tmp/tmp8nxucwzp/tests/metrics/restore_services_state.yml Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_sanity_retention.yml ******************************************* 1 plays in /tmp/tmp8nxucwzp/tests/metrics/tests_sanity_retention.yml PLAY [Test configuration of retention period] ********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp8nxucwzp/tests/metrics/tests_sanity_retention.yml:3 Thursday 07 July 2022 18:32:20 +0000 (0:00:00.013) 0:00:00.013 ********* [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/rhel-6.qcow2.snap] TASK [Get initial state of services] ******************************************* task path: /tmp/tmp8nxucwzp/tests/metrics/get_services_state.yml:3 Thursday 07 July 2022 18:32:21 +0000 (0:00:00.988) 0:00:01.002 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "services": { "acpid": { "name": "acpid", "source": "sysv", "state": "running", "status": "enabled" }, "auditd": { "name": "auditd", "source": "sysv", "state": "running", "status": "enabled" }, "blk-availability": { "name": "blk-availability", "source": "sysv", "state": "running", "status": "enabled" }, "cgconfig": { "name": "cgconfig", "source": "sysv", "state": "stopped", "status": "disabled" }, "cgred": { "name": "cgred", "source": "sysv", "state": "stopped", "status": "disabled" }, "cloud-config": { "name": "cloud-config", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-final": { "name": "cloud-final", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init": { "name": "cloud-init", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init-local": { "name": "cloud-init-local", "source": "sysv", "state": "stopped", "status": "enabled" }, "crond": { "name": "crond", "source": "sysv", "state": "running", "status": "enabled" }, "ip6tables": { "name": "ip6tables", "source": "sysv", "state": "stopped", "status": "enabled" }, "iptables": { "name": "iptables", "source": "sysv", "state": "stopped", "status": "enabled" }, "kdump": { "name": "kdump", "source": "sysv", "state": "stopped", "status": "disabled" }, "ktune": { "name": "ktune", "source": "sysv", "state": "running", "status": "enabled" }, "mdmonitor": { "name": "mdmonitor", "source": "sysv", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "netfs": { "name": "netfs", "source": "sysv", "state": "running", "status": "enabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "nfs": { "name": "nfs", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfs-rdma": { "name": "nfs-rdma", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfslock": { "name": "nfslock", "source": "sysv", "state": "running", "status": "enabled" }, "ovirt-guest-agent": { "name": "ovirt-guest-agent", "source": "sysv", "state": "stopped", "status": "enabled" }, "pmcd": { "name": "pmcd", "source": "sysv", "state": "running", "status": "enabled" }, "pmie": { "name": "pmie", "source": "sysv", "state": "running", "status": "enabled" }, "pmlogger": { "name": "pmlogger", "source": "sysv", "state": "running", "status": "enabled" }, "pmproxy": { "name": "pmproxy", "source": "sysv", "state": "running", "status": "disabled" }, "qemu-ga": { "name": "qemu-ga", "source": "sysv", "state": "stopped", "status": "enabled" }, "rdisc": { "name": "rdisc", "source": "sysv", "state": "stopped", "status": "disabled" }, "rdma": { "name": "rdma", "source": "sysv", "state": "running", "status": "enabled" }, "restorecond": { "name": "restorecond", "source": "sysv", "state": "stopped", "status": "disabled" }, "rhnsd": { "name": "rhnsd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rhsmcertd": { "name": "rhsmcertd", "source": "sysv", "state": "running", "status": "enabled" }, "rpcbind": { "name": "rpcbind", "source": "sysv", "state": "running", "status": "enabled" }, "rpcgssd": { "name": "rpcgssd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rpcsvcgssd": { "name": "rpcsvcgssd", "source": "sysv", "state": "stopped", "status": "disabled" }, "rsyslog": { "name": "rsyslog", "source": "sysv", "state": "running", "status": "enabled" }, "saslauthd": { "name": "saslauthd", "source": "sysv", "state": "stopped", "status": "disabled" }, "sendmail": { "name": "sendmail", "source": "sysv", "state": "running", "status": "enabled" }, "sshd": { "name": "sshd", "source": "sysv", "state": "running", "status": "enabled" }, "tuned": { "name": "tuned", "source": "sysv", "state": "running", "status": "enabled" }, "udev-post": { "name": "udev-post", "source": "sysv", "state": "running", "status": "enabled" } } }, "changed": false } META: ran handlers TASK [fedora.linux_system_roles.metrics : Add Elasticsearch to metrics domain list] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:4 Thursday 07 July 2022 18:32:23 +0000 (0:00:01.674) 0:00:02.676 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Add SQL Server to metrics domain list] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:9 Thursday 07 July 2022 18:32:23 +0000 (0:00:00.036) 0:00:02.712 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Add Postfix to metrics domain list] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:14 Thursday 07 July 2022 18:32:23 +0000 (0:00:00.033) 0:00:02.746 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Add bpftrace to metrics domain list] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:19 Thursday 07 July 2022 18:32:23 +0000 (0:00:00.038) 0:00:02.784 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Setup metrics access for roles] ****** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:24 Thursday 07 July 2022 18:32:23 +0000 (0:00:00.034) 0:00:02.818 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "__metrics_accounts": [ { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" } ] }, "changed": false } TASK [Configure Elasticsearch metrics] ***************************************** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:31 Thursday 07 July 2022 18:32:23 +0000 (0:00:00.048) 0:00:02.867 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure SQL Server metrics.] ******************************************* task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:45 Thursday 07 July 2022 18:32:23 +0000 (0:00:00.031) 0:00:02.898 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure Postfix metrics.] ********************************************** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:52 Thursday 07 July 2022 18:32:23 +0000 (0:00:00.035) 0:00:02.934 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup bpftrace metrics.] ************************************************* task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:59 Thursday 07 July 2022 18:32:23 +0000 (0:00:00.032) 0:00:02.967 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric querying service.] ****************************************** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:67 Thursday 07 July 2022 18:32:23 +0000 (0:00:00.035) 0:00:03.002 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric collection service.] **************************************** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:74 Thursday 07 July 2022 18:32:23 +0000 (0:00:00.036) 0:00:03.038 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Set platform/version specific variables] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:4 Thursday 07 July 2022 18:32:23 +0000 (0:00:00.047) 0:00:03.086 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml" } ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml) => { "ansible_facts": { "__pcp_pmcd_defaults_path": "/etc/sysconfig/pmcd", "__pcp_pmlogger_defaults_path": "/etc/sysconfig/pmlogger", "__pcp_pmlogger_timers_path": "/etc/sysconfig/pmlogger_timers", "__pcp_pmproxy_defaults_path": "/etc/sysconfig/pmproxy" }, "ansible_included_var_files": [ "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" } ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml) => { "ansible_facts": { "__pcp_pmcd_defaults_path": "/etc/sysconfig/pmcd", "__pcp_pmlogger_defaults_path": "/etc/sysconfig/pmlogger", "__pcp_pmlogger_timers_path": "/etc/sysconfig/pmlogger_timers", "__pcp_pmproxy_defaults_path": "/etc/sysconfig/pmproxy" }, "ansible_included_var_files": [ "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" } ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_6.yml) => { "ansible_facts": { "__pcp_packages_extra": [ "pcp-pmda-dm", "pcp-pmda-nfsclient", "pcp-system-tools" ], "__pcp_sasl_mechlist": "digest-md5", "__pcp_sasl_packages": [ "cyrus-sasl-lib", "cyrus-sasl-md5" ] }, "ansible_included_var_files": [ "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_6.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_6.yml" } skipping: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_6.10.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_6.10.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Install Performance Co-Pilot packages] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:15 Thursday 07 July 2022 18:32:23 +0000 (0:00:00.080) 0:00:03.167 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "pcp-3.10.9-9.el6.x86_64 providing pcp is already installed", "pcp-pmda-dm-3.10.9-9.el6.x86_64 providing pcp-pmda-dm is already installed", "pcp-pmda-nfsclient-3.10.9-9.el6.x86_64 providing pcp-pmda-nfsclient is already installed", "pcp-system-tools-3.10.9-9.el6.x86_64 providing pcp-system-tools is already installed" ] } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Install authentication packages] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:20 Thursday 07 July 2022 18:32:24 +0000 (0:00:00.649) 0:00:03.816 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64 providing cyrus-sasl-lib is already installed", "cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64 providing cyrus-sasl-md5 is already installed" ] } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:28 Thursday 07 July 2022 18:32:25 +0000 (0:00:00.592) 0:00:04.409 ********* included: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : List optional metric collection agents to be enabled] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:4 Thursday 07 July 2022 18:32:25 +0000 (0:00:00.053) 0:00:04.462 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Extract metric collection configuration file content] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:9 Thursday 07 July 2022 18:32:25 +0000 (0:00:00.038) 0:00:04.501 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:00.002987", "end": "2022-07-07 14:32:25.761302", "rc": 0, "start": "2022-07-07 14:32:25.758315" } STDOUT: # Performance Metrics Domain Specifications # # This file is automatically generated during the build # Name Id IPC IPC Params File/Cmd root 1 pipe binary /var/lib/pcp/pmdas/root/pmdaroot pmcd 2 dso pmcd_init /var/lib/pcp/pmdas/pmcd/pmda_pmcd.so proc 3 pipe binary /var/lib/pcp/pmdas/proc/pmdaproc -d 3 xfs 11 pipe binary /var/lib/pcp/pmdas/xfs/pmdaxfs -d 11 linux 60 pipe binary /var/lib/pcp/pmdas/linux/pmdalinux mmv 70 dso mmv_init /var/lib/pcp/pmdas/mmv/pmda_mmv.so jbd2 122 dso jbd2_init /var/lib/pcp/pmdas/jbd2/pmda_jbd2.so [access] disallow ".*" : store; disallow ":*" : store; allow "local:*" : all; TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure optional metric collection agents are enabled] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:14 Thursday 07 July 2022 18:32:25 +0000 (0:00:00.415) 0:00:04.916 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure explicit metric label path exists] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:23 Thursday 07 July 2022 18:32:25 +0000 (0:00:00.033) 0:00:04.950 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure implicit metric label path exists] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:31 Thursday 07 July 2022 18:32:26 +0000 (0:00:00.464) 0:00:05.415 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels/optional", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any explicit metric labels are configured] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:39 Thursday 07 July 2022 18:32:26 +0000 (0:00:00.325) 0:00:05.740 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "5f36b2ea290645ee34d943220a14b54ee5ea5be5", "dest": "/etc/pcp/labels/ansible-managed", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/pcp/labels/ansible-managed", "secontext": "system_u:object_r:etc_t:s0", "size": 3, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any implicit metric labels are configured] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:46 Thursday 07 July 2022 18:32:27 +0000 (0:00:00.612) 0:00:06.353 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "5f36b2ea290645ee34d943220a14b54ee5ea5be5", "dest": "/etc/pcp/labels/optional/ansible-managed", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/pcp/labels/optional/ansible-managed", "secontext": "system_u:object_r:etc_t:s0", "size": 3, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is configured] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:53 Thursday 07 July 2022 18:32:27 +0000 (0:00:00.528) 0:00:06.882 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "4663db2c59d908d774b1dce1477898cd60e40aa3", "dest": "/etc/sysconfig/pmcd", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/pmcd", "secontext": "system_u:object_r:etc_t:s0", "size": 1593, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector system accounts are configured] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:60 Thursday 07 July 2022 18:32:28 +0000 (0:00:00.539) 0:00:07.421 ********* ok: [/cache/rhel-6.qcow2.snap] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "append": false, "changed": false, "comment": "", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "group": 497, "home": "/home/metrics", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "move_home": false, "name": "metrics", "shell": "/bin/bash", "state": "present", "uid": 497 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector SASL accounts are configured] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:68 Thursday 07 July 2022 18:32:28 +0000 (0:00:00.474) 0:00:07.895 ********* ok: [/cache/rhel-6.qcow2.snap] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\nif ! sasldblistusers2 -f \"/etc/pcp/passwd.db\" | grep -q \"^metrics@\"; then\n echo \"Creating new metrics user in /etc/pcp/passwd.db\"\n echo \"metrics\" | saslpasswd2 -a pmcd \"metrics\"\n chown root:pcp \"/etc/pcp/passwd.db\"\n chmod 640 \"/etc/pcp/passwd.db\"\nfi\n", "delta": "0:00:00.005789", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-07-07 14:32:29.013450", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2022-07-07 14:32:29.007661" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector authentication is configured] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:83 Thursday 07 July 2022 18:32:28 +0000 (0:00:00.275) 0:00:08.171 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "7033a0e76d02f828ac19ff1b5e1c832d45eae84b", "dest": "/etc/sasl2/pmcd.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sasl2/pmcd.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 961, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Set variable to do pmcd restart if needed] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:91 Thursday 07 July 2022 18:32:29 +0000 (0:00:00.526) 0:00:08.697 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmcd": false }, "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Report performance metric collector restart state] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:96 Thursday 07 July 2022 18:32:29 +0000 (0:00:00.037) 0:00:08.735 ********* ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ['optional_agents: False', 'explicit_labels: False', 'implicit_labels: False', 'defaults_config: False', 'authentication: False', 'restart_pmcd: False'] TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is running and enabled on boot] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:107 Thursday 07 July 2022 18:32:29 +0000 (0:00:00.052) 0:00:08.787 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "enabled": true, "name": "pmcd", "state": "started" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is restarted and enabled on boot] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:114 Thursday 07 July 2022 18:32:30 +0000 (0:00:00.540) 0:00:09.327 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:30 Thursday 07 July 2022 18:32:30 +0000 (0:00:00.035) 0:00:09.363 ********* included: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group directories exist] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:4 Thursday 07 July 2022 18:32:30 +0000 (0:00:00.044) 0:00:09.407 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "network", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/network", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=power) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "power", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/power", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "zeroconf", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/zeroconf", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group link directories exist] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:14 Thursday 07 July 2022 18:32:31 +0000 (0:00:00.992) 0:00:10.399 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "network", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/network", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=power) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "power", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/power", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "zeroconf", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/zeroconf", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rules are installed for targeted hosts] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:24 Thursday 07 July 2022 18:32:32 +0000 (0:00:01.003) 0:00:11.403 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": false, "checksum": "608d8a6ac6ee33bb86b77d28ba24fbcd378db43d", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/etc/pcp/pmieconf/network/tcplistenoverflows", "gid": 0, "group": "root", "item": "network/tcplistenoverflows", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/network/tcplistenoverflows", "secontext": "system_u:object_r:etc_t:s0", "size": 971, "state": "file", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": false, "checksum": "3256a5c2e8d07a20d8e97a08c0ab163252b0beae", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "gid": 0, "group": "root", "item": "network/tcpqfulldocookies", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "secontext": "system_u:object_r:etc_t:s0", "size": 1131, "state": "file", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": false, "checksum": "37b2bd7f2430bd9678ab078c5e69a53bea556524", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/etc/pcp/pmieconf/network/tcpqfulldrops", "gid": 0, "group": "root", "item": "network/tcpqfulldrops", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/network/tcpqfulldrops", "secontext": "system_u:object_r:etc_t:s0", "size": 1129, "state": "file", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": false, "checksum": "1d53d6182709617c8f633339652d8d9e75f3b603", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/etc/pcp/pmieconf/power/thermal_throttle", "gid": 0, "group": "root", "item": "power/thermal_throttle", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/power/thermal_throttle", "secontext": "system_u:object_r:etc_t:s0", "size": 1153, "state": "file", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": false, "checksum": "65169db16dcaa224c211373001adc3addf1031c4", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/etc/pcp/pmieconf/zeroconf/all_threads", "gid": 0, "group": "root", "item": "zeroconf/all_threads", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/zeroconf/all_threads", "secontext": "system_u:object_r:etc_t:s0", "size": 840, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra rules symlinks have been created for targeted hosts] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:34 Thursday 07 July 2022 18:32:34 +0000 (0:00:02.435) 0:00:13.839 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/var/lib/pcp/config/pmieconf/network/tcplistenoverflows", "gid": 0, "group": "root", "item": "network/tcplistenoverflows", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 44, "src": "/etc/pcp/pmieconf/network/tcplistenoverflows", "state": "link", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/var/lib/pcp/config/pmieconf/network/tcpqfulldocookies", "gid": 0, "group": "root", "item": "network/tcpqfulldocookies", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 43, "src": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "state": "link", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/var/lib/pcp/config/pmieconf/network/tcpqfulldrops", "gid": 0, "group": "root", "item": "network/tcpqfulldrops", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 39, "src": "/etc/pcp/pmieconf/network/tcpqfulldrops", "state": "link", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/var/lib/pcp/config/pmieconf/power/thermal_throttle", "gid": 0, "group": "root", "item": "power/thermal_throttle", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 40, "src": "/etc/pcp/pmieconf/power/thermal_throttle", "state": "link", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "dest": "/var/lib/pcp/config/pmieconf/zeroconf/all_threads", "gid": 0, "group": "root", "item": "zeroconf/all_threads", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 38, "src": "/etc/pcp/pmieconf/zeroconf/all_threads", "state": "link", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric inference for targeted hosts (with control.d)] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:43 Thursday 07 July 2022 18:32:36 +0000 (0:00:01.618) 0:00:15.457 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric inference for targeted hosts (single control)] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:54 Thursday 07 July 2022 18:32:36 +0000 (0:00:00.036) 0:00:15.494 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Set variable to do pmie restart if needed] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:64 Thursday 07 July 2022 18:32:36 +0000 (0:00:00.036) 0:00:15.530 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmie": false }, "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric inference is running and enabled on boot] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:68 Thursday 07 July 2022 18:32:36 +0000 (0:00:00.041) 0:00:15.572 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "enabled": true, "name": "pmie", "state": "started" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric inference is restarted and enabled on boot] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:75 Thursday 07 July 2022 18:32:36 +0000 (0:00:00.364) 0:00:15.936 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:32 Thursday 07 July 2022 18:32:36 +0000 (0:00:00.036) 0:00:15.973 ********* included: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure metric log location is configured] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:4 Thursday 07 July 2022 18:32:36 +0000 (0:00:00.044) 0:00:16.017 ********* ok: [/cache/rhel-6.qcow2.snap] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is configured] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:13 Thursday 07 July 2022 18:32:37 +0000 (0:00:00.461) 0:00:16.479 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "317bf295f8c0f638af3a572ca4efdce0fb359ef4", "dest": "/etc/sysconfig/pmlogger", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/pmlogger", "secontext": "system_u:object_r:etc_t:s0", "size": 1146, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging retention period is set] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:20 Thursday 07 July 2022 18:32:37 +0000 (0:00:00.526) 0:00:17.005 ********* NOTIFIED HANDLER fedora.linux_system_roles.private_metrics_subrole_pcp : restart pmlogger for /cache/rhel-6.qcow2.snap changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "checksum": "a745865951048b89c2dcad5c69c7efded5cc01e9", "dest": "/etc/sysconfig/pmlogger_timers", "gid": 0, "group": "root", "md5sum": "c16c3187dfef77be074262936f673a79", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 956, "src": "/root/.ansible/tmp/ansible-tmp-1657218757.8799658-109407-240101485642476/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric logging for targeted hosts (with control.d)] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:28 Thursday 07 July 2022 18:32:38 +0000 (0:00:00.675) 0:00:17.681 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric logging for targeted hosts (single control)] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:40 Thursday 07 July 2022 18:32:38 +0000 (0:00:00.036) 0:00:17.717 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Set variable to do pmlogger restart if needed] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:50 Thursday 07 July 2022 18:32:38 +0000 (0:00:00.036) 0:00:17.754 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmlogger": true }, "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is running and enabled on boot] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:54 Thursday 07 July 2022 18:32:38 +0000 (0:00:00.039) 0:00:17.794 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is restarted and enabled on boot] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:61 Thursday 07 July 2022 18:32:38 +0000 (0:00:00.033) 0:00:17.828 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "enabled": true, "name": "pmlogger", "state": "started" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:34 Thursday 07 July 2022 18:32:40 +0000 (0:00:01.498) 0:00:19.327 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Setup metric graphing service.] ****************************************** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:85 Thursday 07 July 2022 18:32:40 +0000 (0:00:00.044) 0:00:19.372 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Check basic services and the retention] ********************************** task path: /tmp/tmp8nxucwzp/tests/metrics/tests_sanity_retention.yml:18 Thursday 07 July 2022 18:32:40 +0000 (0:00:00.044) 0:00:19.416 ********* included: /tmp/tmp8nxucwzp/tests/metrics/check_pcp.yml for /cache/rhel-6.qcow2.snap => (item=check_pcp.yml) included: /tmp/tmp8nxucwzp/tests/metrics/check_pmlogger.yml for /cache/rhel-6.qcow2.snap => (item=check_pmlogger.yml) included: /tmp/tmp8nxucwzp/tests/metrics/check_pmie.yml for /cache/rhel-6.qcow2.snap => (item=check_pmie.yml) included: /tmp/tmp8nxucwzp/tests/metrics/check_retention.yml for /cache/rhel-6.qcow2.snap => (item=check_retention.yml) TASK [Check if PCP works] ****************************************************** task path: /tmp/tmp8nxucwzp/tests/metrics/check_pcp.yml:3 Thursday 07 July 2022 18:32:40 +0000 (0:00:00.045) 0:00:19.462 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "pcp" ], "delta": "0:00:00.071944", "end": "2022-07-07 14:32:40.639565", "rc": 0, "start": "2022-07-07 14:32:40.567621" } STDOUT: Performance Co-Pilot configuration on ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com: platform: Linux ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com 2.6.32-754.el6.x86_64 #1 SMP Thu May 24 18:18:25 EDT 2018 x86_64 hardware: 4 cpus, 3 disks, 1 node, 2005MB RAM timezone: EDT+4 services: pmcd pmproxy pmcd: Version 3.10.9-1, 7 agents, 1 client pmda: root pmcd proc xfs linux mmv jbd2 pmie: ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com: /var/log/pcp/pmie/ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com/pmie.log TASK [Check if pmlogger is running] ******************************************** task path: /tmp/tmp8nxucwzp/tests/metrics/check_pmlogger.yml:3 Thursday 07 July 2022 18:32:40 +0000 (0:00:00.337) 0:00:19.799 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmp8nxucwzp/tests/metrics/check_pmlogger.yml:7 Thursday 07 July 2022 18:32:40 +0000 (0:00:00.036) 0:00:19.835 ********* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmp8nxucwzp/tests/metrics/check_header.yml for /cache/rhel-6.qcow2.snap => (item=/etc/sysconfig/pmlogger) included: /tmp/tmp8nxucwzp/tests/metrics/check_header.yml for /cache/rhel-6.qcow2.snap => (item=/etc/sysconfig/pmlogger_timers) TASK [Grep the ansible_managed header in /etc/sysconfig/pmlogger] ************** task path: /tmp/tmp8nxucwzp/tests/metrics/check_header.yml:3 Thursday 07 July 2022 18:32:40 +0000 (0:00:00.038) 0:00:19.874 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger" ], "delta": "0:00:00.002784", "end": "2022-07-07 14:32:41.015778", "rc": 0, "start": "2022-07-07 14:32:41.012994" } STDOUT: # Ansible managed TASK [Grep the ansible_managed header in /etc/sysconfig/pmlogger_timers] ******* task path: /tmp/tmp8nxucwzp/tests/metrics/check_header.yml:3 Thursday 07 July 2022 18:32:40 +0000 (0:00:00.297) 0:00:20.171 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger_timers" ], "delta": "0:00:00.003149", "end": "2022-07-07 14:32:41.289101", "rc": 0, "start": "2022-07-07 14:32:41.285952" } STDOUT: # Ansible managed TASK [Check if primary pmie is running] **************************************** task path: /tmp/tmp8nxucwzp/tests/metrics/check_pmie.yml:3 Thursday 07 July 2022 18:32:41 +0000 (0:00:00.274) 0:00:20.446 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if retention period is set] **************************************** task path: /tmp/tmp8nxucwzp/tests/metrics/check_retention.yml:4 Thursday 07 July 2022 18:32:41 +0000 (0:00:00.038) 0:00:20.484 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "-e", "--discard 137", "/etc/sysconfig/pmlogger_timers" ], "delta": "0:00:00.002713", "end": "2022-07-07 14:32:41.601985", "rc": 0, "start": "2022-07-07 14:32:41.599272" } STDOUT: PMLOGGER_DAILY_PARAMS="--discard 137" RUNNING HANDLER [fedora.linux_system_roles.private_metrics_subrole_pcp : restart pmlogger] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/handlers/main.yml:19 Thursday 07 July 2022 18:32:41 +0000 (0:00:00.273) 0:00:20.757 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "name": "pmlogger", "state": "started" } META: ran handlers TASK [Get final state of services] ********************************************* task path: /tmp/tmp8nxucwzp/tests/metrics/restore_services_state.yml:3 Thursday 07 July 2022 18:32:43 +0000 (0:00:01.480) 0:00:22.238 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "services": { "acpid": { "name": "acpid", "source": "sysv", "state": "running", "status": "enabled" }, "auditd": { "name": "auditd", "source": "sysv", "state": "running", "status": "enabled" }, "blk-availability": { "name": "blk-availability", "source": "sysv", "state": "running", "status": "enabled" }, "cgconfig": { "name": "cgconfig", "source": "sysv", "state": "stopped", "status": "disabled" }, "cgred": { "name": "cgred", "source": "sysv", "state": "stopped", "status": "disabled" }, "cloud-config": { "name": "cloud-config", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-final": { "name": "cloud-final", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init": { "name": "cloud-init", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init-local": { "name": "cloud-init-local", "source": "sysv", "state": "stopped", "status": "enabled" }, "crond": { "name": "crond", "source": "sysv", "state": "running", "status": "enabled" }, "ip6tables": { "name": "ip6tables", "source": "sysv", "state": "stopped", "status": "enabled" }, "iptables": { "name": "iptables", "source": "sysv", "state": "stopped", "status": "enabled" }, "kdump": { "name": "kdump", "source": "sysv", "state": "stopped", "status": "disabled" }, "ktune": { "name": "ktune", "source": "sysv", "state": "running", "status": "enabled" }, "mdmonitor": { "name": "mdmonitor", "source": "sysv", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "netfs": { "name": "netfs", "source": "sysv", "state": "running", "status": "enabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "nfs": { "name": "nfs", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfs-rdma": { "name": "nfs-rdma", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfslock": { "name": "nfslock", "source": "sysv", "state": "running", "status": "enabled" }, "ovirt-guest-agent": { "name": "ovirt-guest-agent", "source": "sysv", "state": "stopped", "status": "enabled" }, "pmcd": { "name": "pmcd", "source": "sysv", "state": "running", "status": "enabled" }, "pmie": { "name": "pmie", "source": "sysv", "state": "running", "status": "enabled" }, "pmlogger": { "name": "pmlogger", "source": "sysv", "state": "running", "status": "enabled" }, "pmproxy": { "name": "pmproxy", "source": "sysv", "state": "running", "status": "disabled" }, "qemu-ga": { "name": "qemu-ga", "source": "sysv", "state": "stopped", "status": "enabled" }, "rdisc": { "name": "rdisc", "source": "sysv", "state": "stopped", "status": "disabled" }, "rdma": { "name": "rdma", "source": "sysv", "state": "running", "status": "enabled" }, "restorecond": { "name": "restorecond", "source": "sysv", "state": "stopped", "status": "disabled" }, "rhnsd": { "name": "rhnsd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rhsmcertd": { "name": "rhsmcertd", "source": "sysv", "state": "running", "status": "enabled" }, "rpcbind": { "name": "rpcbind", "source": "sysv", "state": "running", "status": "enabled" }, "rpcgssd": { "name": "rpcgssd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rpcsvcgssd": { "name": "rpcsvcgssd", "source": "sysv", "state": "stopped", "status": "disabled" }, "rsyslog": { "name": "rsyslog", "source": "sysv", "state": "running", "status": "enabled" }, "saslauthd": { "name": "saslauthd", "source": "sysv", "state": "stopped", "status": "disabled" }, "sendmail": { "name": "sendmail", "source": "sysv", "state": "running", "status": "enabled" }, "sshd": { "name": "sshd", "source": "sysv", "state": "running", "status": "enabled" }, "tuned": { "name": "tuned", "source": "sysv", "state": "running", "status": "enabled" }, "udev-post": { "name": "udev-post", "source": "sysv", "state": "running", "status": "enabled" } } }, "changed": false } TASK [Restore state of services] *********************************************** task path: /tmp/tmp8nxucwzp/tests/metrics/restore_services_state.yml:9 Thursday 07 July 2022 18:32:44 +0000 (0:00:01.573) 0:00:23.812 ********* skipping: [/cache/rhel-6.qcow2.snap] => (item=pmcd) => { "ansible_loop_var": "item", "changed": false, "item": "pmcd", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=pmlogger) => { "ansible_loop_var": "item", "changed": false, "item": "pmlogger", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=pmie) => { "ansible_loop_var": "item", "changed": false, "item": "pmie", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=pmproxy) => { "ansible_loop_var": "item", "changed": false, "item": "pmproxy", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=redis) => { "ansible_loop_var": "item", "changed": false, "item": "redis", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=grafana-server) => { "ansible_loop_var": "item", "changed": false, "item": "grafana-server", "skip_reason": "Conditional result was False" } META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=44 changed=7 unreachable=0 failed=0 skipped=23 rescued=0 ignored=0 Thursday 07 July 2022 18:32:44 +0000 (0:00:00.040) 0:00:23.852 ********* =============================================================================== fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rules are installed for targeted hosts --- 2.44s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:24 Get initial state of services ------------------------------------------- 1.67s /tmp/tmp8nxucwzp/tests/metrics/get_services_state.yml:3 ----------------------- fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra rules symlinks have been created for targeted hosts --- 1.62s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:34 Get final state of services --------------------------------------------- 1.57s /tmp/tmp8nxucwzp/tests/metrics/restore_services_state.yml:3 ------------------- fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is restarted and enabled on boot --- 1.50s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:61 fedora.linux_system_roles.private_metrics_subrole_pcp : restart pmlogger --- 1.48s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/handlers/main.yml:19 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group link directories exist --- 1.00s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:14 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group directories exist --- 0.99s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:4 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmp8nxucwzp/tests/metrics/tests_sanity_retention.yml:3 ------------------- fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging retention period is set --- 0.68s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:20 fedora.linux_system_roles.private_metrics_subrole_pcp : Install Performance Co-Pilot packages --- 0.65s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:15 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any explicit metric labels are configured --- 0.61s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:39 fedora.linux_system_roles.private_metrics_subrole_pcp : Install authentication packages --- 0.59s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:20 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is running and enabled on boot --- 0.54s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:107 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is configured --- 0.54s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:53 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any implicit metric labels are configured --- 0.53s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:46 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector authentication is configured --- 0.53s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:83 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is configured --- 0.53s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:13 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector system accounts are configured --- 0.47s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:60 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure explicit metric label path exists --- 0.46s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:23