ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_change_settings.yml ******************************************** 1 plays in /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml PLAY [Test changing settings] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:2 Saturday 02 November 2024 04:25:49 -0400 (0:00:00.047) 0:00:00.047 ***** ok: [managed-node1] META: ran handlers TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:12 Saturday 02 November 2024 04:25:50 -0400 (0:00:01.037) 0:00:01.085 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:17 Saturday 02 November 2024 04:25:50 -0400 (0:00:00.661) 0:00:01.747 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_is_ostree": false }, "changed": false } TASK [Ensure required packages are installed] ********************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:22 Saturday 02 November 2024 04:25:51 -0400 (0:00:00.124) 0:00:01.871 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "procps-ng-3.3.10-28.el7.x86_64 providing procps-ng is already installed" ] } lsrpackages: procps-ng tuned TASK [See if tuned has a profile subdir] *************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:28 Saturday 02 November 2024 04:25:52 -0400 (0:00:01.148) 0:00:03.019 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set profile dir] ********************************************************* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:33 Saturday 02 November 2024 04:25:52 -0400 (0:00:00.400) 0:00:03.420 ***** ok: [managed-node1] => { "ansible_facts": { "__profile_dir": "/etc/tuned/kernel_settings" }, "changed": false } TASK [Ensure kernel settings profile directory exists] ************************* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:39 Saturday 02 November 2024 04:25:52 -0400 (0:00:00.068) 0:00:03.488 ***** changed: [managed-node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/tuned/kernel_settings", "secontext": "unconfined_u:object_r:tuned_etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Generate a configuration for kernel settings] **************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:45 Saturday 02 November 2024 04:25:53 -0400 (0:00:00.682) 0:00:04.170 ***** 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-1730535953.46-10897-212633933758641/source", "state": "file", "uid": 0 } TASK [Ensure required services are enabled and started] ************************ task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:51 Saturday 02 November 2024 04:25:54 -0400 (0:00:00.789) 0:00:04.960 ***** changed: [managed-node1] => { "changed": true, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:25:43 EDT", "ActiveEnterTimestampMonotonic": "231190388", "ActiveExitTimestamp": "Sat 2024-11-02 04:25:43 EDT", "ActiveExitTimestampMonotonic": "230812576", "ActiveState": "active", "After": "systemd-sysctl.service network.target basic.target system.slice systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:25:43 EDT", "AssertTimestampMonotonic": "231083145", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-02 04:25:43 EDT", "ConditionTimestampMonotonic": "231083143", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10041", "ExecMainStartTimestamp": "Sat 2024-11-02 04:25:43 EDT", "ExecMainStartTimestampMonotonic": "231083879", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:25:43 EDT] ; stop_time=[n/a] ; pid=10041 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-11-02 04:25:43 EDT", "InactiveEnterTimestampMonotonic": "231079811", "InactiveExitTimestamp": "Sat 2024-11-02 04:25:43 EDT", "InactiveExitTimestampMonotonic": "231083914", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "10041", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-02 04:25:43 EDT", "WatchdogTimestampMonotonic": "231190338", "WatchdogUSec": "0" } } TASK [Apply kernel_settings] *************************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:57 Saturday 02 November 2024 04:25:55 -0400 (0:00:01.101) 0:00:06.061 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 02 November 2024 04:25:55 -0400 (0:00:00.214) 0:00:06.276 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 02 November 2024 04:25:55 -0400 (0:00:00.089) 0:00:06.365 ***** included: /tmp/collections-5gp/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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 02 November 2024 04:25:55 -0400 (0:00:00.057) 0:00:06.423 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 02 November 2024 04:25:55 -0400 (0:00:00.067) 0:00:06.490 ***** 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 02 November 2024 04:25:55 -0400 (0:00:00.078) 0:00:06.568 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 02 November 2024 04:25:55 -0400 (0:00:00.058) 0:00:06.627 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 02 November 2024 04:25:56 -0400 (0:00:00.347) 0:00:06.975 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 02 November 2024 04:25:56 -0400 (0:00:00.083) 0:00:07.058 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 02 November 2024 04:25:56 -0400 (0:00:00.081) 0:00:07.139 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 02 November 2024 04:25:56 -0400 (0:00:00.622) 0:00:07.762 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 02 November 2024 04:25:57 -0400 (0:00:00.051) 0:00:07.814 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 02 November 2024 04:25:57 -0400 (0:00:00.060) 0:00:07.874 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 02 November 2024 04:25:57 -0400 (0:00:00.062) 0:00:07.937 ***** ok: [managed-node1] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 02 November 2024 04:25:57 -0400 (0:00:00.539) 0:00:08.476 ***** skipping: [managed-node1] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed-node1] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1730535955.1455824, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1730535953.2675867, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1730535953.2675867, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 02 November 2024 04:25:58 -0400 (0:00:00.707) 0:00:09.183 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 02 November 2024 04:25:58 -0400 (0:00:00.070) 0:00:09.254 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:25:55 EDT", "ActiveEnterTimestampMonotonic": "242453523", "ActiveExitTimestamp": "Sat 2024-11-02 04:25:54 EDT", "ActiveExitTimestampMonotonic": "242193885", "ActiveState": "active", "After": "systemd-sysctl.service network.target basic.target system.slice systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:25:54 EDT", "AssertTimestampMonotonic": "242225876", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-02 04:25:54 EDT", "ConditionTimestampMonotonic": "242225874", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10919", "ExecMainStartTimestamp": "Sat 2024-11-02 04:25:54 EDT", "ExecMainStartTimestampMonotonic": "242226567", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:25:54 EDT] ; stop_time=[n/a] ; pid=10919 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-11-02 04:25:54 EDT", "InactiveEnterTimestampMonotonic": "242225387", "InactiveExitTimestamp": "Sat 2024-11-02 04:25:54 EDT", "InactiveExitTimestampMonotonic": "242226602", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "10919", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-02 04:25:55 EDT", "WatchdogTimestampMonotonic": "242453472", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 02 November 2024 04:25:58 -0400 (0:00:00.504) 0:00:09.759 ***** 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 02 November 2024 04:25:59 -0400 (0:00:00.365) 0:00:10.124 ***** ok: [managed-node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdAo=", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 02 November 2024 04:25:59 -0400 (0:00:00.586) 0:00:10.711 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 02 November 2024 04:25:59 -0400 (0:00:00.056) 0:00:10.768 ***** changed: [managed-node1] => { "changed": true, "checksum": "a79569d3860cb6a066e0e92c8b22ffd0e8796bfd", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "md5sum": "8d80fe3f09ba4b9ac8d7fd5e8541a324", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 30, "src": "/root/.ansible/tmp/ansible-tmp-1730535960.04-11349-237857670506637/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 02 November 2024 04:26:00 -0400 (0:00:00.718) 0:00:11.487 ***** changed: [managed-node1] => { "changed": true, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "md5sum": "cf3f2a865fbea819dadd439586eaee31", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "src": "/root/.ansible/tmp/ansible-tmp-1730535960.82-11400-105949794987001/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 02 November 2024 04:26:01 -0400 (0:00:00.714) 0:00:12.202 ***** ok: [managed-node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "sysctl": { "fs.epoll.max_user_watches": "785592", "fs.file-max": "379724", "kernel.threads-max": "29968", "vm.max_map_count": "65530" }, "sysfs": { "/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" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 02 November 2024 04:26:01 -0400 (0:00:00.412) 0:00:12.615 ***** changed: [managed-node1] => { "changed": true, "checksum": "3feaf86b2638623e3300792e683ce55f91f31e9a", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "ba6aeb244f15eac2bcf15c0dd41fdff5", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 372, "src": "/root/.ansible/tmp/ansible-tmp-1730535961.87-11522-149284860456266/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 02 November 2024 04:26:02 -0400 (0:00:00.800) 0:00:13.416 ***** changed: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:25:55 EDT", "ActiveEnterTimestampMonotonic": "242453523", "ActiveExitTimestamp": "Sat 2024-11-02 04:25:54 EDT", "ActiveExitTimestampMonotonic": "242193885", "ActiveState": "active", "After": "systemd-sysctl.service network.target basic.target system.slice systemd-journald.socket dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:25:54 EDT", "AssertTimestampMonotonic": "242225876", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-02 04:25:54 EDT", "ConditionTimestampMonotonic": "242225874", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10919", "ExecMainStartTimestamp": "Sat 2024-11-02 04:25:54 EDT", "ExecMainStartTimestampMonotonic": "242226567", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:25:54 EDT] ; stop_time=[n/a] ; pid=10919 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-11-02 04:25:54 EDT", "InactiveEnterTimestampMonotonic": "242225387", "InactiveExitTimestamp": "Sat 2024-11-02 04:25:54 EDT", "InactiveExitTimestampMonotonic": "242226602", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "10919", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-02 04:25:55 EDT", "WatchdogTimestampMonotonic": "242453472", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 02 November 2024 04:26:03 -0400 (0:00:00.802) 0:00:14.218 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 02 November 2024 04:26:03 -0400 (0:00:00.072) 0:00:14.291 ***** included: /tmp/collections-5gp/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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 02 November 2024 04:26:03 -0400 (0:00:00.082) 0:00:14.373 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.087805", "end": "2024-11-02 04:26:04.064744", "rc": 0, "start": "2024-11-02 04:26:03.976939" } STDOUT: Verfication 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 02 November 2024 04:26:04 -0400 (0:00:00.625) 0:00:14.999 ***** 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 02 November 2024 04:26:04 -0400 (0:00:00.093) 0:00:15.092 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 02 November 2024 04:26:04 -0400 (0:00:00.068) 0:00:15.160 ***** ok: [managed-node1] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 02 November 2024 04:26:04 -0400 (0:00:00.044) 0:00:15.205 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Ensure kernel_settings_reboot_required is unset or undefined] ************ task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:71 Saturday 02 November 2024 04:26:04 -0400 (0:00:00.090) 0:00:15.296 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:75 Saturday 02 November 2024 04:26:04 -0400 (0:00:00.072) 0:00:15.369 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:79 Saturday 02 November 2024 04:26:04 -0400 (0:00:00.068) 0:00:15.437 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003196", "end": "2024-11-02 04:26:04.912604", "rc": 0, "start": "2024-11-02 04:26:04.909408" } STDOUT: 65000 TASK [Check sysctl after role runs] ******************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:83 Saturday 02 November 2024 04:26:04 -0400 (0:00:00.369) 0:00:15.807 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.006344", "end": "2024-11-02 04:26:05.335281", "rc": 0, "start": "2024-11-02 04:26:05.328937" } STDOUT: 400000 TASK [Check sysctl after role runs] ******************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:89 Saturday 02 November 2024 04:26:05 -0400 (0:00:00.417) 0:00:16.224 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.004916", "end": "2024-11-02 04:26:05.686121", "rc": 0, "start": "2024-11-02 04:26:05.681205" } TASK [Reboot the machine - see if settings persist after reboot] *************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:95 Saturday 02 November 2024 04:26:05 -0400 (0:00:00.351) 0:00:16.575 ***** changed: [managed-node1] => { "changed": true, "elapsed": 22, "rebooted": true } TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:99 Saturday 02 November 2024 04:26:28 -0400 (0:00:22.968) 0:00:39.544 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -x 400000", "delta": "0:00:00.005589", "end": "2024-11-02 04:26:28.212836", "rc": 0, "start": "2024-11-02 04:26:28.207247" } STDOUT: 400000 TASK [Check sysfs after reboot] ************************************************ task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:105 Saturday 02 November 2024 04:26:29 -0400 (0:00:00.273) 0:00:39.818 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "-x", "65000", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003055", "end": "2024-11-02 04:26:28.473323", "rc": 0, "start": "2024-11-02 04:26:28.470268" } STDOUT: 65000 TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:109 Saturday 02 November 2024 04:26:29 -0400 (0:00:00.261) 0:00:40.079 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n kernel.threads-max | grep -Lxvq 29968", "delta": "0:00:00.005204", "end": "2024-11-02 04:26:28.764009", "rc": 0, "start": "2024-11-02 04:26:28.758805" } TASK [Check with tuned verify] ************************************************* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:115 Saturday 02 November 2024 04:26:29 -0400 (0:00:00.267) 0:00:40.347 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.090535", "end": "2024-11-02 04:26:29.132602", "rc": 0, "start": "2024-11-02 04:26:29.042067" } STDOUT: Verfication 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] ************************************ task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:119 Saturday 02 November 2024 04:26:29 -0400 (0:00:00.345) 0:00:40.692 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 02 November 2024 04:26:29 -0400 (0:00:00.092) 0:00:40.785 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 02 November 2024 04:26:30 -0400 (0:00:00.092) 0:00:40.877 ***** included: /tmp/collections-5gp/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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 02 November 2024 04:26:30 -0400 (0:00:00.069) 0:00:40.946 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 02 November 2024 04:26:30 -0400 (0:00:00.047) 0:00:40.994 ***** 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 02 November 2024 04:26:30 -0400 (0:00:00.044) 0:00:41.038 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 02 November 2024 04:26:30 -0400 (0:00:00.043) 0:00:41.082 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 02 November 2024 04:26:30 -0400 (0:00:00.043) 0:00:41.125 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 02 November 2024 04:26:30 -0400 (0:00:00.047) 0:00:41.172 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 02 November 2024 04:26:30 -0400 (0:00:00.063) 0:00:41.236 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 02 November 2024 04:26:31 -0400 (0:00:00.663) 0:00:41.899 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 02 November 2024 04:26:31 -0400 (0:00:00.044) 0:00:41.944 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 02 November 2024 04:26:31 -0400 (0:00:00.044) 0:00:41.988 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 02 November 2024 04:26:31 -0400 (0:00:00.044) 0:00:42.033 ***** ok: [managed-node1] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 02 November 2024 04:26:31 -0400 (0:00:00.288) 0:00:42.321 ***** skipping: [managed-node1] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed-node1] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1730535963.2825642, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1730535961.3165686, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1730535961.3165686, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 02 November 2024 04:26:32 -0400 (0:00:00.557) 0:00:42.879 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 02 November 2024 04:26:32 -0400 (0:00:00.049) 0:00:42.928 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:26:23 EDT", "ActiveEnterTimestampMonotonic": "7584070", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service network.target system.slice dbus.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:26:22 EDT", "AssertTimestampMonotonic": "7201924", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-02 04:26:22 EDT", "ConditionTimestampMonotonic": "7201923", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "865", "ExecMainStartTimestamp": "Sat 2024-11-02 04:26:22 EDT", "ExecMainStartTimestampMonotonic": "7202619", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:26:22 EDT] ; stop_time=[n/a] ; pid=865 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-11-02 04:26:22 EDT", "InactiveExitTimestampMonotonic": "7202661", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "865", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-02 04:26:23 EDT", "WatchdogTimestampMonotonic": "7583785", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 02 November 2024 04:26:32 -0400 (0:00:00.395) 0:00:43.324 ***** 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 02 November 2024 04:26:32 -0400 (0:00:00.297) 0:00:43.621 ***** ok: [managed-node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 02 November 2024 04:26:33 -0400 (0:00:00.284) 0:00:43.905 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 02 November 2024 04:26:33 -0400 (0:00:00.048) 0:00:43.954 ***** ok: [managed-node1] => { "changed": false, "checksum": "a79569d3860cb6a066e0e92c8b22ffd0e8796bfd", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/active_profile", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 30, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 02 November 2024 04:26:33 -0400 (0:00:00.473) 0:00:44.427 ***** ok: [managed-node1] => { "changed": false, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/profile_mode", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 02 November 2024 04:26:34 -0400 (0:00:00.477) 0:00:44.905 ***** ok: [managed-node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "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" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 02 November 2024 04:26:34 -0400 (0:00:00.292) 0:00:45.198 ***** changed: [managed-node1] => { "changed": true, "checksum": "221aa34fef95c2fe05408be9921820449785a5b2", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "9c36ebcc135366fa59ab6f2f2da76a73", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 351, "src": "/root/.ansible/tmp/ansible-tmp-1730535994.45-13159-219711395431988/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 02 November 2024 04:26:34 -0400 (0:00:00.573) 0:00:45.771 ***** skipping: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "item": "tuned", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 02 November 2024 04:26:35 -0400 (0:00:00.048) 0:00:45.820 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.277787", "end": "2024-11-02 04:26:36.287763", "rc": 0, "start": "2024-11-02 04:26:35.009976" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 02 November 2024 04:26:36 -0400 (0:00:01.474) 0:00:47.295 ***** included: /tmp/collections-5gp/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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 02 November 2024 04:26:36 -0400 (0:00:00.062) 0:00:47.357 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.087701", "end": "2024-11-02 04:26:36.733044", "rc": 0, "start": "2024-11-02 04:26:36.645343" } STDOUT: Verfication 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 02 November 2024 04:26:36 -0400 (0:00:00.349) 0:00:47.706 ***** 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 02 November 2024 04:26:36 -0400 (0:00:00.044) 0:00:47.751 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 02 November 2024 04:26:36 -0400 (0:00:00.044) 0:00:47.795 ***** ok: [managed-node1] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.022) 0:00:47.818 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } META: ran handlers TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:133 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.047) 0:00:47.866 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:137 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.046) 0:00:47.913 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl after reboot] *********************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:141 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.046) 0:00:47.959 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lxvq 400000", "delta": "0:00:00.007032", "end": "2024-11-02 04:26:37.296692", "rc": 0, "start": "2024-11-02 04:26:37.289660" } TASK [Apply kernel_settings for removing] ************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:147 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.270) 0:00:48.229 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.111) 0:00:48.340 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.055) 0:00:48.396 ***** included: /tmp/collections-5gp/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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.037) 0:00:48.433 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.046) 0:00:48.479 ***** 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.043) 0:00:48.522 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.042) 0:00:48.565 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.043) 0:00:48.609 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.043) 0:00:48.652 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 02 November 2024 04:26:37 -0400 (0:00:00.063) 0:00:48.715 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 02 November 2024 04:26:38 -0400 (0:00:00.533) 0:00:49.249 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 02 November 2024 04:26:38 -0400 (0:00:00.043) 0:00:49.292 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 02 November 2024 04:26:38 -0400 (0:00:00.042) 0:00:49.335 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 02 November 2024 04:26:38 -0400 (0:00:00.043) 0:00:49.378 ***** ok: [managed-node1] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 02 November 2024 04:26:38 -0400 (0:00:00.284) 0:00:49.663 ***** skipping: [managed-node1] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed-node1] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1730535963.2825642, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1730535961.3165686, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1730535961.3165686, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 02 November 2024 04:26:39 -0400 (0:00:00.572) 0:00:50.236 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 02 November 2024 04:26:39 -0400 (0:00:00.049) 0:00:50.286 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:26:23 EDT", "ActiveEnterTimestampMonotonic": "7584070", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service network.target system.slice dbus.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:26:22 EDT", "AssertTimestampMonotonic": "7201924", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-02 04:26:22 EDT", "ConditionTimestampMonotonic": "7201923", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "865", "ExecMainStartTimestamp": "Sat 2024-11-02 04:26:22 EDT", "ExecMainStartTimestampMonotonic": "7202619", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:26:22 EDT] ; stop_time=[n/a] ; pid=865 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-11-02 04:26:22 EDT", "InactiveExitTimestampMonotonic": "7202661", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "865", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-02 04:26:23 EDT", "WatchdogTimestampMonotonic": "7583785", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 02 November 2024 04:26:39 -0400 (0:00:00.385) 0:00:50.671 ***** 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 02 November 2024 04:26:40 -0400 (0:00:00.297) 0:00:50.969 ***** ok: [managed-node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 02 November 2024 04:26:40 -0400 (0:00:00.285) 0:00:51.254 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 02 November 2024 04:26:40 -0400 (0:00:00.048) 0:00:51.302 ***** ok: [managed-node1] => { "changed": false, "checksum": "a79569d3860cb6a066e0e92c8b22ffd0e8796bfd", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/active_profile", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 30, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 02 November 2024 04:26:40 -0400 (0:00:00.477) 0:00:51.780 ***** ok: [managed-node1] => { "changed": false, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/profile_mode", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 02 November 2024 04:26:41 -0400 (0:00:00.479) 0:00:52.260 ***** ok: [managed-node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "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" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 02 November 2024 04:26:41 -0400 (0:00:00.286) 0:00:52.546 ***** changed: [managed-node1] => { "changed": true, "checksum": "3107bf46f5c007ef178305bb243dd11664f9bf35", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "1fd7f2202613b516022cf613601e26bd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 372, "src": "/root/.ansible/tmp/ansible-tmp-1730536001.8-13363-226649584681561/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 02 November 2024 04:26:42 -0400 (0:00:00.573) 0:00:53.120 ***** skipping: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "item": "tuned", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 02 November 2024 04:26:42 -0400 (0:00:00.047) 0:00:53.167 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.713241", "end": "2024-11-02 04:26:44.314765", "rc": 0, "start": "2024-11-02 04:26:42.601524" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 02 November 2024 04:26:44 -0400 (0:00:02.006) 0:00:55.174 ***** included: /tmp/collections-5gp/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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 02 November 2024 04:26:44 -0400 (0:00:00.114) 0:00:55.288 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.084408", "end": "2024-11-02 04:26:44.776484", "rc": 0, "start": "2024-11-02 04:26:44.692076" } STDOUT: Verfication 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 02 November 2024 04:26:44 -0400 (0:00:00.348) 0:00:55.637 ***** 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 02 November 2024 04:26:44 -0400 (0:00:00.116) 0:00:55.753 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 02 November 2024 04:26:44 -0400 (0:00:00.045) 0:00:55.799 ***** ok: [managed-node1] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 02 November 2024 04:26:45 -0400 (0:00:00.023) 0:00:55.822 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } META: ran handlers TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:162 Saturday 02 November 2024 04:26:45 -0400 (0:00:00.048) 0:00:55.871 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:166 Saturday 02 November 2024 04:26:45 -0400 (0:00:00.048) 0:00:55.919 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:170 Saturday 02 November 2024 04:26:45 -0400 (0:00:00.046) 0:00:55.966 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -qx 400001", "delta": "0:00:00.005213", "end": "2024-11-02 04:26:45.437786", "rc": 0, "start": "2024-11-02 04:26:45.432573" } TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:176 Saturday 02 November 2024 04:26:45 -0400 (0:00:00.331) 0:00:56.298 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "-x", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.002979", "end": "2024-11-02 04:26:45.703140", "rc": 0, "start": "2024-11-02 04:26:45.700161" } STDOUT: 60666 TASK [Apply kernel_settings for removing section] ****************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:180 Saturday 02 November 2024 04:26:45 -0400 (0:00:00.261) 0:00:56.560 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 02 November 2024 04:26:45 -0400 (0:00:00.132) 0:00:56.692 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 02 November 2024 04:26:45 -0400 (0:00:00.048) 0:00:56.741 ***** included: /tmp/collections-5gp/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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 02 November 2024 04:26:45 -0400 (0:00:00.039) 0:00:56.781 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 02 November 2024 04:26:46 -0400 (0:00:00.047) 0:00:56.829 ***** 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 02 November 2024 04:26:46 -0400 (0:00:00.044) 0:00:56.873 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 02 November 2024 04:26:46 -0400 (0:00:00.044) 0:00:56.917 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 02 November 2024 04:26:46 -0400 (0:00:00.044) 0:00:56.962 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 02 November 2024 04:26:46 -0400 (0:00:00.044) 0:00:57.006 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 02 November 2024 04:26:46 -0400 (0:00:00.061) 0:00:57.067 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 02 November 2024 04:26:46 -0400 (0:00:00.533) 0:00:57.601 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 02 November 2024 04:26:46 -0400 (0:00:00.044) 0:00:57.646 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 02 November 2024 04:26:46 -0400 (0:00:00.044) 0:00:57.691 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 02 November 2024 04:26:46 -0400 (0:00:00.044) 0:00:57.735 ***** ok: [managed-node1] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 02 November 2024 04:26:47 -0400 (0:00:00.284) 0:00:58.020 ***** skipping: [managed-node1] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed-node1] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1730535963.2825642, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1730535961.3165686, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1730535961.3165686, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 02 November 2024 04:26:47 -0400 (0:00:00.561) 0:00:58.582 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 02 November 2024 04:26:47 -0400 (0:00:00.048) 0:00:58.631 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:26:23 EDT", "ActiveEnterTimestampMonotonic": "7584070", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service network.target system.slice dbus.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:26:22 EDT", "AssertTimestampMonotonic": "7201924", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-02 04:26:22 EDT", "ConditionTimestampMonotonic": "7201923", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "865", "ExecMainStartTimestamp": "Sat 2024-11-02 04:26:22 EDT", "ExecMainStartTimestampMonotonic": "7202619", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:26:22 EDT] ; stop_time=[n/a] ; pid=865 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-11-02 04:26:22 EDT", "InactiveExitTimestampMonotonic": "7202661", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "865", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-02 04:26:23 EDT", "WatchdogTimestampMonotonic": "7583785", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 02 November 2024 04:26:48 -0400 (0:00:00.376) 0:00:59.007 ***** 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 02 November 2024 04:26:48 -0400 (0:00:00.294) 0:00:59.302 ***** ok: [managed-node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 02 November 2024 04:26:48 -0400 (0:00:00.278) 0:00:59.581 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 02 November 2024 04:26:48 -0400 (0:00:00.049) 0:00:59.630 ***** ok: [managed-node1] => { "changed": false, "checksum": "a79569d3860cb6a066e0e92c8b22ffd0e8796bfd", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/active_profile", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 30, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 02 November 2024 04:26:49 -0400 (0:00:00.474) 0:01:00.104 ***** ok: [managed-node1] => { "changed": false, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/profile_mode", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 02 November 2024 04:26:49 -0400 (0:00:00.473) 0:01:00.577 ***** ok: [managed-node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "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" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 02 November 2024 04:26:50 -0400 (0:00:00.284) 0:01:00.862 ***** changed: [managed-node1] => { "changed": true, "checksum": "0b586509c0bdce12a2dde058e3374dab88cf7f2c", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "394928e588644c456053f3dec5f7c2ba", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 121, "src": "/root/.ansible/tmp/ansible-tmp-1730536010.11-13579-78850995271349/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 02 November 2024 04:26:50 -0400 (0:00:00.571) 0:01:01.434 ***** skipping: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "item": "tuned", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 02 November 2024 04:26:50 -0400 (0:00:00.049) 0:01:01.483 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.434789", "end": "2024-11-02 04:26:52.349282", "rc": 0, "start": "2024-11-02 04:26:50.914493" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 02 November 2024 04:26:52 -0400 (0:00:01.728) 0:01:03.212 ***** included: /tmp/collections-5gp/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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 02 November 2024 04:26:52 -0400 (0:00:00.062) 0:01:03.274 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.081951", "end": "2024-11-02 04:26:52.766254", "rc": 0, "start": "2024-11-02 04:26:52.684303" } STDOUT: Verfication 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 02 November 2024 04:26:52 -0400 (0:00:00.354) 0:01:03.629 ***** 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 02 November 2024 04:26:52 -0400 (0:00:00.044) 0:01:03.673 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 02 November 2024 04:26:52 -0400 (0:00:00.043) 0:01:03.717 ***** ok: [managed-node1] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 02 November 2024 04:26:52 -0400 (0:00:00.023) 0:01:03.740 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } META: ran handlers TASK [Ensure kernel_settings_reboot_required is not set or is false] *********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:194 Saturday 02 November 2024 04:26:52 -0400 (0:00:00.046) 0:01:03.787 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Ensure role reported changed] ******************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:198 Saturday 02 November 2024 04:26:53 -0400 (0:00:00.046) 0:01:03.834 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Check sysctl] ************************************************************ task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:202 Saturday 02 November 2024 04:26:53 -0400 (0:00:00.047) 0:01:03.881 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsysctl -n fs.file-max | grep -Lvxq 400001", "delta": "0:00:00.005121", "end": "2024-11-02 04:26:53.294397", "rc": 0, "start": "2024-11-02 04:26:53.289276" } TASK [Check sysfs after role runs] ********************************************* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:208 Saturday 02 November 2024 04:26:53 -0400 (0:00:00.273) 0:01:04.154 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "-Lxqv", "60666", "/sys/class/net/lo/mtu" ], "delta": "0:00:00.003434", "end": "2024-11-02 04:26:53.565994", "rc": 0, "start": "2024-11-02 04:26:53.562560" } TASK [Cleanup] ***************************************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:213 Saturday 02 November 2024 04:26:53 -0400 (0:00:00.270) 0:01:04.425 ***** included: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml for managed-node1 TASK [Show current tuned profile settings] ************************************* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:2 Saturday 02 November 2024 04:26:53 -0400 (0:00:00.083) 0:01:04.508 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "cat", "/etc/tuned/kernel_settings/tuned.conf" ], "delta": "0:00:00.002986", "end": "2024-11-02 04:26:53.949054", "rc": 0, "start": "2024-11-02 04:26:53.946068" } STDOUT: # # Ansible managed # # system_role:kernel_settings [main] summary = kernel settings [vm] transparent_hugepages = never TASK [Run role with purge to remove everything] ******************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:9 Saturday 02 November 2024 04:26:53 -0400 (0:00:00.301) 0:01:04.809 ***** TASK [fedora.linux_system_roles.kernel_settings : Check sysctl settings for boolean values] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:2 Saturday 02 November 2024 04:26:54 -0400 (0:00:00.065) 0:01:04.875 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set version specific variables] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:9 Saturday 02 November 2024 04:26:54 -0400 (0:00:00.050) 0:01:04.925 ***** included: /tmp/collections-5gp/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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:2 Saturday 02 November 2024 04:26:54 -0400 (0:00:00.039) 0:01:04.965 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if system is ostree] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:10 Saturday 02 November 2024 04:26:54 -0400 (0:00:00.047) 0:01:05.013 ***** 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:15 Saturday 02 November 2024 04:26:54 -0400 (0:00:00.047) 0:01:05.060 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:22 Saturday 02 November 2024 04:26:54 -0400 (0:00:00.140) 0:01:05.200 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set flag if transactional-update exists] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:27 Saturday 02 November 2024 04:26:54 -0400 (0:00:00.047) 0:01:05.247 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set platform/version specific variables] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/set_vars.yml:31 Saturday 02 November 2024 04:26:54 -0400 (0:00:00.045) 0:01:05.293 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_packages": [ "tuned", "python-configobj" ], "__kernel_settings_services": [ "tuned" ] }, "ansible_included_var_files": [ "/tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/vars/CentOS_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required packages are installed] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Saturday 02 November 2024 04:26:54 -0400 (0:00:00.067) 0:01:05.360 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-2.11.0-12.el7_9.noarch providing tuned is already installed", "python-configobj-4.7.2-7.el7.noarch providing python-configobj is already installed" ] } lsrpackages: python-configobj tuned TASK [fedora.linux_system_roles.kernel_settings : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:24 Saturday 02 November 2024 04:26:55 -0400 (0:00:00.548) 0:01:05.909 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.kernel_settings : Reboot transactional update systems] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:29 Saturday 02 November 2024 04:26:55 -0400 (0:00:00.045) 0:01:05.954 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Fail if reboot is needed and not set] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:34 Saturday 02 November 2024 04:26:55 -0400 (0:00:00.046) 0:01:06.001 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Read tuned main config] ****** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:42 Saturday 02 November 2024 04:26:55 -0400 (0:00:00.047) 0:01:06.048 ***** ok: [managed-node1] => { "changed": false, "data": { "daemon": "1", "default_instance_priority": "0", "dynamic_tuning": "0", "log_file_count": "2", "log_file_max_size": "1MB", "reapply_sysctl": "1", "recommend_command": "1", "sleep_interval": "1", "udev_buffer_size": "1MB", "update_interval": "10" } } TASK [fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Saturday 02 November 2024 04:26:55 -0400 (0:00:00.303) 0:01:06.352 ***** skipping: [managed-node1] => (item=) => { "ansible_loop_var": "item", "changed": false, "item": "", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=/etc/tuned/profiles) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned/profiles", "stat": { "exists": false } } ok: [managed-node1] => (item=/etc/tuned) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/tuned", "stat": { "atime": 1730535963.2825642, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1730535961.3165686, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 144293, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1730535961.3165686, "nlink": 4, "path": "/etc/tuned", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744072852933110", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [fedora.linux_system_roles.kernel_settings : Set tuned profile parent dir] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:63 Saturday 02 November 2024 04:26:56 -0400 (0:00:00.584) 0:01:06.936 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_profile_parent": "/etc/tuned" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure required services are enabled and started] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:67 Saturday 02 November 2024 04:26:56 -0400 (0:00:00.052) 0:01:06.988 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:26:23 EDT", "ActiveEnterTimestampMonotonic": "7584070", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service network.target system.slice dbus.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:26:22 EDT", "AssertTimestampMonotonic": "7201924", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-02 04:26:22 EDT", "ConditionTimestampMonotonic": "7201923", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "865", "ExecMainStartTimestamp": "Sat 2024-11-02 04:26:22 EDT", "ExecMainStartTimestampMonotonic": "7202619", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:26:22 EDT] ; stop_time=[n/a] ; pid=865 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-11-02 04:26:22 EDT", "InactiveExitTimestampMonotonic": "7202661", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "865", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-02 04:26:23 EDT", "WatchdogTimestampMonotonic": "7583785", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel settings profile directory exists] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:74 Saturday 02 November 2024 04:26:56 -0400 (0:00:00.392) 0:01:07.380 ***** 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get active_profile] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:80 Saturday 02 November 2024 04:26:56 -0400 (0:00:00.310) 0:01:07.691 ***** ok: [managed-node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [fedora.linux_system_roles.kernel_settings : Set active_profile] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:85 Saturday 02 November 2024 04:26:57 -0400 (0:00:00.291) 0:01:07.983 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_active_profile": "virtual-guest kernel_settings" }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 Saturday 02 November 2024 04:26:57 -0400 (0:00:00.050) 0:01:08.033 ***** ok: [managed-node1] => { "changed": false, "checksum": "a79569d3860cb6a066e0e92c8b22ffd0e8796bfd", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/active_profile", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 30, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Set profile_mode to manual] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 Saturday 02 November 2024 04:26:57 -0400 (0:00:00.486) 0:01:08.520 ***** ok: [managed-node1] => { "changed": false, "checksum": "3ef9f23deed2e23d3ef2b88b842fb882313e15ce", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/etc/tuned/profile_mode", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 7, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Get current config] ********** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:107 Saturday 02 November 2024 04:26:58 -0400 (0:00:00.487) 0:01:09.007 ***** ok: [managed-node1] => { "changed": false, "data": { "main": { "summary": "kernel settings" }, "vm": { "transparent_hugepages": "never" } } } TASK [fedora.linux_system_roles.kernel_settings : Apply kernel settings] ******* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Saturday 02 November 2024 04:26:58 -0400 (0:00:00.296) 0:01:09.303 ***** changed: [managed-node1] => { "changed": true, "checksum": "e44ba7fc7046252a1b6772f7347d0e7b9b48a069", "dest": "/etc/tuned/kernel_settings/tuned.conf", "gid": 0, "group": "root", "md5sum": "7d83891795eeb6debeff7e2812501630", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 86, "src": "/root/.ansible/tmp/ansible-tmp-1730536018.55-13806-132521205597730/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 Saturday 02 November 2024 04:26:59 -0400 (0:00:00.591) 0:01:09.894 ***** skipping: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "item": "tuned", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Tuned apply settings] ******** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Saturday 02 November 2024 04:26:59 -0400 (0:00:00.049) 0:01:09.944 ***** changed: [managed-node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest kernel_settings" ], "delta": "0:00:01.990409", "end": "2024-11-02 04:27:01.373495", "rc": 0, "start": "2024-11-02 04:26:59.383086" } TASK [fedora.linux_system_roles.kernel_settings : Verify settings] ************* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:166 Saturday 02 November 2024 04:27:01 -0400 (0:00:02.292) 0:01:12.236 ***** included: /tmp/collections-5gp/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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 Saturday 02 November 2024 04:27:01 -0400 (0:00:00.067) 0:01:12.304 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "verify", "-i" ], "delta": "0:00:00.081660", "end": "2024-11-02 04:27:01.801247", "rc": 0, "start": "2024-11-02 04:27:01.719587" } STDOUT: Verfication 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:12 Saturday 02 November 2024 04:27:01 -0400 (0:00:00.358) 0:01:12.663 ***** 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] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:23 Saturday 02 November 2024 04:27:01 -0400 (0:00:00.044) 0:01:12.708 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kernel_settings : Set the flag that reboot is needed to apply changes] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:177 Saturday 02 November 2024 04:27:01 -0400 (0:00:00.044) 0:01:12.753 ***** ok: [managed-node1] => { "ansible_facts": { "kernel_settings_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kernel_settings : Set flag to indicate changed for testing] *** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:181 Saturday 02 November 2024 04:27:01 -0400 (0:00:00.023) 0:01:12.777 ***** ok: [managed-node1] => { "ansible_facts": { "__kernel_settings_changed": true }, "changed": false } TASK [Verify no settings] ****************************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:20 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.047) 0:01:12.824 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euxo pipefail\nexec 1>&2\nrc=0\nconf=/etc/tuned/kernel_settings/tuned.conf\nfor section in sysctl sysfs systemd vm; do\n if grep ^\\\\[\"$section\"\\\\] \"$conf\"; then\n echo ERROR: \"$section\" settings present\n rc=1\n fi\ndone\nexit \"$rc\"\n", "delta": "0:00:00.007101", "end": "2024-11-02 04:27:02.273185", "rc": 0, "start": "2024-11-02 04:27:02.266084" } STDERR: + exec + rc=0 + conf=/etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[sysctl\]' /etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[sysfs\]' /etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[systemd\]' /etc/tuned/kernel_settings/tuned.conf + for section in sysctl sysfs systemd vm + grep '^\[vm\]' /etc/tuned/kernel_settings/tuned.conf + exit 0 TASK [Remove kernel_settings tuned profile] ************************************ task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:36 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.309) 0:01:13.133 ***** changed: [managed-node1] => { "changed": true, "path": "/etc/tuned/kernel_settings", "state": "absent" } TASK [Get active_profile] ****************************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:41 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.302) 0:01:13.436 ***** ok: [managed-node1] => { "changed": false, "content": "dmlydHVhbC1ndWVzdCBrZXJuZWxfc2V0dGluZ3MK", "encoding": "base64", "source": "/etc/tuned/active_profile" } TASK [Ensure kernel_settings is not in active_profile] ************************* task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:46 Saturday 02 November 2024 04:27:02 -0400 (0:00:00.294) 0:01:13.730 ***** changed: [managed-node1] => { "changed": true, "checksum": "633f07e1b5698d04352d5dca735869bf2fe77897", "dest": "/etc/tuned/active_profile", "gid": 0, "group": "root", "md5sum": "9a561d913bcdb5a659ec2dd035975a8e", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:tuned_rw_etc_t:s0", "size": 14, "src": "/root/.ansible/tmp/ansible-tmp-1730536022.98-13894-101191866735119/source", "state": "file", "uid": 0 } TASK [Set profile_mode to auto] ************************************************ task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:57 Saturday 02 November 2024 04:27:03 -0400 (0:00:00.545) 0:01:14.276 ***** changed: [managed-node1] => { "changed": true, "checksum": "43683f4e92c48be4b00ddd86e011a4f27fcdbeb5", "dest": "/etc/tuned/profile_mode", "gid": 0, "group": "root", "md5sum": "451e20aff0f489cd2f7d4d73533aa961", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:tuned_etc_t:s0", "size": 5, "src": "/root/.ansible/tmp/ansible-tmp-1730536023.53-13910-66679352817919/source", "state": "file", "uid": 0 } TASK [Restart tuned] *********************************************************** task path: /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tasks/cleanup.yml:64 Saturday 02 November 2024 04:27:04 -0400 (0:00:00.544) 0:01:14.821 ***** ok: [managed-node1] => (item=tuned) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tuned", "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-02 04:26:23 EDT", "ActiveEnterTimestampMonotonic": "7584070", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service network.target system.slice dbus.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-02 04:26:22 EDT", "AssertTimestampMonotonic": "7201924", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-02 04:26:22 EDT", "ConditionTimestampMonotonic": "7201923", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "865", "ExecMainStartTimestamp": "Sat 2024-11-02 04:26:22 EDT", "ExecMainStartTimestampMonotonic": "7202619", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[Sat 2024-11-02 04:26:22 EDT] ; stop_time=[n/a] ; pid=865 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-11-02 04:26:22 EDT", "InactiveExitTimestampMonotonic": "7202661", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "865", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-11-02 04:26:23 EDT", "WatchdogTimestampMonotonic": "7583785", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=135 changed=19 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 Saturday 02 November 2024 04:27:04 -0400 (0:00:00.388) 0:01:15.210 ***** =============================================================================== Reboot the machine - see if settings persist after reboot -------------- 22.97s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:95 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 2.29s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 2.01s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.73s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 fedora.linux_system_roles.kernel_settings : Tuned apply settings -------- 1.47s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:157 Ensure required packages are installed ---------------------------------- 1.15s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:22 Ensure required services are enabled and started ------------------------ 1.10s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:51 Gathering Facts --------------------------------------------------------- 1.04s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:2 fedora.linux_system_roles.kernel_settings : Restart tuned to apply active profile, mode changes --- 0.80s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:149 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.80s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112 Generate a configuration for kernel settings ---------------------------- 0.79s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:45 fedora.linux_system_roles.kernel_settings : Ensure kernel_settings is in active_profile --- 0.72s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:91 fedora.linux_system_roles.kernel_settings : Set profile_mode to manual --- 0.71s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:99 fedora.linux_system_roles.kernel_settings : Find tuned profile parent directory --- 0.71s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:50 Ensure kernel settings profile directory exists ------------------------- 0.68s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:39 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.66s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 Check if system is ostree ----------------------------------------------- 0.66s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/tests/kernel_settings/tests_change_settings.yml:12 fedora.linux_system_roles.kernel_settings : Check that settings are applied correctly --- 0.63s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/verify_settings.yml:2 fedora.linux_system_roles.kernel_settings : Ensure required packages are installed --- 0.62s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:12 fedora.linux_system_roles.kernel_settings : Apply kernel settings ------- 0.59s /tmp/collections-5gp/ansible_collections/fedora/linux_system_roles/roles/kernel_settings/tasks/main.yml:112