No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Test changing settings] ************************************************** TASK [Gathering Facts] ********************************************************* Wednesday 24 July 2024 14:28:10 -0400 (0:00:00.019) 0:00:00.019 ******** ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Wednesday 24 July 2024 14:28:11 -0400 (0:00:00.907) 0:00:00.926 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Wednesday 24 July 2024 14:28:12 -0400 (0:00:00.452) 0:00:01.378 ******** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [Ensure required packages are installed] ********************************** Wednesday 24 July 2024 14:28:12 -0400 (0:00:00.029) 0:00:01.408 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: procps-ng tuned TASK [Ensure kernel settings profile directory exists] ************************* Wednesday 24 July 2024 14:28:15 -0400 (0:00:02.901) 0:00:04.309 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [Generate a configuration for kernel settings] **************************** Wednesday 24 July 2024 14:28:15 -0400 (0:00:00.454) 0:00:04.764 ******** changed: [managed_node1] => { "changed": true, "checksum": "13fdc203370e2b8e7e42c13d94b671b1ac621563", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "d5df32baf1a63528844555117ead6672", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 381, "src": "/root/.ansible/tmp/ansible-tmp-1721845695.62682-8404-19788789202882/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ Wednesday 24 July 2024 14:28:16 -0400 (0:00:00.779) 0:00:05.544 ******** changed: [managed_node1] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-07-24 14:24:31 EDT", "ActiveEnterTimestampMonotonic": "25268542", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket network.target systemd-journald.socket dbus.service basic.target systemd-sysctl.service polkit.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-07-24 14:24:29 EDT", "AssertTimestampMonotonic": "24082216", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "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-07-24 14:24:29 EDT", "ConditionTimestampMonotonic": "24082214", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service power-profiles-daemon.service tlp.service auto-cpufreq.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "675", "ExecMainStartTimestamp": "Wed 2024-07-24 14:24:29 EDT", "ExecMainStartTimestampMonotonic": "24083214", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Wed 2024-07-24 14:24:29 EDT] ; stop_time=[n/a] ; pid=675 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.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": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-07-24 14:24:29 EDT", "InactiveExitTimestampMonotonic": "24083270", "InvocationID": "aa17ccf187154b9ab7cfb2c05a45d64d", "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": "675", "MemoryAccounting": "yes", "MemoryCurrent": "20418560", "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": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.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": "dbus.service dbus.socket sysinit.target system.slice", "Restart": "no", "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-07-24 14:24:31 EDT", "StateChangeTimestampMonotonic": "25268542", "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": "4", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-07-24 14:24:31 EDT", "WatchdogTimestampMonotonic": "25268538", "WatchdogUSec": "0" } } TASK [Apply kernel_settings] *************************************************** Wednesday 24 July 2024 14:28:17 -0400 (0:00:01.101) 0:00:06.645 ******** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** Wednesday 24 July 2024 14:28:17 -0400 (0:00:00.057) 0:00:06.702 ******** included: /var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** Wednesday 24 July 2024 14:28:17 -0400 (0:00:00.020) 0:00:06.723 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** Wednesday 24 July 2024 14:28:17 -0400 (0:00:00.027) 0:00:06.751 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** Wednesday 24 July 2024 14:28:17 -0400 (0:00:00.025) 0:00:06.776 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** Wednesday 24 July 2024 14:28:17 -0400 (0:00:00.027) 0:00:06.804 ******** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** Wednesday 24 July 2024 14:28:17 -0400 (0:00:00.032) 0:00:06.837 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** Wednesday 24 July 2024 14:28:20 -0400 (0:00:02.767) 0:00:09.605 ******** ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-07-24 14:28:17 EDT", "ActiveEnterTimestampMonotonic": "251552907", "ActiveExitTimestamp": "Wed 2024-07-24 14:28:16 EDT", "ActiveExitTimestampMonotonic": "251141607", "ActiveState": "active", "After": "dbus.socket network.target systemd-journald.socket dbus.service basic.target systemd-sysctl.service polkit.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-07-24 14:28:17 EDT", "AssertTimestampMonotonic": "251262700", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "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-07-24 14:28:17 EDT", "ConditionTimestampMonotonic": "251262699", "ConfigurationDirectoryMode": "0755", "Conflicts": "cpupower.service power-profiles-daemon.service tlp.service auto-cpufreq.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8479", "ExecMainStartTimestamp": "Wed 2024-07-24 14:28:17 EDT", "ExecMainStartTimestampMonotonic": "251264774", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Wed 2024-07-24 14:28:17 EDT] ; stop_time=[n/a] ; pid=8479 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.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": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2024-07-24 14:28:17 EDT", "InactiveEnterTimestampMonotonic": "251261618", "InactiveExitTimestamp": "Wed 2024-07-24 14:28:17 EDT", "InactiveExitTimestampMonotonic": "251264827", "InvocationID": "f2dba5cbc26a4a4d896d4dc1f8a5bff4", "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": "8479", "MemoryAccounting": "yes", "MemoryCurrent": "15024128", "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": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.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": "dbus.service dbus.socket sysinit.target system.slice", "Restart": "no", "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-07-24 14:28:17 EDT", "StateChangeTimestampMonotonic": "251552907", "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": "4", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-07-24 14:28:17 EDT", "WatchdogTimestampMonotonic": "251552903", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** Wednesday 24 July 2024 14:28:20 -0400 (0:00:00.515) 0:00:10.120 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** Wednesday 24 July 2024 14:28:21 -0400 (0:00:00.378) 0:00:10.499 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-8359uy348upy/tmpx8d04u52/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** Wednesday 24 July 2024 14:28:21 -0400 (0:00:00.387) 0:00:10.886 ******** ok: [managed_node1] => { "changed": false, "content": "IyB0dW5lZCBjb25maWd1cmF0aW9uCiMKClttYWluXQpzdW1tYXJ5PWtlcm5lbCBzZXR0aW5ncwoKW3N5c2N0bF0KZnMuZXBvbGwubWF4X3VzZXJfd2F0Y2hlcz03ODU1OTIKZnMuZmlsZS1tYXg9Mzc5NzI0Cmtlcm5lbC50aHJlYWRzLW1heD0yOTk2OAp2bS5tYXhfbWFwX2NvdW50PTY1NTMwCgpbc3lzZnNdCi9zeXMvZnMvc2VsaW51eC9hdmMvY2FjaGVfdGhyZXNob2xkPTI1NgojIHNwZWN0cmUvbWVsdGRvd24gLSB0dXJuIG9mZiBmaXggZm9yIHBlcmZvcm1hbmNlIGJvb3N0Ci9zeXMva2VybmVsL2RlYnVnL3g4Ni9wdGlfZW5hYmxlZD0wCi9zeXMva2VybmVsL2RlYnVnL3g4Ni9yZXRwX2VuYWJsZWQ9MAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkPTAK", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* Wednesday 24 July 2024 14:28:22 -0400 (0:00:00.451) 0:00:11.338 ******** changed: [managed_node1] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400000", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** Wednesday 24 July 2024 14:28:22 -0400 (0:00:00.686) 0:00:12.024 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.196827", "end": "2024-07-24 14:28:24.449669", "rc": 0, "start": "2024-07-24 14:28:23.252842" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* Wednesday 24 July 2024 14:28:24 -0400 (0:00:01.651) 0:00:13.675 ******** included: /var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly] *** Wednesday 24 July 2024 14:28:24 -0400 (0:00:00.038) 0:00:13.714 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.126368", "end": "2024-07-24 14:28:24.967088", "rc": 0, "start": "2024-07-24 14:28:24.840720" } STDOUT: Verification succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : Get last verify results from log] *** Wednesday 24 July 2024 14:28:25 -0400 (0:00:00.477) 0:00:14.191 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** Wednesday 24 July 2024 14:28:25 -0400 (0:00:00.026) 0:00:14.218 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** Wednesday 24 July 2024 14:28:25 -0400 (0:00:00.026) 0:00:14.244 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** Wednesday 24 July 2024 14:28:25 -0400 (0:00:00.024) 0:00:14.269 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure kernel_settings_reboot_required is unset or undefined] ************ Wednesday 24 July 2024 14:28:25 -0400 (0:00:00.026) 0:00:14.295 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysfs after role runs] ********************************************* Wednesday 24 July 2024 14:28:25 -0400 (0:00:00.025) 0:00:14.321 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003167", "end": "2024-07-24 14:28:25.448107", "rc": 0, "start": "2024-07-24 14:28:25.444940" } STDOUT: 65000 TASK [Check sysctl after role runs] ******************************************** Wednesday 24 July 2024 14:28:25 -0400 (0:00:00.349) 0:00:14.670 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.007162", "end": "2024-07-24 14:28:25.803985", "rc": 0, "start": "2024-07-24 14:28:25.796823" } STDOUT: 400000 TASK [Check sysctl after role runs] ******************************************** Wednesday 24 July 2024 14:28:25 -0400 (0:00:00.354) 0:00:15.025 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005848", "end": "2024-07-24 14:28:26.152941", "rc": 0, "start": "2024-07-24 14:28:26.147093" } TASK [Reboot the machine - see if settings persist after reboot] *************** Wednesday 24 July 2024 14:28:26 -0400 (0:00:00.350) 0:00:15.376 ******** changed: [managed_node1] => { "changed": true, "elapsed": 44, "rebooted": true } TASK [Check sysctl after reboot] *********************************************** Wednesday 24 July 2024 14:29:11 -0400 (0:00:45.011) 0:01:00.387 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.015327", "end": "2024-07-24 14:29:11.545300", "rc": 0, "start": "2024-07-24 14:29:11.529973" } STDOUT: 400000 TASK [Check sysfs after reboot] ************************************************ Wednesday 24 July 2024 14:29:11 -0400 (0:00:00.381) 0:01:00.769 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003099", "end": "2024-07-24 14:29:11.899782", "rc": 0, "start": "2024-07-24 14:29:11.896683" } STDOUT: 65000 TASK [Show cmdline] ************************************************************ Wednesday 24 July 2024 14:29:11 -0400 (0:00:00.355) 0:01:01.124 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "cat", "/proc/cmdline" ], "delta": "0:00:00.002866", "end": "2024-07-24 14:29:12.247916", "rc": 0, "start": "2024-07-24 14:29:12.245050" } STDOUT: BOOT_IMAGE=(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64 root=UUID=fe591198-9082-4b15-9b62-e83518524cd2 ro crashkernel=auto net.ifnames=0 rhgb quiet TASK [Check sysctl after reboot] *********************************************** Wednesday 24 July 2024 14:29:12 -0400 (0:00:00.347) 0:01:01.472 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005742", "end": "2024-07-24 14:29:12.597571", "rc": 0, "start": "2024-07-24 14:29:12.591829" } TASK [Check with tuned verify] ************************************************* Wednesday 24 July 2024 14:29:12 -0400 (0:00:00.349) 0:01:01.822 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.121530", "end": "2024-07-24 14:29:13.068232", "rc": 0, "start": "2024-07-24 14:29:12.946702" } STDOUT: Verification succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [Apply role again and remove settings] ************************************ Wednesday 24 July 2024 14:29:13 -0400 (0:00:00.472) 0:01:02.294 ******** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** Wednesday 24 July 2024 14:29:13 -0400 (0:00:00.033) 0:01:02.328 ******** included: /var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** Wednesday 24 July 2024 14:29:13 -0400 (0:00:00.021) 0:01:02.349 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** Wednesday 24 July 2024 14:29:13 -0400 (0:00:00.026) 0:01:02.376 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** Wednesday 24 July 2024 14:29:13 -0400 (0:00:00.024) 0:01:02.401 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** Wednesday 24 July 2024 14:29:13 -0400 (0:00:00.026) 0:01:02.428 ******** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** Wednesday 24 July 2024 14:29:13 -0400 (0:00:00.032) 0:01:02.460 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** Wednesday 24 July 2024 14:29:18 -0400 (0:00:04.758) 0:01:07.219 ******** ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-07-24 14:29:01 EDT", "ActiveEnterTimestampMonotonic": "9227934", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.service systemd-journald.socket dbus.socket network.target system.slice systemd-sysctl.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-07-24 14:29:00 EDT", "AssertTimestampMonotonic": "8214123", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "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-07-24 14:29:00 EDT", "ConditionTimestampMonotonic": "8214121", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service power-profiles-daemon.service shutdown.target cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "667", "ExecMainStartTimestamp": "Wed 2024-07-24 14:29:00 EDT", "ExecMainStartTimestampMonotonic": "8217441", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Wed 2024-07-24 14:29:00 EDT] ; stop_time=[n/a] ; pid=667 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.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": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-07-24 14:29:00 EDT", "InactiveExitTimestampMonotonic": "8217525", "InvocationID": "644c9ca60af642ebb90cd99ba42142de", "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": "667", "MemoryAccounting": "yes", "MemoryCurrent": "20504576", "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": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.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 dbus.socket dbus.service sysinit.target", "Restart": "no", "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-07-24 14:29:01 EDT", "StateChangeTimestampMonotonic": "9227934", "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": "4", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-07-24 14:29:01 EDT", "WatchdogTimestampMonotonic": "9227930", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** Wednesday 24 July 2024 14:29:18 -0400 (0:00:00.556) 0:01:07.776 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** Wednesday 24 July 2024 14:29:18 -0400 (0:00:00.381) 0:01:08.157 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-8359uy348upy/tmpsgveq8ae/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** Wednesday 24 July 2024 14:29:19 -0400 (0:00:00.418) 0:01:08.576 ******** ok: [managed_node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2VybmVsX3NldHRpbmdzClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKZnMuZmlsZS1tYXggPSA0MDAwMDAKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2NTAwMAo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* Wednesday 24 July 2024 14:29:19 -0400 (0:00:00.368) 0:01:08.945 ******** changed: [managed_node1] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "65000", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** Wednesday 24 July 2024 14:29:20 -0400 (0:00:00.478) 0:01:09.424 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.193666", "end": "2024-07-24 14:29:21.763500", "rc": 0, "start": "2024-07-24 14:29:20.569834" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* Wednesday 24 July 2024 14:29:21 -0400 (0:00:01.566) 0:01:10.990 ******** included: /var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly] *** Wednesday 24 July 2024 14:29:21 -0400 (0:00:00.036) 0:01:11.026 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.122855", "end": "2024-07-24 14:29:22.279974", "rc": 0, "start": "2024-07-24 14:29:22.157119" } STDOUT: Verification succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : Get last verify results from log] *** Wednesday 24 July 2024 14:29:22 -0400 (0:00:00.480) 0:01:11.507 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** Wednesday 24 July 2024 14:29:22 -0400 (0:00:00.027) 0:01:11.534 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** Wednesday 24 July 2024 14:29:22 -0400 (0:00:00.025) 0:01:11.560 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** Wednesday 24 July 2024 14:29:22 -0400 (0:00:00.027) 0:01:11.587 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Reboot the managed host to apply kernel_settings changes] *** Wednesday 24 July 2024 14:29:22 -0400 (0:00:00.022) 0:01:11.610 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Clear the kernel_settings_reboot_required flag] *** Wednesday 24 July 2024 14:29:22 -0400 (0:00:00.025) 0:01:11.635 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Reboot the managed host to apply kernel_settings changes] *** Wednesday 24 July 2024 14:29:22 -0400 (0:00:00.026) 0:01:11.662 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Clear the kernel_settings_reboot_required flag] *** Wednesday 24 July 2024 14:29:22 -0400 (0:00:00.025) 0:01:11.688 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** Wednesday 24 July 2024 14:29:22 -0400 (0:00:00.032) 0:01:11.721 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl after reboot] *********************************************** Wednesday 24 July 2024 14:29:22 -0400 (0:00:00.029) 0:01:11.750 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.005955", "end": "2024-07-24 14:29:22.883543", "rc": 0, "start": "2024-07-24 14:29:22.877588" } TASK [Apply kernel_settings for removing] ************************************** Wednesday 24 July 2024 14:29:22 -0400 (0:00:00.358) 0:01:12.108 ******** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** Wednesday 24 July 2024 14:29:22 -0400 (0:00:00.038) 0:01:12.147 ******** included: /var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** Wednesday 24 July 2024 14:29:22 -0400 (0:00:00.020) 0:01:12.167 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** Wednesday 24 July 2024 14:29:23 -0400 (0:00:00.028) 0:01:12.195 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** Wednesday 24 July 2024 14:29:23 -0400 (0:00:00.025) 0:01:12.221 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** Wednesday 24 July 2024 14:29:23 -0400 (0:00:00.030) 0:01:12.252 ******** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** Wednesday 24 July 2024 14:29:23 -0400 (0:00:00.072) 0:01:12.324 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** Wednesday 24 July 2024 14:29:25 -0400 (0:00:02.696) 0:01:15.021 ******** ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-07-24 14:29:01 EDT", "ActiveEnterTimestampMonotonic": "9227934", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.service systemd-journald.socket dbus.socket network.target system.slice systemd-sysctl.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-07-24 14:29:00 EDT", "AssertTimestampMonotonic": "8214123", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "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-07-24 14:29:00 EDT", "ConditionTimestampMonotonic": "8214121", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service power-profiles-daemon.service shutdown.target cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "667", "ExecMainStartTimestamp": "Wed 2024-07-24 14:29:00 EDT", "ExecMainStartTimestampMonotonic": "8217441", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Wed 2024-07-24 14:29:00 EDT] ; stop_time=[n/a] ; pid=667 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.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": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-07-24 14:29:00 EDT", "InactiveExitTimestampMonotonic": "8217525", "InvocationID": "644c9ca60af642ebb90cd99ba42142de", "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": "667", "MemoryAccounting": "yes", "MemoryCurrent": "20951040", "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": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.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 dbus.socket dbus.service sysinit.target", "Restart": "no", "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-07-24 14:29:01 EDT", "StateChangeTimestampMonotonic": "9227934", "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": "4", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-07-24 14:29:01 EDT", "WatchdogTimestampMonotonic": "9227930", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** Wednesday 24 July 2024 14:29:26 -0400 (0:00:00.500) 0:01:15.521 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** Wednesday 24 July 2024 14:29:26 -0400 (0:00:00.365) 0:01:15.887 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-8359uy348upy/tmpi_q1dtmd/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** Wednesday 24 July 2024 14:29:27 -0400 (0:00:00.374) 0:01:16.262 ******** ok: [managed_node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2VybmVsX3NldHRpbmdzClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2NTAwMAo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* Wednesday 24 July 2024 14:29:27 -0400 (0:00:00.358) 0:01:16.620 ******** changed: [managed_node1] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": { "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "400001", "vm.max_map_count": "65530" }, "sysfs": { "/sys/class/net/lo/mtu": "60666", "/sys/fs/selinux/avc/cache_threshold": "256", "/sys/kernel/debug/x86/ibrs_enabled": "0", "/sys/kernel/debug/x86/pti_enabled": "0", "/sys/kernel/debug/x86/retp_enabled": "0" } }, "reboot_required": false } MSG: Kernel settings were updated. TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** Wednesday 24 July 2024 14:29:27 -0400 (0:00:00.464) 0:01:17.084 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.159451", "end": "2024-07-24 14:29:29.381008", "rc": 0, "start": "2024-07-24 14:29:28.221557" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* Wednesday 24 July 2024 14:29:29 -0400 (0:00:01.522) 0:01:18.606 ******** included: /var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly] *** Wednesday 24 July 2024 14:29:29 -0400 (0:00:00.038) 0:01:18.644 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.120670", "end": "2024-07-24 14:29:29.892408", "rc": 0, "start": "2024-07-24 14:29:29.771738" } STDOUT: Verification succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : Get last verify results from log] *** Wednesday 24 July 2024 14:29:29 -0400 (0:00:00.471) 0:01:19.116 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** Wednesday 24 July 2024 14:29:29 -0400 (0:00:00.027) 0:01:19.144 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** Wednesday 24 July 2024 14:29:29 -0400 (0:00:00.027) 0:01:19.171 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** Wednesday 24 July 2024 14:29:30 -0400 (0:00:00.025) 0:01:19.196 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Reboot the managed host to apply kernel_settings changes] *** Wednesday 24 July 2024 14:29:30 -0400 (0:00:00.023) 0:01:19.220 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Clear the kernel_settings_reboot_required flag] *** Wednesday 24 July 2024 14:29:30 -0400 (0:00:00.026) 0:01:19.246 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Reboot the managed host to apply kernel_settings changes] *** Wednesday 24 July 2024 14:29:30 -0400 (0:00:00.029) 0:01:19.276 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Clear the kernel_settings_reboot_required flag] *** Wednesday 24 July 2024 14:29:30 -0400 (0:00:00.025) 0:01:19.301 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Reboot the managed host to apply kernel_settings changes] *** Wednesday 24 July 2024 14:29:30 -0400 (0:00:00.028) 0:01:19.329 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Clear the kernel_settings_reboot_required flag] *** Wednesday 24 July 2024 14:29:30 -0400 (0:00:00.025) 0:01:19.355 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** Wednesday 24 July 2024 14:29:30 -0400 (0:00:00.029) 0:01:19.385 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ Wednesday 24 July 2024 14:29:30 -0400 (0:00:00.029) 0:01:19.415 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.005902", "end": "2024-07-24 14:29:30.552817", "rc": 0, "start": "2024-07-24 14:29:30.546915" } TASK [Check sysfs after role runs] ********************************************* Wednesday 24 July 2024 14:29:30 -0400 (0:00:00.362) 0:01:19.777 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003078", "end": "2024-07-24 14:29:30.902076", "rc": 0, "start": "2024-07-24 14:29:30.898998" } STDOUT: 60666 TASK [Apply kernel_settings for removing section] ****************************** Wednesday 24 July 2024 14:29:30 -0400 (0:00:00.348) 0:01:20.125 ******** TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** Wednesday 24 July 2024 14:29:30 -0400 (0:00:00.042) 0:01:20.167 ******** included: /var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Ensure ansible_facts used by role] *** Wednesday 24 July 2024 14:29:31 -0400 (0:00:00.021) 0:01:20.188 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** Wednesday 24 July 2024 14:29:31 -0400 (0:00:00.027) 0:01:20.216 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate system is ostree] *** Wednesday 24 July 2024 14:29:31 -0400 (0:00:00.027) 0:01:20.243 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** Wednesday 24 July 2024 14:29:31 -0400 (0:00:00.026) 0:01:20.269 ******** ok: [managed_node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python3-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** Wednesday 24 July 2024 14:29:31 -0400 (0:00:00.037) 0:01:20.307 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** Wednesday 24 July 2024 14:29:33 -0400 (0:00:02.547) 0:01:22.854 ******** ok: [managed_node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-07-24 14:29:01 EDT", "ActiveEnterTimestampMonotonic": "9227934", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.service systemd-journald.socket dbus.socket network.target system.slice systemd-sysctl.service sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-07-24 14:29:00 EDT", "AssertTimestampMonotonic": "8214123", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "com.redhat.tuned", "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-07-24 14:29:00 EDT", "ConditionTimestampMonotonic": "8214121", "ConfigurationDirectoryMode": "0755", "Conflicts": "auto-cpufreq.service power-profiles-daemon.service shutdown.target cpupower.service tlp.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "667", "ExecMainStartTimestamp": "Wed 2024-07-24 14:29:00 EDT", "ExecMainStartTimestampMonotonic": "8217441", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Wed 2024-07-24 14:29:00 EDT] ; stop_time=[n/a] ; pid=667 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.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": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2024-07-24 14:29:00 EDT", "InactiveExitTimestampMonotonic": "8217525", "InvocationID": "644c9ca60af642ebb90cd99ba42142de", "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": "667", "MemoryAccounting": "yes", "MemoryCurrent": "21016576", "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": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.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 dbus.socket dbus.service sysinit.target", "Restart": "no", "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-07-24 14:29:01 EDT", "StateChangeTimestampMonotonic": "9227934", "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": "4", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Wed 2024-07-24 14:29:01 EDT", "WatchdogTimestampMonotonic": "9227930", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** Wednesday 24 July 2024 14:29:34 -0400 (0:00:00.500) 0:01:23.355 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 24, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Generate a configuration for kernel settings] *** Wednesday 24 July 2024 14:29:34 -0400 (0:00:00.372) 0:01:23.727 ******** ok: [managed_node1] => { "changed": false, "dest": "/etc/tuned/kernel_settings/tuned.conf", "src": "/root/.ansible/tmp/ansible-local-8359uy348upy/tmp1axshjfu/kernel_settings.j2" } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** Wednesday 24 July 2024 14:29:34 -0400 (0:00:00.376) 0:01:24.103 ******** ok: [managed_node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2VybmVsX3NldHRpbmdzClttYWluXQpzdW1tYXJ5ID0ga2VybmVsIHNldHRpbmdzCltzeXNjdGxdCmZzLmVwb2xsLm1heF91c2VyX3dhdGNoZXMgPSA3ODU1OTIKdm0ubWF4X21hcF9jb3VudCA9IDY1NTMwCmZzLmZpbGUtbWF4ID0gNDAwMDAxCltzeXNmc10KL3N5cy9mcy9zZWxpbnV4L2F2Yy9jYWNoZV90aHJlc2hvbGQgPSAyNTYKL3N5cy9rZXJuZWwvZGVidWcveDg2L3B0aV9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvcmV0cF9lbmFibGVkID0gMAovc3lzL2tlcm5lbC9kZWJ1Zy94ODYvaWJyc19lbmFibGVkID0gMAovc3lzL2NsYXNzL25ldC9sby9tdHUgPSA2MDY2Ngo=", "encoding": "base64", "source": "/etc/tuned/kernel_settings/tuned.conf" } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* Wednesday 24 July 2024 14:29:35 -0400 (0:00:00.352) 0:01:24.456 ******** changed: [managed_node1] => { "active_profile": "virtual-guest kernel_settings", "changed": true, "message": "", "new_profile": {}, "reboot_required": false } MSG: Kernel settings were updated. TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** Wednesday 24 July 2024 14:29:35 -0400 (0:00:00.464) 0:01:24.921 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.185258", "end": "2024-07-24 14:29:37.247731", "rc": 0, "start": "2024-07-24 14:29:36.062473" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* Wednesday 24 July 2024 14:29:37 -0400 (0:00:01.552) 0:01:26.474 ******** included: /var/ARTIFACTS/work-general1k_1mgwl/plans/general/tree/tmp.hehncHteNn/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml for managed_node1 TASK [fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly] *** Wednesday 24 July 2024 14:29:37 -0400 (0:00:00.038) 0:01:26.512 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.116839", "end": "2024-07-24 14:29:37.758195", "rc": 0, "start": "2024-07-24 14:29:37.641356" } STDOUT: Verification succeeded, current system settings match the preset profile. See TuneD log file ('/var/log/tuned/tuned.log') for details. TASK [fedora.linux_system_roles.kernel_settings : Get last verify results from log] *** Wednesday 24 July 2024 14:29:37 -0400 (0:00:00.470) 0:01:26.983 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Report errors that are not bootloader errors] *** Wednesday 24 July 2024 14:29:37 -0400 (0:00:00.026) 0:01:27.009 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** Wednesday 24 July 2024 14:29:37 -0400 (0:00:00.025) 0:01:27.034 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** Wednesday 24 July 2024 14:29:37 -0400 (0:00:00.025) 0:01:27.060 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Reboot the managed host to apply kernel_settings changes] *** Wednesday 24 July 2024 14:29:37 -0400 (0:00:00.024) 0:01:27.084 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Clear the kernel_settings_reboot_required flag] *** Wednesday 24 July 2024 14:29:37 -0400 (0:00:00.024) 0:01:27.109 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Reboot the managed host to apply kernel_settings changes] *** Wednesday 24 July 2024 14:29:37 -0400 (0:00:00.026) 0:01:27.135 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Clear the kernel_settings_reboot_required flag] *** Wednesday 24 July 2024 14:29:37 -0400 (0:00:00.024) 0:01:27.160 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Reboot the managed host to apply kernel_settings changes] *** Wednesday 24 July 2024 14:29:38 -0400 (0:00:00.024) 0:01:27.184 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Clear the kernel_settings_reboot_required flag] *** Wednesday 24 July 2024 14:29:38 -0400 (0:00:00.026) 0:01:27.210 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Reboot the managed host to apply kernel_settings changes] *** Wednesday 24 July 2024 14:29:38 -0400 (0:00:00.024) 0:01:27.235 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.kernel_settings : Clear the kernel_settings_reboot_required flag] *** Wednesday 24 July 2024 14:29:38 -0400 (0:00:00.027) 0:01:27.263 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** Wednesday 24 July 2024 14:29:38 -0400 (0:00:00.028) 0:01:27.291 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ Wednesday 24 July 2024 14:29:38 -0400 (0:00:00.028) 0:01:27.320 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.005725", "end": "2024-07-24 14:29:38.527652", "rc": 0, "start": "2024-07-24 14:29:38.521927" } TASK [Check sysfs after role runs] ********************************************* Wednesday 24 July 2024 14:29:38 -0400 (0:00:00.431) 0:01:27.751 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.002819", "end": "2024-07-24 14:29:38.876736", "rc": 0, "start": "2024-07-24 14:29:38.873917" } PLAY RECAP ********************************************************************* managed_node1 : ok=69 changed=11 unreachable=0 failed=0 skipped=46 rescued=0 ignored=0 Wednesday 24 July 2024 14:29:38 -0400 (0:00:00.344) 0:01:28.095 ******** =============================================================================== Reboot the machine - see if settings persist after reboot -------------- 45.01s fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 4.76s Ensure required packages are installed ---------------------------------- 2.90s fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 2.77s fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 2.70s fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 2.55s fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.65s fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.57s fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.55s fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.52s Ensure required services are enabled and started ------------------------ 1.10s Gathering Facts --------------------------------------------------------- 0.91s Generate a configuration for kernel settings ---------------------------- 0.78s fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.69s fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.56s fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.52s fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.50s fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started --- 0.50s fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly --- 0.48s fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.48s