[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.10] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-RVw executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles statically imported: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/get_services_state.yml statically imported: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/restore_services_state.yml redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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_bz1855539.yml ************************************************** 2 plays in /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/tests_bz1855539.yml PLAY [all] ********************************************************************* TASK [Include vault variables] ************************************************* task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/tests_bz1855539.yml:5 Wednesday 21 August 2024 05:38:49 -0400 (0:00:00.007) 0:00:00.007 ****** ok: [managed_node1] => { "ansible_facts": { "pcptest_pw": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n65343431623161346664373330646165636437656265656632613961363839303132393064663934\n3137396633373562393466633037356533326566343338350a386238333034336162333932313162\n62643937336534356131376134303463306466316433366636643562633637376336653034646334\n3063663466333735390a333330366461386166633233373133326237323663333831653232646566\n3363\n" } }, "ansible_included_var_files": [ "/tmp/metrics-aMb/tests/vars/vault-variables.yml" ], "changed": false } PLAY [Bug 1855539 - metrics role incorrectly sets up multiple primary pmie processes in multi-host mode] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/tests_bz1855539.yml:9 Wednesday 21 August 2024 05:38:49 -0400 (0:00:00.018) 0:00:00.026 ****** ok: [managed_node1] TASK [Stop test] *************************************************************** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/tests_bz1855539.yml:16 Wednesday 21 August 2024 05:38:51 -0400 (0:00:02.121) 0:00:02.147 ****** META: end_host conditional evaluated to False, continuing execution for managed_node1 skipping: [managed_node1] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed_node1" } MSG: end_host conditional evaluated to false, continuing execution for managed_node1 TASK [Get initial state of services] ******************************************* task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/get_services_state.yml:3 Wednesday 21 August 2024 05:38:51 -0400 (0:00:00.024) 0:00:02.172 ****** ok: [managed_node1] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "auto-cpufreq.service": { "name": "auto-cpufreq.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-system-upgrade-cleanup.service": { "name": "dnf-system-upgrade-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "dnf-system-upgrade.service": { "name": "dnf-system-upgrade.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown-onfailure.service": { "name": "dracut-shutdown-onfailure.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "ebtables.service": { "name": "ebtables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iprdump.service": { "name": "iprdump.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprinit.service": { "name": "iprinit.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprupdate.service": { "name": "iprupdate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@efi_pstore.service": { "name": "modprobe@efi_pstore.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nftables.service": { "name": "nftables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-halt.service": { "name": "plymouth-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-kexec.service": { "name": "plymouth-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-poweroff.service": { "name": "plymouth-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-quit.service": { "name": "plymouth-quit.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-read-write.service": { "name": "plymouth-read-write.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-reboot.service": { "name": "plymouth-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-switch-root-initramfs.service": { "name": "plymouth-switch-root-initramfs.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-switch-root.service": { "name": "plymouth-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "power-profiles-daemon.service": { "name": "power-profiles-daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-plymouth.service": { "name": "systemd-ask-password-plymouth.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-coredump@0.service": { "name": "systemd-coredump@0.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tlp.service": { "name": "tlp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [Include role] ************************************************************ task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/tests_bz1855539.yml:26 Wednesday 21 August 2024 05:38:53 -0400 (0:00:01.841) 0:00:04.014 ****** TASK [fedora.linux_system_roles.metrics : Ensure ansible_facts used by role] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:3 Wednesday 21 August 2024 05:38:53 -0400 (0:00:00.050) 0:00:04.065 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "__metrics_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Add Elasticsearch to metrics domain list] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:8 Wednesday 21 August 2024 05:38:53 -0400 (0:00:00.028) 0:00:04.093 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_from_elasticsearch | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Add SQL Server to metrics domain list] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:13 Wednesday 21 August 2024 05:38:53 -0400 (0:00:00.025) 0:00:04.119 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_from_mssql | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Add Postfix to metrics domain list] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:18 Wednesday 21 August 2024 05:38:53 -0400 (0:00:00.023) 0:00:04.142 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_from_postfix | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Add bpftrace to metrics domain list] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:23 Wednesday 21 August 2024 05:38:53 -0400 (0:00:00.023) 0:00:04.166 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_from_bpftrace | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Setup metrics access for roles] ****** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:28 Wednesday 21 August 2024 05:38:53 -0400 (0:00:00.022) 0:00:04.189 ****** ok: [managed_node1] => { "ansible_facts": { "__metrics_accounts": [ { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" } ] }, "changed": false } TASK [Configure Elasticsearch metrics] ***************************************** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:35 Wednesday 21 August 2024 05:38:53 -0400 (0:00:00.034) 0:00:04.223 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_from_elasticsearch | d(false) | bool or metrics_into_elasticsearch | d(false) | bool\n", "skip_reason": "Conditional result was False" } TASK [Configure SQL Server metrics.] ******************************************* task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:50 Wednesday 21 August 2024 05:38:53 -0400 (0:00:00.022) 0:00:04.246 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_from_mssql | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [Configure Postfix metrics.] ********************************************** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:58 Wednesday 21 August 2024 05:38:53 -0400 (0:00:00.021) 0:00:04.268 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_from_postfix | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [Setup bpftrace metrics.] ************************************************* task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:66 Wednesday 21 August 2024 05:38:53 -0400 (0:00:00.017) 0:00:04.285 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_from_bpftrace | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [Setup metric querying service.] ****************************************** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:75 Wednesday 21 August 2024 05:38:53 -0400 (0:00:00.017) 0:00:04.302 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_query_service | bool", "skip_reason": "Conditional result was False" } TASK [Setup metric collection service.] **************************************** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:83 Wednesday 21 August 2024 05:38:53 -0400 (0:00:00.013) 0:00:04.316 ****** TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Set platform/version specific variables] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:4 Wednesday 21 August 2024 05:38:53 -0400 (0:00:00.043) 0:00:04.359 ****** ok: [managed_node1] => (item=/tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml" } ok: [managed_node1] => (item=/tmp/collections-RVw/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/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" } skipping: [managed_node1] => (item=/tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item is file", "item": "/tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=/tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS_8.yml) => { "ansible_facts": { "__pcp_packages_extra": [ "pcp-zeroconf" ], "__pcp_sasl_mechlist": "scram-sha-256", "__pcp_sasl_packages": [ "cyrus-sasl-lib", "cyrus-sasl-scram" ] }, "ansible_included_var_files": [ "/tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS_8.yml" } ok: [managed_node1] => (item=/tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS_8.yml) => { "ansible_facts": { "__pcp_packages_extra": [ "pcp-zeroconf" ], "__pcp_sasl_mechlist": "scram-sha-256", "__pcp_sasl_packages": [ "cyrus-sasl-lib", "cyrus-sasl-scram" ] }, "ansible_included_var_files": [ "/tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS_8.yml" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Check if system is ostree] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:18 Wednesday 21 August 2024 05:38:53 -0400 (0:00:00.046) 0:00:04.405 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Set flag to indicate system is ostree] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:23 Wednesday 21 August 2024 05:38:54 -0400 (0:00:00.476) 0:00:04.882 ****** ok: [managed_node1] => { "ansible_facts": { "__ansible_pcp_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Install Performance Co-Pilot packages] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:27 Wednesday 21 August 2024 05:38:54 -0400 (0:00:00.023) 0:00:04.906 ****** changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: pcp-zeroconf-5.3.7-20.el8.x86_64", "Installed: libuv-1:1.41.1-1.el8_4.x86_64", "Installed: pcp-5.3.7-20.el8.x86_64", "Installed: pcp-selinux-5.3.7-20.el8.x86_64", "Installed: pcp-pmda-nfsclient-5.3.7-20.el8.x86_64", "Installed: python3-pcp-5.3.7-20.el8.x86_64", "Installed: pcp-libs-5.3.7-20.el8.x86_64", "Installed: pcp-conf-5.3.7-20.el8.x86_64", "Installed: pcp-system-tools-5.3.7-20.el8.x86_64", "Installed: pcp-pmda-dm-5.3.7-20.el8.x86_64", "Installed: pcp-pmda-openmetrics-5.3.7-20.el8.x86_64", "Installed: pcp-doc-5.3.7-20.el8.noarch" ] } lsrpackages: pcp pcp-zeroconf TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Install authentication packages] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:33 Wednesday 21 August 2024 05:39:27 -0400 (0:00:33.518) 0:00:38.425 ****** changed: [managed_node1] => { "changed": true, "rc": 0, "results": [ "Installed: cyrus-sasl-scram-2.1.27-6.el8_5.x86_64" ] } lsrpackages: cyrus-sasl-lib cyrus-sasl-scram TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Include pmcd] **** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:42 Wednesday 21 August 2024 05:39:32 -0400 (0:00:04.246) 0:00:42.671 ****** included: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml for managed_node1 TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : List optional metric collection agents to be enabled] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:4 Wednesday 21 August 2024 05:39:32 -0400 (0:00:00.034) 0:00:42.706 ****** skipping: [managed_node1] => { "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Extract metric collection configuration file content] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:9 Wednesday 21 August 2024 05:39:32 -0400 (0:00:00.017) 0:00:42.724 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:00.003305", "end": "2024-08-21 05:39:32.561368", "rc": 0, "start": "2024-08-21 05:39:32.558063" } STDOUT: # # Name Id IPC IPC Params File/Cmd # Performance Metrics Domain Specifications # This file is automatically generated during the build 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 pmproxy 4 dso pmproxy_init /var/lib/pcp/pmdas/mmv/pmda_mmv.so 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 kvm 95 pipe binary /var/lib/pcp/pmdas/kvm/pmdakvm -d 95 jbd2 122 dso jbd2_init /var/lib/pcp/pmdas/jbd2/pmda_jbd2.so dm 129 pipe binary /var/lib/pcp/pmdas/dm/pmdadm -d 129 [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/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:14 Wednesday 21 August 2024 05:39:32 -0400 (0:00:00.411) 0:00:43.135 ****** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure explicit metric label path exists] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:23 Wednesday 21 August 2024 05:39:32 -0400 (0:00:00.022) 0:00:43.158 ****** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels", "secontext": "system_u:object_r:etc_t:s0", "size": 22, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure implicit metric label path exists] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:31 Wednesday 21 August 2024 05:39:33 -0400 (0:00:00.478) 0:00:43.636 ****** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels/optional", "secontext": "system_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any explicit metric labels are configured] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:39 Wednesday 21 August 2024 05:39:33 -0400 (0:00:00.515) 0:00:44.152 ****** changed: [managed_node1] => { "changed": true, "checksum": "5f36b2ea290645ee34d943220a14b54ee5ea5be5", "dest": "/etc/pcp/labels/ansible-managed", "gid": 0, "group": "root", "md5sum": "8a80554c91d9fca8acb82f023de02f11", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 3, "src": "/root/.ansible/tmp/ansible-tmp-1724233173.6664536-8871-271199389202483/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any implicit metric labels are configured] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:46 Wednesday 21 August 2024 05:39:34 -0400 (0:00:00.746) 0:00:44.898 ****** changed: [managed_node1] => { "changed": true, "checksum": "5f36b2ea290645ee34d943220a14b54ee5ea5be5", "dest": "/etc/pcp/labels/optional/ansible-managed", "gid": 0, "group": "root", "md5sum": "8a80554c91d9fca8acb82f023de02f11", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 3, "src": "/root/.ansible/tmp/ansible-tmp-1724233174.406767-8910-9463905399448/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is configured] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:53 Wednesday 21 August 2024 05:39:35 -0400 (0:00:00.718) 0:00:45.617 ****** changed: [managed_node1] => { "changed": true, "checksum": "7518789c091387cd9c322e1a8fa8aad21d4efbd3", "dest": "/etc/sysconfig/pmcd", "gid": 0, "group": "root", "md5sum": "073cb531c98ecbe1841811dc55975e29", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1627, "src": "/root/.ansible/tmp/ansible-tmp-1724233175.1259067-8945-197406955536561/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector system accounts are configured] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:60 Wednesday 21 August 2024 05:39:35 -0400 (0:00:00.618) 0:00:46.236 ****** changed: [managed_node1] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "changed": true, "comment": "", "create_home": true, "group": 990, "home": "/home/metrics", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "name": "metrics", "shell": "/bin/bash", "state": "present", "system": true, "uid": 993 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector SASL accounts are configured] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:68 Wednesday 21 August 2024 05:39:36 -0400 (0:00:00.600) 0:00:46.836 ****** ok: [managed_node1] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -eu\nif set -o | grep -q pipefail; then\n set -o pipefail # pipefail not supported on debian, some ubuntu\nfi\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.119104", "end": "2024-08-21 05:39:36.732363", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2024-08-21 05:39:36.613259" } STDOUT: Creating new metrics user in /etc/pcp/passwd.db STDERR: listusers failed TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector authentication is configured] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:86 Wednesday 21 August 2024 05:39:36 -0400 (0:00:00.472) 0:00:47.309 ****** changed: [managed_node1] => { "changed": true, "checksum": "615d2de55ab86108da0c7e6b64988fecb4169771", "dest": "/etc/sasl2/pmcd.conf", "gid": 0, "group": "root", "md5sum": "6ec6ea6e2e76889d95da22305316a5fe", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 998, "src": "/root/.ansible/tmp/ansible-tmp-1724233176.8295097-9014-172992026305489/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Set variable to do pmcd restart if needed] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:94 Wednesday 21 August 2024 05:39:37 -0400 (0:00:00.887) 0:00:48.196 ****** ok: [managed_node1] => { "ansible_facts": { "__pcp_restart_pmcd": true }, "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Report performance metric collector restart state] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:99 Wednesday 21 August 2024 05:39:37 -0400 (0:00:00.024) 0:00:48.220 ****** ok: [managed_node1] => {} MSG: ['optional_agents: False', 'explicit_labels: True', 'implicit_labels: True', 'defaults_config: True', 'authentication: True', 'restart_pmcd: True'] TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is running and enabled on boot] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:110 Wednesday 21 August 2024 05:39:37 -0400 (0:00:00.025) 0:00:48.246 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "not __pcp_restart_pmcd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is restarted and enabled on boot] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:117 Wednesday 21 August 2024 05:39:37 -0400 (0:00:00.015) 0:00:48.261 ****** changed: [managed_node1] => { "changed": true, "enabled": true, "name": "pmcd", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-08-21 05:39:25 EDT", "ActiveEnterTimestampMonotonic": "327098940", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "avahi-daemon.service sysinit.target system.slice basic.target network-online.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-08-21 05:39:24 EDT", "AssertTimestampMonotonic": "326920738", "Before": "multi-user.target shutdown.target pmie.service pmlogger.service zabbix-agent.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-08-21 05:39:24 EDT", "ConditionTimestampMonotonic": "326920736", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/pmcd.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Collector Daemon", "DevicePolicy": "auto", "Documentation": "man:pmcd(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8993", "ExecMainStartTimestamp": "Wed 2024-08-21 05:39:25 EDT", "ExecMainStartTimestampMonotonic": "327098917", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/pcp/lib/pmcd ; argv[]=/usr/libexec/pcp/lib/pmcd start-systemd ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/libexec/pcp/lib/pmcd ; argv[]=/usr/libexec/pcp/lib/pmcd stop-systemd ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/pmcd.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "pmcd.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-08-21 05:39:24 EDT", "InactiveExitTimestampMonotonic": "326927363", "InvocationID": "a44e58486bf9403da718c32814dd644f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8993", "MemoryAccounting": "yes", "MemoryCurrent": "26148864", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "pmcd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/pcp/pmcd.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "always", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2024-08-21 05:39:25 EDT", "StateChangeTimestampMonotonic": "327098940", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "11", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "pmie.service multi-user.target pmlogger.service", "WatchdogTimestamp": "Wed 2024-08-21 05:39:25 EDT", "WatchdogTimestampMonotonic": "327098937", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Include pmie] **** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:45 Wednesday 21 August 2024 05:39:39 -0400 (0:00:01.767) 0:00:50.028 ****** included: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml for managed_node1 TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group directories exist] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:4 Wednesday 21 August 2024 05:39:39 -0400 (0:00:00.040) 0:00:50.069 ****** ok: [managed_node1] => (item=network) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "network", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/network", "secontext": "system_u:object_r:etc_t:s0", "size": 78, "state": "directory", "uid": 0 } ok: [managed_node1] => (item=power) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "power", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/power", "secontext": "system_u:object_r:etc_t:s0", "size": 30, "state": "directory", "uid": 0 } ok: [managed_node1] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "zeroconf", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/zeroconf", "secontext": "system_u:object_r:etc_t:s0", "size": 25, "state": "directory", "uid": 0 } ok: [managed_node1] => (item=filesys) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "filesys", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/filesys", "secontext": "system_u:object_r:etc_t:s0", "size": 21, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group link directories exist] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:14 Wednesday 21 August 2024 05:39:41 -0400 (0:00:01.478) 0:00:51.547 ****** ok: [managed_node1] => (item=network) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "network", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/network", "secontext": "system_u:object_r:pcp_var_lib_t:s0", "size": 78, "state": "directory", "uid": 0 } ok: [managed_node1] => (item=power) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "power", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/power", "secontext": "system_u:object_r:pcp_var_lib_t:s0", "size": 30, "state": "directory", "uid": 0 } ok: [managed_node1] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "zeroconf", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/zeroconf", "secontext": "system_u:object_r:pcp_var_lib_t:s0", "size": 25, "state": "directory", "uid": 0 } ok: [managed_node1] => (item=filesys) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "filesys", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/filesys", "secontext": "system_u:object_r:pcp_var_lib_t:s0", "size": 21, "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/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:24 Wednesday 21 August 2024 05:39:42 -0400 (0:00:01.300) 0:00:52.848 ****** changed: [managed_node1] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": true, "checksum": "608d8a6ac6ee33bb86b77d28ba24fbcd378db43d", "dest": "/etc/pcp/pmieconf/network/tcplistenoverflows", "gid": 0, "group": "root", "item": "network/tcplistenoverflows", "md5sum": "315bdffd61351824525f8a1572d604ba", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 971, "src": "/root/.ansible/tmp/ansible-tmp-1724233182.3604255-9222-226838912528078/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": true, "checksum": "3256a5c2e8d07a20d8e97a08c0ab163252b0beae", "dest": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "gid": 0, "group": "root", "item": "network/tcpqfulldocookies", "md5sum": "b062e23db526f63dbb09bc648b03f100", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1131, "src": "/root/.ansible/tmp/ansible-tmp-1724233183.05305-9222-91419809993732/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": true, "checksum": "37b2bd7f2430bd9678ab078c5e69a53bea556524", "dest": "/etc/pcp/pmieconf/network/tcpqfulldrops", "gid": 0, "group": "root", "item": "network/tcpqfulldrops", "md5sum": "61b36977331d7cc7b98658f3e083e578", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1724233183.64296-9222-55425965174263/source", "state": "file", "uid": 0 } ok: [managed_node1] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": false, "checksum": "1d53d6182709617c8f633339652d8d9e75f3b603", "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 } changed: [managed_node1] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": true, "checksum": "65169db16dcaa224c211373001adc3addf1031c4", "dest": "/etc/pcp/pmieconf/zeroconf/all_threads", "gid": 0, "group": "root", "item": "zeroconf/all_threads", "md5sum": "6bbe849190f88f2079c32b24f0fcf092", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 840, "src": "/root/.ansible/tmp/ansible-tmp-1724233184.7746916-9222-225260302134380/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item=filesys/vfs_files) => { "ansible_loop_var": "item", "changed": true, "checksum": "cd5d85dfb8eebd7d9737d56e78bd969dafa3999c", "dest": "/etc/pcp/pmieconf/filesys/vfs_files", "gid": 0, "group": "root", "item": "filesys/vfs_files", "md5sum": "ceb10cd4cd3fbbedd52b7d7e45963eb3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 969, "src": "/root/.ansible/tmp/ansible-tmp-1724233185.3742177-9222-242203422147542/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance rule actions are installed for targeted hosts] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:34 Wednesday 21 August 2024 05:39:45 -0400 (0:00:03.617) 0:00:56.466 ****** ok: [managed_node1] => { "ansible_facts": { "local_pmie": "default" }, "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Check if global pmie webhook action is configured] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:38 Wednesday 21 August 2024 05:39:45 -0400 (0:00:00.017) 0:00:56.483 ****** skipping: [managed_node1] => (item=127.0.0.2) => { "ansible_loop_var": "item", "changed": false, "false_condition": "pcp_pmie_endpoint | length > 0", "item": "127.0.0.2", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=127.0.0.3) => { "ansible_loop_var": "item", "changed": false, "false_condition": "pcp_pmie_endpoint | length > 0", "item": "127.0.0.3", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=default) => { "ansible_loop_var": "item", "changed": false, "false_condition": "pcp_pmie_endpoint | length > 0", "item": "default", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Configure global webhook action] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:50 Wednesday 21 August 2024 05:39:45 -0400 (0:00:00.033) 0:00:56.517 ****** skipping: [managed_node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'pcp_pmie_endpoint | length > 0', 'item': '127.0.0.2', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "pcp_pmie_endpoint | length > 0", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "pcp_pmie_endpoint | length > 0", "item": "127.0.0.2", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'pcp_pmie_endpoint | length > 0', 'item': '127.0.0.3', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "pcp_pmie_endpoint | length > 0", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "pcp_pmie_endpoint | length > 0", "item": "127.0.0.3", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'false_condition': 'pcp_pmie_endpoint | length > 0', 'item': 'default', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "pcp_pmie_endpoint | length > 0", "item": { "ansible_loop_var": "item", "changed": false, "false_condition": "pcp_pmie_endpoint | length > 0", "item": "default", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Check if global webhook endpoint is configured] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:63 Wednesday 21 August 2024 05:39:46 -0400 (0:00:00.035) 0:00:56.553 ****** ok: [managed_node1] => (item=127.0.0.2) => { "ansible_loop_var": "item", "changed": false, "item": "127.0.0.2" } MSG: file not present ok: [managed_node1] => (item=127.0.0.3) => { "ansible_loop_var": "item", "changed": false, "item": "127.0.0.3" } MSG: file not present ok: [managed_node1] => (item=default) => { "ansible_loop_var": "item", "backup": "", "changed": false, "found": 0, "item": "default" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Configure global webhook endpoint] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:73 Wednesday 21 August 2024 05:39:47 -0400 (0:00:01.088) 0:00:57.641 ****** skipping: [managed_node1] => (item={'changed': False, 'msg': 'file not present', 'invocation': {'module_args': {'state': 'absent', 'path': '/var/lib/pcp/config/pmie/config.127.0.0.2', 'regexp': '//.*global webhook_endpoint = ""', 'backrefs': False, 'create': False, 'backup': False, 'firstmatch': False, 'unsafe_writes': False, 'search_string': None, 'line': None, 'insertafter': None, 'insertbefore': None, 'validate': None, 'mode': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': '127.0.0.2', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "pcp_pmie_endpoint | length > 0", "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "attributes": null, "backrefs": false, "backup": false, "create": false, "firstmatch": false, "group": null, "insertafter": null, "insertbefore": null, "line": null, "mode": null, "owner": null, "path": "/var/lib/pcp/config/pmie/config.127.0.0.2", "regexp": "//.*global webhook_endpoint = \"\"", "search_string": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "state": "absent", "unsafe_writes": false, "validate": null } }, "item": "127.0.0.2", "msg": "file not present" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'changed': False, 'msg': 'file not present', 'invocation': {'module_args': {'state': 'absent', 'path': '/var/lib/pcp/config/pmie/config.127.0.0.3', 'regexp': '//.*global webhook_endpoint = ""', 'backrefs': False, 'create': False, 'backup': False, 'firstmatch': False, 'unsafe_writes': False, 'search_string': None, 'line': None, 'insertafter': None, 'insertbefore': None, 'validate': None, 'mode': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': '127.0.0.3', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "pcp_pmie_endpoint | length > 0", "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "attributes": null, "backrefs": false, "backup": false, "create": false, "firstmatch": false, "group": null, "insertafter": null, "insertbefore": null, "line": null, "mode": null, "owner": null, "path": "/var/lib/pcp/config/pmie/config.127.0.0.3", "regexp": "//.*global webhook_endpoint = \"\"", "search_string": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "state": "absent", "unsafe_writes": false, "validate": null } }, "item": "127.0.0.3", "msg": "file not present" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'changed': False, 'found': 0, 'msg': '', 'backup': '', 'diff': [{'before': '', 'after': '', 'before_header': '/var/lib/pcp/config/pmie/config.default (content)', 'after_header': '/var/lib/pcp/config/pmie/config.default (content)'}, {'before_header': '/var/lib/pcp/config/pmie/config.default (file attributes)', 'after_header': '/var/lib/pcp/config/pmie/config.default (file attributes)'}], 'invocation': {'module_args': {'state': 'absent', 'path': '/var/lib/pcp/config/pmie/config.default', 'regexp': '//.*global webhook_endpoint = ""', 'backrefs': False, 'create': False, 'backup': False, 'firstmatch': False, 'unsafe_writes': False, 'search_string': None, 'line': None, 'insertafter': None, 'insertbefore': None, 'validate': None, 'mode': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None}}, 'failed': False, 'item': 'default', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "pcp_pmie_endpoint | length > 0", "item": { "ansible_loop_var": "item", "backup": "", "changed": false, "diff": [ { "after": "", "after_header": "/var/lib/pcp/config/pmie/config.default (content)", "before": "", "before_header": "/var/lib/pcp/config/pmie/config.default (content)" }, { "after_header": "/var/lib/pcp/config/pmie/config.default (file attributes)", "before_header": "/var/lib/pcp/config/pmie/config.default (file attributes)" } ], "failed": false, "found": 0, "invocation": { "module_args": { "attributes": null, "backrefs": false, "backup": false, "create": false, "firstmatch": false, "group": null, "insertafter": null, "insertbefore": null, "line": null, "mode": null, "owner": null, "path": "/var/lib/pcp/config/pmie/config.default", "regexp": "//.*global webhook_endpoint = \"\"", "search_string": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "state": "absent", "unsafe_writes": false, "validate": null } }, "item": "default", "msg": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra rules symlinks have been created for targeted hosts] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:86 Wednesday 21 August 2024 05:39:47 -0400 (0:00:00.037) 0:00:57.678 ****** changed: [managed_node1] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": true, "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 } changed: [managed_node1] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": true, "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 } changed: [managed_node1] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": true, "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 } changed: [managed_node1] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": true, "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 } changed: [managed_node1] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": true, "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 } changed: [managed_node1] => (item=filesys/vfs_files) => { "ansible_loop_var": "item", "changed": true, "dest": "/var/lib/pcp/config/pmieconf/filesys/vfs_files", "gid": 0, "group": "root", "item": "filesys/vfs_files", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 35, "src": "/etc/pcp/pmieconf/filesys/vfs_files", "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/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:95 Wednesday 21 August 2024 05:39:49 -0400 (0:00:01.868) 0:00:59.546 ****** changed: [managed_node1] => (item=127.0.0.2) => { "ansible_loop_var": "item", "changed": true, "checksum": "a686dac1e9daaa0aa02d7d653c4b3c3c4a77e408", "dest": "/etc/pcp/pmie/control.d/127.0.0.2", "gid": 0, "group": "root", "item": "127.0.0.2", "md5sum": "96e4021c788217c526ffbff4a03f8f7c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 182, "src": "/root/.ansible/tmp/ansible-tmp-1724233189.0598629-9563-21734058905457/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item=127.0.0.3) => { "ansible_loop_var": "item", "changed": true, "checksum": "1945776c5e9ff6e68ac3c4db876dadb6de1214bc", "dest": "/etc/pcp/pmie/control.d/127.0.0.3", "gid": 0, "group": "root", "item": "127.0.0.3", "md5sum": "c0c28902b6824134ad6a8b5db2686d3c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 182, "src": "/root/.ansible/tmp/ansible-tmp-1724233189.6841483-9563-3841785082661/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric inference for targeted hosts (single control)] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:106 Wednesday 21 August 2024 05:39:50 -0400 (0:00:01.276) 0:01:00.822 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "pcp_single_control | d(true) | bool", "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/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:116 Wednesday 21 August 2024 05:39:50 -0400 (0:00:00.038) 0:01:00.860 ****** ok: [managed_node1] => { "ansible_facts": { "__pcp_restart_pmie": true }, "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric inference is running and enabled on boot] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:120 Wednesday 21 August 2024 05:39:50 -0400 (0:00:00.027) 0:01:00.888 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "not __pcp_restart_pmie | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric inference is restarted and enabled on boot] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:127 Wednesday 21 August 2024 05:39:50 -0400 (0:00:00.024) 0:01:00.912 ****** changed: [managed_node1] => { "changed": true, "enabled": true, "name": "pmie", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-08-21 05:39:25 EDT", "ActiveEnterTimestampMonotonic": "327582539", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target basic.target systemd-journald.socket system.slice pmcd.service network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-08-21 05:39:25 EDT", "AssertTimestampMonotonic": "327101030", "Before": "shutdown.target pmie_daily.timer pmie_check.timer multi-user.target pmie_farm.service", "BindsTo": "pmie_daily.timer pmie_check.timer pmie_farm.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-08-21 05:39:25 EDT", "ConditionTimestampMonotonic": "327101029", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "pmie_farm.service", "ControlGroup": "/system.slice/pmie.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Inference Engine", "DevicePolicy": "auto", "Documentation": "man:pmie(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PMIE_CHECK_PARAMS=--only-primary", "EnvironmentFiles": "/etc/sysconfig/pmie (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9632", "ExecMainStartTimestamp": "Wed 2024-08-21 05:39:25 EDT", "ExecMainStartTimestampMonotonic": "327582518", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/pcp/lib/pmie ; argv[]=/usr/libexec/pcp/lib/pmie start-systemd ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/libexec/pcp/lib/pmie ; argv[]=/usr/libexec/pcp/lib/pmie stop-systemd ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/pmie.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "pmie.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-08-21 05:39:25 EDT", "InactiveExitTimestampMonotonic": "327101966", "InvocationID": "105303d9aaf84c19a1eaab70110c6c9f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9632", "MemoryAccounting": "yes", "MemoryCurrent": "1712128", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "pmie.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/pcp/pmie.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "always", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2024-08-21 05:39:25 EDT", "StateChangeTimestampMonotonic": "327582539", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22405", "TimeoutStartUSec": "2min", "TimeoutStopUSec": "2min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "pmcd.service", "WatchdogTimestamp": "Wed 2024-08-21 05:39:25 EDT", "WatchdogTimestampMonotonic": "327582536", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Include pmlogger] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:48 Wednesday 21 August 2024 05:39:51 -0400 (0:00:01.086) 0:01:01.999 ****** included: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml for managed_node1 TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure metric log location is configured] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:4 Wednesday 21 August 2024 05:39:51 -0400 (0:00:00.067) 0:01:02.066 ****** ok: [managed_node1] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is configured] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:12 Wednesday 21 August 2024 05:39:51 -0400 (0:00:00.444) 0:01:02.511 ****** changed: [managed_node1] => { "changed": true, "checksum": "67bc35973101c614e92b1990f8bebfffc39fe498", "dest": "/etc/sysconfig/pmlogger", "gid": 0, "group": "root", "md5sum": "be3c2b929f8c3f822c4ee10fb7b5053d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1180, "src": "/root/.ansible/tmp/ansible-tmp-1724233192.025501-9721-76140783949029/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging retention period is set] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:19 Wednesday 21 August 2024 05:39:52 -0400 (0:00:00.665) 0:01:03.176 ****** Notification for handler Restart pmlogger has been saved. changed: [managed_node1] => { "changed": true, "checksum": "df7bd3b5b6f1de3af164aab81441c7251a13a298", "dest": "/etc/sysconfig/pmlogger_timers", "gid": 0, "group": "root", "md5sum": "97c2cdbde792aba7ff0c922c6e06e10b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 988, "src": "/root/.ansible/tmp/ansible-tmp-1724233192.6842694-9754-168160227137833/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/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:27 Wednesday 21 August 2024 05:39:53 -0400 (0:00:00.617) 0:01:03.794 ****** changed: [managed_node1] => (item=127.0.0.2) => { "ansible_loop_var": "item", "changed": true, "checksum": "8f28f239f1a5534def4c94966c7a118f30a9ec7f", "dest": "/etc/pcp/pmlogger/control.d/127.0.0.2", "gid": 0, "group": "root", "item": "127.0.0.2", "md5sum": "ba5fa01aaa281ac81843eb0c0a978ac0", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 181, "src": "/root/.ansible/tmp/ansible-tmp-1724233193.3129036-9769-98752361364257/source", "state": "file", "uid": 0 } changed: [managed_node1] => (item=127.0.0.3) => { "ansible_loop_var": "item", "changed": true, "checksum": "2bdc74d86ce5dacdb7ea86697ec6881216757a4b", "dest": "/etc/pcp/pmlogger/control.d/127.0.0.3", "gid": 0, "group": "root", "item": "127.0.0.3", "md5sum": "f042fd94647ca9beef9fffbbf410d67a", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 181, "src": "/root/.ansible/tmp/ansible-tmp-1724233194.1271336-9769-96575160979515/source", "state": "file", "uid": 0 } Notification for handler Restart pmlogger has been saved. Notification for handler Restart pmlogger has been saved. TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric logging for targeted hosts (single control)] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:39 Wednesday 21 August 2024 05:39:54 -0400 (0:00:01.427) 0:01:05.221 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "pcp_single_control | d(true) | bool", "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/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:49 Wednesday 21 August 2024 05:39:54 -0400 (0:00:00.019) 0:01:05.241 ****** ok: [managed_node1] => { "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/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:53 Wednesday 21 August 2024 05:39:54 -0400 (0:00:00.022) 0:01:05.264 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "not __pcp_restart_pmlogger | bool", "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/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:60 Wednesday 21 August 2024 05:39:54 -0400 (0:00:00.015) 0:01:05.279 ****** changed: [managed_node1] => { "changed": true, "enabled": true, "name": "pmlogger", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-08-21 05:39:26 EDT", "ActiveEnterTimestampMonotonic": "328256563", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sysinit.target network-online.target pmcd.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-08-21 05:39:25 EDT", "AssertTimestampMonotonic": "327099507", "Before": "pmlogger_check.timer pmlogger_farm.service pmlogger_daily.timer shutdown.target multi-user.target", "BindsTo": "pmlogger_check.timer pmlogger_farm.service pmlogger_daily.timer", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-08-21 05:39:25 EDT", "ConditionTimestampMonotonic": "327099506", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "pmlogger_farm.service", "ControlGroup": "/system.slice/pmlogger.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Archive Logger", "DevicePolicy": "auto", "Documentation": "man:pmlogger(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PMLOGGER_CHECK_PARAMS=--only-primary", "EnvironmentFiles": "/etc/sysconfig/pmlogger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9758", "ExecMainStartTimestamp": "Wed 2024-08-21 05:39:26 EDT", "ExecMainStartTimestampMonotonic": "328256539", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/pcp/lib/pmlogger ; argv[]=/usr/libexec/pcp/lib/pmlogger start-systemd ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/libexec/pcp/lib/pmlogger ; argv[]=/usr/libexec/pcp/lib/pmlogger stop-systemd ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/pmlogger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "pmlogger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-08-21 05:39:25 EDT", "InactiveExitTimestampMonotonic": "327100972", "InvocationID": "d63ebff0c911432eac875b8e854bad35", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9758", "MemoryAccounting": "yes", "MemoryCurrent": "3297280", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "pmlogger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/pcp/pmlogger.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "always", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2024-08-21 05:39:26 EDT", "StateChangeTimestampMonotonic": "328256563", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22405", "TimeoutStartUSec": "2min", "TimeoutStopUSec": "2min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "pmcd.service", "WatchdogTimestamp": "Wed 2024-08-21 05:39:26 EDT", "WatchdogTimestampMonotonic": "328256560", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Include pmproxy] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:51 Wednesday 21 August 2024 05:39:55 -0400 (0:00:01.206) 0:01:06.486 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "pcp_rest_api | d(false) | bool", "skip_reason": "Conditional result was False" } TASK [Setup metric graphing service.] ****************************************** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:96 Wednesday 21 August 2024 05:39:55 -0400 (0:00:00.023) 0:01:06.509 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_graph_service | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Configure firewall] ****************** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:104 Wednesday 21 August 2024 05:39:55 -0400 (0:00:00.015) 0:01:06.525 ****** included: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/firewall.yml for managed_node1 TASK [fedora.linux_system_roles.metrics : Initialize __metrics_firewall] ******* task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/firewall.yml:9 Wednesday 21 August 2024 05:39:56 -0400 (0:00:00.029) 0:01:06.555 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Port for pmcd] *********************** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/firewall.yml:13 Wednesday 21 August 2024 05:39:56 -0400 (0:00:00.017) 0:01:06.572 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Port for pmproxy used by query and grafana] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/firewall.yml:19 Wednesday 21 August 2024 05:39:56 -0400 (0:00:00.014) 0:01:06.587 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Service for grafana] ***************** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/firewall.yml:25 Wednesday 21 August 2024 05:39:56 -0400 (0:00:00.014) 0:01:06.602 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Service for redis] ******************* task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/firewall.yml:31 Wednesday 21 August 2024 05:39:56 -0400 (0:00:00.014) 0:01:06.617 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [Ensure the service and the port status with the firewall role] *********** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/firewall.yml:37 Wednesday 21 August 2024 05:39:56 -0400 (0:00:00.015) 0:01:06.633 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_manage_firewall | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Configure selinux] ******************* task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:107 Wednesday 21 August 2024 05:39:56 -0400 (0:00:00.014) 0:01:06.647 ****** included: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/selinux.yml for managed_node1 TASK [fedora.linux_system_roles.metrics : Set pcp_bind_all_unreserved_ports] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/selinux.yml:6 Wednesday 21 August 2024 05:39:56 -0400 (0:00:00.028) 0:01:06.676 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [Ensure the port status with the selinux role] **************************** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/selinux.yml:11 Wednesday 21 August 2024 05:39:56 -0400 (0:00:00.015) 0:01:06.692 ****** skipping: [managed_node1] => { "changed": false, "false_condition": "metrics_manage_selinux | bool", "skip_reason": "Conditional result was False" } TASK [Check if pmie configuration file on remote host is the secondary one] **** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/tests_bz1855539.yml:31 Wednesday 21 August 2024 05:39:56 -0400 (0:00:00.022) 0:01:06.715 ****** ok: [managed_node1] => (item=127.0.0.2) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "grep", "-E", "^\\s*\\S+\\s+n\\s+n\\s+", "/etc/pcp/pmie/control.d//127.0.0.2" ], "delta": "0:00:00.004492", "end": "2024-08-21 05:39:56.829117", "item": "127.0.0.2", "rc": 0, "start": "2024-08-21 05:39:56.824625" } STDOUT: 127.0.0.2 n n PCP_LOG_DIR/pmie/127.0.0.2/pmie.log -c config.127.0.0.2 ok: [managed_node1] => (item=127.0.0.3) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "grep", "-E", "^\\s*\\S+\\s+n\\s+n\\s+", "/etc/pcp/pmie/control.d//127.0.0.3" ], "delta": "0:00:00.003947", "end": "2024-08-21 05:39:57.267748", "item": "127.0.0.3", "rc": 0, "start": "2024-08-21 05:39:57.263801" } STDOUT: 127.0.0.3 n n PCP_LOG_DIR/pmie/127.0.0.3/pmie.log -c config.127.0.0.3 TASK [Check if pmie configuration file on remote host has the header] ********** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/tests_bz1855539.yml:38 Wednesday 21 August 2024 05:39:57 -0400 (0:00:01.162) 0:01:07.877 ****** included: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/check_header.yml for managed_node1 => (item=127.0.0.2) included: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/check_header.yml for managed_node1 => (item=127.0.0.3) TASK [Grep the ansible_managed header in /etc/pcp/pmie/control.d/127.0.0.2] **** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/check_header.yml:3 Wednesday 21 August 2024 05:39:57 -0400 (0:00:00.032) 0:01:07.910 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/pcp/pmie/control.d/127.0.0.2" ], "delta": "0:00:00.004649", "end": "2024-08-21 05:39:57.873196", "rc": 0, "start": "2024-08-21 05:39:57.868547" } STDOUT: # Ansible managed TASK [Grep the ansible_managed header in /etc/pcp/pmie/control.d/127.0.0.3] **** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/check_header.yml:3 Wednesday 21 August 2024 05:39:57 -0400 (0:00:00.579) 0:01:08.489 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/pcp/pmie/control.d/127.0.0.3" ], "delta": "0:00:00.002610", "end": "2024-08-21 05:39:58.373567", "rc": 0, "start": "2024-08-21 05:39:58.370957" } STDOUT: # Ansible managed TASK [Check if pmie configuration file on local host is the primary one] ******* task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/tests_bz1855539.yml:44 Wednesday 21 August 2024 05:39:58 -0400 (0:00:00.459) 0:01:08.949 ****** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-E", "^\\s*\\S+\\s+y\\s+n\\s+", "/etc/pcp/pmie/control.d//local" ], "delta": "0:00:00.002726", "end": "2024-08-21 05:39:58.691404", "rc": 0, "start": "2024-08-21 05:39:58.688678" } STDOUT: LOCALHOSTNAME y n PCP_LOG_DIR/pmie/LOCALHOSTNAME/pmie.log -c config.default TASK [Flush handlers] ********************************************************** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/tests_bz1855539.yml:50 Wednesday 21 August 2024 05:39:58 -0400 (0:00:00.311) 0:01:09.261 ****** NOTIFIED HANDLER fedora.linux_system_roles.private_metrics_subrole_pcp : Restart pmlogger for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.private_metrics_subrole_pcp : Restart pmlogger] *** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/handlers/main.yml:19 Wednesday 21 August 2024 05:39:58 -0400 (0:00:00.009) 0:01:09.270 ****** changed: [managed_node1] => { "changed": true, "name": "pmlogger", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-08-21 05:39:55 EDT", "ActiveEnterTimestampMonotonic": "357880725", "ActiveExitTimestamp": "Wed 2024-08-21 05:39:55 EDT", "ActiveExitTimestampMonotonic": "357181186", "ActiveState": "active", "After": "basic.target sysinit.target network-online.target pmcd.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-08-21 05:39:55 EDT", "AssertTimestampMonotonic": "357281695", "Before": "pmlogger_check.timer pmlogger_farm.service pmlogger_daily.timer shutdown.target multi-user.target", "BindsTo": "pmlogger_check.timer pmlogger_farm.service pmlogger_daily.timer", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2024-08-21 05:39:55 EDT", "ConditionTimestampMonotonic": "357281694", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "pmlogger_farm.service", "ControlGroup": "/system.slice/pmlogger.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Archive Logger", "DevicePolicy": "auto", "Documentation": "man:pmlogger(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PMLOGGER_CHECK_PARAMS=--only-primary", "EnvironmentFiles": "/etc/sysconfig/pmlogger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "23584", "ExecMainStartTimestamp": "Wed 2024-08-21 05:39:55 EDT", "ExecMainStartTimestampMonotonic": "357880694", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/pcp/lib/pmlogger ; argv[]=/usr/libexec/pcp/lib/pmlogger start-systemd ; ignore_errors=no ; start_time=[Wed 2024-08-21 05:39:55 EDT] ; stop_time=[n/a] ; pid=23327 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/libexec/pcp/lib/pmlogger ; argv[]=/usr/libexec/pcp/lib/pmlogger stop-systemd ; ignore_errors=no ; start_time=[Wed 2024-08-21 05:39:55 EDT] ; stop_time=[Wed 2024-08-21 05:39:55 EDT] ; pid=23269 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/pmlogger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "pmlogger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2024-08-21 05:39:55 EDT", "InactiveEnterTimestampMonotonic": "357280824", "InactiveExitTimestamp": "Wed 2024-08-21 05:39:55 EDT", "InactiveExitTimestampMonotonic": "357282853", "InvocationID": "7b2f457039494d0db0dd01dcafe0be2f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "23584", "MemoryAccounting": "yes", "MemoryCurrent": "3117056", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "pmlogger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/pcp/pmlogger.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "always", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2024-08-21 05:39:55 EDT", "StateChangeTimestampMonotonic": "357880725", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22405", "TimeoutStartUSec": "2min", "TimeoutStopUSec": "2min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "pmcd.service", "WatchdogTimestamp": "Wed 2024-08-21 05:39:55 EDT", "WatchdogTimestampMonotonic": "357880721", "WatchdogUSec": "0" } } TASK [Get final state of services] ********************************************* task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/restore_services_state.yml:3 Wednesday 21 August 2024 05:39:59 -0400 (0:00:01.196) 0:01:10.466 ****** ok: [managed_node1] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "auto-cpufreq.service": { "name": "auto-cpufreq.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "avahi-daemon.service": { "name": "avahi-daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-hotplugd.service": { "name": "cloud-init-hotplugd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-system-upgrade-cleanup.service": { "name": "dnf-system-upgrade-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "dnf-system-upgrade.service": { "name": "dnf-system-upgrade.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown-onfailure.service": { "name": "dracut-shutdown-onfailure.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "ebtables.service": { "name": "ebtables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "firewalld.service": { "name": "firewalld.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "hv_kvp_daemon.service": { "name": "hv_kvp_daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "iprdump.service": { "name": "iprdump.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprinit.service": { "name": "iprinit.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "iprupdate.service": { "name": "iprupdate.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "modprobe@efi_pstore.service": { "name": "modprobe@efi_pstore.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nftables.service": { "name": "nftables.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "plymouth-halt.service": { "name": "plymouth-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-kexec.service": { "name": "plymouth-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-poweroff.service": { "name": "plymouth-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-quit.service": { "name": "plymouth-quit.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-read-write.service": { "name": "plymouth-read-write.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-reboot.service": { "name": "plymouth-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "static" }, "plymouth-switch-root-initramfs.service": { "name": "plymouth-switch-root-initramfs.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-switch-root.service": { "name": "plymouth-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "pmcd.service": { "name": "pmcd.service", "source": "systemd", "state": "running", "status": "enabled" }, "pmfind.service": { "name": "pmfind.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "pmie.service": { "name": "pmie.service", "source": "systemd", "state": "running", "status": "enabled" }, "pmie_check.service": { "name": "pmie_check.service", "source": "systemd", "state": "stopped", "status": "static" }, "pmie_daily.service": { "name": "pmie_daily.service", "source": "systemd", "state": "stopped", "status": "static" }, "pmie_farm.service": { "name": "pmie_farm.service", "source": "systemd", "state": "running", "status": "disabled" }, "pmie_farm_check.service": { "name": "pmie_farm_check.service", "source": "systemd", "state": "stopped", "status": "static" }, "pmlogger.service": { "name": "pmlogger.service", "source": "systemd", "state": "running", "status": "enabled" }, "pmlogger_check.service": { "name": "pmlogger_check.service", "source": "systemd", "state": "stopped", "status": "static" }, "pmlogger_daily.service": { "name": "pmlogger_daily.service", "source": "systemd", "state": "stopped", "status": "static" }, "pmlogger_daily_report.service": { "name": "pmlogger_daily_report.service", "source": "systemd", "state": "inactive", "status": "static" }, "pmlogger_farm.service": { "name": "pmlogger_farm.service", "source": "systemd", "state": "running", "status": "disabled" }, "pmlogger_farm_check.service": { "name": "pmlogger_farm_check.service", "source": "systemd", "state": "stopped", "status": "static" }, "pmproxy.service": { "name": "pmproxy.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "power-profiles-daemon.service": { "name": "power-profiles-daemon.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "restraintd.service": { "name": "restraintd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "snapd.seeded.service": { "name": "snapd.seeded.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-plymouth.service": { "name": "systemd-ask-password-plymouth.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-networkd-wait-online.service": { "name": "systemd-networkd-wait-online.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-pstore.service": { "name": "systemd-pstore.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tlp.service": { "name": "tlp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "zabbix-agent.service": { "name": "zabbix-agent.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [Restore state of services] *********************************************** task path: /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/restore_services_state.yml:9 Wednesday 21 August 2024 05:40:02 -0400 (0:00:02.501) 0:01:12.968 ****** skipping: [managed_node1] => (item=pmcd) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item + '.service' in initial_state.ansible_facts.services", "item": "pmcd", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=pmlogger) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item + '.service' in initial_state.ansible_facts.services", "item": "pmlogger", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=pmie) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item + '.service' in initial_state.ansible_facts.services", "item": "pmie", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=pmproxy) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item + '.service' in initial_state.ansible_facts.services", "item": "pmproxy", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=redis) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item + '.service' in final_state.ansible_facts.services", "item": "redis", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=grafana-server) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item + '.service' in final_state.ansible_facts.services", "item": "grafana-server", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped PLAY RECAP ********************************************************************* managed_node1 : ok=49 changed=17 unreachable=0 failed=0 skipped=31 rescued=0 ignored=0 Wednesday 21 August 2024 05:40:02 -0400 (0:00:00.055) 0:01:13.023 ****** =============================================================================== fedora.linux_system_roles.private_metrics_subrole_pcp : Install Performance Co-Pilot packages -- 33.52s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:27 fedora.linux_system_roles.private_metrics_subrole_pcp : Install authentication packages --- 4.25s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:33 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rules are installed for targeted hosts --- 3.62s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:24 Get final state of services --------------------------------------------- 2.50s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/restore_services_state.yml:3 Gathering Facts --------------------------------------------------------- 2.12s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/tests_bz1855539.yml:9 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra rules symlinks have been created for targeted hosts --- 1.87s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:86 Get initial state of services ------------------------------------------- 1.84s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/get_services_state.yml:3 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is restarted and enabled on boot --- 1.77s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:117 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group directories exist --- 1.48s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:4 fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric logging for targeted hosts (with control.d) --- 1.43s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:27 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group link directories exist --- 1.30s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:14 fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric inference for targeted hosts (with control.d) --- 1.28s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:95 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is restarted and enabled on boot --- 1.21s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:60 fedora.linux_system_roles.private_metrics_subrole_pcp : Restart pmlogger --- 1.20s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/handlers/main.yml:19 Check if pmie configuration file on remote host is the secondary one ---- 1.16s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/tests/metrics/tests_bz1855539.yml:31 fedora.linux_system_roles.private_metrics_subrole_pcp : Check if global webhook endpoint is configured --- 1.09s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:63 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric inference is restarted and enabled on boot --- 1.09s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:127 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector authentication is configured --- 0.89s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:86 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any explicit metric labels are configured --- 0.75s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:39 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any implicit metric labels are configured --- 0.72s /tmp/collections-RVw/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:46