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_default_reboot.yml ********************************************* 1 plays in /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml PLAY [Ensure that the rule runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:2 Saturday 27 July 2024 03:21:21 -0400 (0:00:00.022) 0:00:00.022 ********* ok: [managed_node1] META: ran handlers TASK [Run the role and reboot if necessary] ************************************ task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:11 Saturday 27 July 2024 03:21:22 -0400 (0:00:00.870) 0:00:00.892 ********* TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 27 July 2024 03:21:22 -0400 (0:00:00.132) 0:00:01.025 ********* included: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 27 July 2024 03:21:22 -0400 (0:00:00.030) 0:00:01.055 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 27 July 2024 03:21:22 -0400 (0:00:00.038) 0:00:01.094 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 27 July 2024 03:21:23 -0400 (0:00:00.396) 0:00:01.490 ********* ok: [managed_node1] => { "ansible_facts": { "__kdump_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 27 July 2024 03:21:23 -0400 (0:00:00.069) 0:00:01.560 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 27 July 2024 03:21:23 -0400 (0:00:00.101) 0:00:01.661 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed", "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "kexec-tools-2.0.15-51.el7_9.3.x86_64 providing kexec-tools is already installed", "openssh-clients-7.4p1-23.el7_9.x86_64 providing openssh-clients is already installed" ] } lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 27 July 2024 03:21:23 -0400 (0:00:00.635) 0:00:02.296 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 03:21:13 EDT", "ActiveEnterTimestampMonotonic": "217482321", "ActiveExitTimestamp": "Sat 2024-07-27 03:20:58 EDT", "ActiveExitTimestampMonotonic": "202926244", "ActiveState": "active", "After": "remote-fs.target systemd-journald.socket network-online.target system.slice network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 03:20:58 EDT", "AssertTimestampMonotonic": "202962076", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 03:20:58 EDT", "ConditionTimestampMonotonic": "202962075", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-27 03:21:13 EDT", "ExecMainExitTimestampMonotonic": "217481780", "ExecMainPID": "8563", "ExecMainStartTimestamp": "Sat 2024-07-27 03:20:58 EDT", "ExecMainStartTimestampMonotonic": "202962506", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:20:58 EDT] ; stop_time=[Sat 2024-07-27 03:21:13 EDT] ; pid=8563 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:20:58 EDT] ; stop_time=[Sat 2024-07-27 03:20:58 EDT] ; pid=8554 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-07-27 03:20:58 EDT", "InactiveEnterTimestampMonotonic": "202961241", "InactiveExitTimestamp": "Sat 2024-07-27 03:20:58 EDT", "InactiveExitTimestampMonotonic": "202962535", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "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": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 27 July 2024 03:21:24 -0400 (0:00:00.590) 0:00:02.887 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 27 July 2024 03:21:24 -0400 (0:00:00.038) 0:00:02.926 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722064858.6825147, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5eea1b4829897f2843bafdff6b482ed722029483", "ctime": 1722064857.218505, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262335, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722064857.0255034, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 77, "uid": 0, "version": "1944027174", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/kdump.conf] ************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 27 July 2024 03:21:24 -0400 (0:00:00.275) 0:00:03.201 ********* NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed_node1 changed: [managed_node1] => { "backup_file": "/etc/kdump.conf.16076.2024-07-27@03:21:25~", "changed": true, "checksum": "ae6083a5f19c1bef9a17e295142418f557273a6b", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "38bb08a7a48dd26ce0c781335c0a87db", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 112, "src": "/root/.ansible/tmp/ansible-tmp-1722064884.8-10427-167517375351809/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 27 July 2024 03:21:25 -0400 (0:00:00.677) 0:00:03.879 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "content": "MTY4ODIwNzM2Cg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 27 July 2024 03:21:25 -0400 (0:00:00.396) 0:00:04.276 ********* ok: [managed_node1] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 27 July 2024 03:21:25 -0400 (0:00:00.042) 0:00:04.318 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 27 July 2024 03:21:25 -0400 (0:00:00.038) 0:00:04.356 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 27 July 2024 03:21:25 -0400 (0:00:00.037) 0:00:04.394 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 27 July 2024 03:21:25 -0400 (0:00:00.038) 0:00:04.432 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 27 July 2024 03:21:26 -0400 (0:00:00.035) 0:00:04.468 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 27 July 2024 03:21:26 -0400 (0:00:00.037) 0:00:04.505 ********* ok: [managed_node1] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 03:21:13 EDT", "ActiveEnterTimestampMonotonic": "217482321", "ActiveExitTimestamp": "Sat 2024-07-27 03:20:58 EDT", "ActiveExitTimestampMonotonic": "202926244", "ActiveState": "active", "After": "remote-fs.target systemd-journald.socket network-online.target system.slice network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 03:20:58 EDT", "AssertTimestampMonotonic": "202962076", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 03:20:58 EDT", "ConditionTimestampMonotonic": "202962075", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-27 03:21:13 EDT", "ExecMainExitTimestampMonotonic": "217481780", "ExecMainPID": "8563", "ExecMainStartTimestamp": "Sat 2024-07-27 03:20:58 EDT", "ExecMainStartTimestampMonotonic": "202962506", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:20:58 EDT] ; stop_time=[Sat 2024-07-27 03:21:13 EDT] ; pid=8563 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:20:58 EDT] ; stop_time=[Sat 2024-07-27 03:20:58 EDT] ; pid=8554 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-07-27 03:20:58 EDT", "InactiveEnterTimestampMonotonic": "202961241", "InactiveExitTimestamp": "Sat 2024-07-27 03:20:58 EDT", "InactiveExitTimestampMonotonic": "202962535", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "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": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 27 July 2024 03:21:26 -0400 (0:00:00.350) 0:00:04.856 ********* changed: [managed_node1] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 03:21:13 EDT", "ActiveEnterTimestampMonotonic": "217482321", "ActiveExitTimestamp": "Sat 2024-07-27 03:20:58 EDT", "ActiveExitTimestampMonotonic": "202926244", "ActiveState": "active", "After": "remote-fs.target systemd-journald.socket network-online.target system.slice network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 03:20:58 EDT", "AssertTimestampMonotonic": "202962076", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 03:20:58 EDT", "ConditionTimestampMonotonic": "202962075", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-27 03:21:13 EDT", "ExecMainExitTimestampMonotonic": "217481780", "ExecMainPID": "8563", "ExecMainStartTimestamp": "Sat 2024-07-27 03:20:58 EDT", "ExecMainStartTimestampMonotonic": "202962506", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:20:58 EDT] ; stop_time=[Sat 2024-07-27 03:21:13 EDT] ; pid=8563 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:20:58 EDT] ; stop_time=[Sat 2024-07-27 03:20:58 EDT] ; pid=8554 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-07-27 03:20:58 EDT", "InactiveEnterTimestampMonotonic": "202961241", "InactiveExitTimestamp": "Sat 2024-07-27 03:20:58 EDT", "InactiveExitTimestampMonotonic": "202962535", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "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": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers TASK [Check generated files for ansible_managed, fingerprint] ****************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:19 Saturday 27 July 2024 03:21:41 -0400 (0:00:14.692) 0:00:19.548 ********* included: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tasks/check_header.yml for managed_node1 TASK [Get file] **************************************************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tasks/check_header.yml:3 Saturday 27 July 2024 03:21:41 -0400 (0:00:00.029) 0:00:19.578 ********* ok: [managed_node1] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6a2R1bXAKCgoKcGF0aCAvdmFyL2NyYXNoCgpkZWZhdWx0IHJlYm9vdApkcmFjdXRfYXJncyAtLWtlcm5lbC1jbWRsaW5lIG5vcHRpCg==", "encoding": "base64", "source": "/etc/kdump.conf" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tasks/check_header.yml:9 Saturday 27 July 2024 03:21:41 -0400 (0:00:00.282) 0:00:19.860 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [See if el9 or later, or el7 or el8] ************************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:25 Saturday 27 July 2024 03:21:41 -0400 (0:00:00.064) 0:00:19.924 ********* ok: [managed_node1] => { "ansible_facts": { "is_el7_or_el8": true, "is_el9": false }, "changed": false } TASK [Check parameters in conf file] ******************************************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:33 Saturday 27 July 2024 03:21:41 -0400 (0:00:00.044) 0:00:19.969 ********* ok: [managed_node1] => (item={u'value': u'--kernel-cmdline nopti', u'param': u'dracut_args'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "grep", "^dracut_args --kernel-cmdline nopti$", "/etc/kdump.conf" ], "delta": "0:00:00.002938", "end": "2024-07-27 03:21:41.882160", "item": { "param": "dracut_args", "value": "--kernel-cmdline nopti" }, "rc": 0, "start": "2024-07-27 03:21:41.879222" } STDOUT: dracut_args --kernel-cmdline nopti ok: [managed_node1] => (item={u'value': u'reboot', u'param': u'default'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "grep", "^default reboot$", "/etc/kdump.conf" ], "delta": "0:00:00.003046", "end": "2024-07-27 03:21:42.133618", "item": { "param": "default", "value": "reboot" }, "rc": 0, "start": "2024-07-27 03:21:42.130572" } STDOUT: default reboot TASK [Get crashkernel setting EL 9 and later] ********************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:50 Saturday 27 July 2024 03:21:42 -0400 (0:00:00.671) 0:00:20.640 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get crashkernel setting EL 8 and earlier] ******************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:56 Saturday 27 July 2024 03:21:42 -0400 (0:00:00.039) 0:00:20.679 ********* ok: [managed_node1] => { "ansible_facts": { "__crashkernel": { "stdout": "auto" } }, "changed": false } TASK [Check for crashkernel setting] ******************************************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:62 Saturday 27 July 2024 03:21:42 -0400 (0:00:00.042) 0:00:20.722 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; grubby --info=ALL | grep -E '^args=.* crashkernel=auto( |\"|$)'\n", "delta": "0:00:00.344661", "end": "2024-07-27 03:21:42.844516", "rc": 0, "start": "2024-07-27 03:21:42.499855" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" TASK [Change parameters and run the role again] ******************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:70 Saturday 27 July 2024 03:21:42 -0400 (0:00:00.627) 0:00:21.349 ********* ok: [managed_node1] => { "ansible_facts": { "kdump_auto_reset_crashkernel": false, "kdump_dracut_args": "--print-cmdline" }, "changed": false } TASK [Run the role again with new parameters] ********************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:75 Saturday 27 July 2024 03:21:42 -0400 (0:00:00.017) 0:00:21.367 ********* TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:2 Saturday 27 July 2024 03:21:42 -0400 (0:00:00.025) 0:00:21.393 ********* included: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.kdump : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:2 Saturday 27 July 2024 03:21:42 -0400 (0:00:00.029) 0:00:21.422 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Check if system is ostree] ************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 Saturday 27 July 2024 03:21:43 -0400 (0:00:00.037) 0:00:21.460 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set flag to indicate system is ostree] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Saturday 27 July 2024 03:21:43 -0400 (0:00:00.039) 0:00:21.499 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Set platform/version specific variables] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 Saturday 27 July 2024 03:21:43 -0400 (0:00:00.039) 0:00:21.539 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Install required packages] ************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 Saturday 27 July 2024 03:21:43 -0400 (0:00:00.064) 0:00:21.603 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed", "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "kexec-tools-2.0.15-51.el7_9.3.x86_64 providing kexec-tools is already installed", "openssh-clients-7.4p1-23.el7_9.x86_64 providing openssh-clients is already installed" ] } lsrpackages: grubby iproute kexec-tools openssh-clients TASK [fedora.linux_system_roles.kdump : Ensure that kdump is enabled] ********** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Saturday 27 July 2024 03:21:43 -0400 (0:00:00.532) 0:00:22.136 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "kdump", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 03:21:41 EDT", "ActiveEnterTimestampMonotonic": "245323534", "ActiveExitTimestamp": "Sat 2024-07-27 03:21:26 EDT", "ActiveExitTimestampMonotonic": "231031254", "ActiveState": "active", "After": "remote-fs.target systemd-journald.socket network-online.target system.slice network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 03:21:26 EDT", "AssertTimestampMonotonic": "231048077", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 03:21:26 EDT", "ConditionTimestampMonotonic": "231048076", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-27 03:21:41 EDT", "ExecMainExitTimestampMonotonic": "245323147", "ExecMainPID": "16247", "ExecMainStartTimestamp": "Sat 2024-07-27 03:21:26 EDT", "ExecMainStartTimestampMonotonic": "231048568", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:21:26 EDT] ; stop_time=[Sat 2024-07-27 03:21:41 EDT] ; pid=16247 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:21:26 EDT] ; stop_time=[Sat 2024-07-27 03:21:26 EDT] ; pid=16238 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-07-27 03:21:26 EDT", "InactiveEnterTimestampMonotonic": "231047556", "InactiveExitTimestamp": "Sat 2024-07-27 03:21:26 EDT", "InactiveExitTimestampMonotonic": "231048597", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "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": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.kdump : Include SSH tasks] ********************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:16 Saturday 27 July 2024 03:21:44 -0400 (0:00:00.360) 0:00:22.497 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Saturday 27 July 2024 03:21:44 -0400 (0:00:00.037) 0:00:22.535 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722064886.7676806, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ae6083a5f19c1bef9a17e295142418f557273a6b", "ctime": 1722064885.3726742, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262336, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1722064885.0866728, "nlink": 1, "path": "/etc/kdump.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 112, "uid": 0, "version": "1944028194", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.kdump : Generate /etc/kdump.conf] ************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 Saturday 27 July 2024 03:21:44 -0400 (0:00:00.271) 0:00:22.806 ********* NOTIFIED HANDLER fedora.linux_system_roles.kdump : Restart kdump for managed_node1 changed: [managed_node1] => { "backup_file": "/etc/kdump.conf.23208.2024-07-27@03:21:44~", "changed": true, "checksum": "b2355bddae523e4f353a3f66aaf7da513642b0b0", "dest": "/etc/kdump.conf", "gid": 0, "group": "root", "md5sum": "3f43f0efe01022d1ae9e743e9dada2dd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:kdump_etc_t:s0", "size": 105, "src": "/root/.ansible/tmp/ansible-tmp-1722064904.41-10569-159749838317698/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 Saturday 27 July 2024 03:21:44 -0400 (0:00:00.547) 0:00:23.354 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "content": "MTY4ODIwNzM2Cg==", "encoding": "base64", "source": "/sys/kernel/kexec_crash_size" } TASK [fedora.linux_system_roles.kdump : Set the kdump_reboot_required fact] **** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:40 Saturday 27 July 2024 03:21:45 -0400 (0:00:00.274) 0:00:23.628 ********* ok: [managed_node1] => { "ansible_facts": { "kdump_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.kdump : Use kdumpctl reset-crashkernel if needed] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:49 Saturday 27 July 2024 03:21:45 -0400 (0:00:00.041) 0:00:23.670 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Use grubby to update crashkernel=auto if needed] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:54 Saturday 27 July 2024 03:21:45 -0400 (0:00:00.037) 0:00:23.708 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Fail if reboot is required and kdump_reboot_ok is false] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:59 Saturday 27 July 2024 03:21:45 -0400 (0:00:00.035) 0:00:23.743 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Reboot the managed node] *************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:68 Saturday 27 July 2024 03:21:45 -0400 (0:00:00.038) 0:00:23.781 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Clear the kdump_reboot_required flag] *** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:74 Saturday 27 July 2024 03:21:45 -0400 (0:00:00.037) 0:00:23.819 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.kdump : Ensure that kdump is started] ********** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 Saturday 27 July 2024 03:21:45 -0400 (0:00:00.040) 0:00:23.860 ********* ok: [managed_node1] => { "changed": false, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 03:21:41 EDT", "ActiveEnterTimestampMonotonic": "245323534", "ActiveExitTimestamp": "Sat 2024-07-27 03:21:26 EDT", "ActiveExitTimestampMonotonic": "231031254", "ActiveState": "active", "After": "remote-fs.target systemd-journald.socket network-online.target system.slice network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 03:21:26 EDT", "AssertTimestampMonotonic": "231048077", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 03:21:26 EDT", "ConditionTimestampMonotonic": "231048076", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-27 03:21:41 EDT", "ExecMainExitTimestampMonotonic": "245323147", "ExecMainPID": "16247", "ExecMainStartTimestamp": "Sat 2024-07-27 03:21:26 EDT", "ExecMainStartTimestampMonotonic": "231048568", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:21:26 EDT] ; stop_time=[Sat 2024-07-27 03:21:41 EDT] ; pid=16247 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:21:26 EDT] ; stop_time=[Sat 2024-07-27 03:21:26 EDT] ; pid=16238 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-07-27 03:21:26 EDT", "InactiveEnterTimestampMonotonic": "231047556", "InactiveExitTimestamp": "Sat 2024-07-27 03:21:26 EDT", "InactiveExitTimestampMonotonic": "231048597", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "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": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Check parameters in conf file] ******************************************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:82 Saturday 27 July 2024 03:21:45 -0400 (0:00:00.468) 0:00:24.328 ********* ok: [managed_node1] => (item={u'value': u'--print-cmdline', u'param': u'dracut_args'}) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "grep", "^dracut_args --print-cmdline$", "/etc/kdump.conf" ], "delta": "0:00:00.002978", "end": "2024-07-27 03:21:46.119310", "item": { "param": "dracut_args", "value": "--print-cmdline" }, "rc": 0, "start": "2024-07-27 03:21:46.116332" } STDOUT: dracut_args --print-cmdline TASK [Get crashkernel setting EL 9 and later] ********************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:94 Saturday 27 July 2024 03:21:46 -0400 (0:00:00.348) 0:00:24.677 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get crashkernel setting EL 8 and earlier] ******************************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:100 Saturday 27 July 2024 03:21:46 -0400 (0:00:00.042) 0:00:24.719 ********* ok: [managed_node1] => { "ansible_facts": { "__crashkernel": { "stdout": "auto" } }, "changed": false } TASK [Check for crashkernel setting] ******************************************* task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:106 Saturday 27 July 2024 03:21:46 -0400 (0:00:00.042) 0:00:24.762 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail; grubby --info=ALL | grep -E '^args=.* crashkernel=auto( |\"|$)'\n", "delta": "0:00:00.007799", "end": "2024-07-27 03:21:46.557391", "rc": 0, "start": "2024-07-27 03:21:46.549592" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" args="ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" RUNNING HANDLER [fedora.linux_system_roles.kdump : Restart kdump] ************** task path: /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Saturday 27 July 2024 03:21:46 -0400 (0:00:00.293) 0:00:25.055 ********* changed: [managed_node1] => { "changed": true, "name": "kdump", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 03:21:41 EDT", "ActiveEnterTimestampMonotonic": "245323534", "ActiveExitTimestamp": "Sat 2024-07-27 03:21:26 EDT", "ActiveExitTimestampMonotonic": "231031254", "ActiveState": "active", "After": "remote-fs.target systemd-journald.socket network-online.target system.slice network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 03:21:26 EDT", "AssertTimestampMonotonic": "231048077", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 03:21:26 EDT", "ConditionTimestampMonotonic": "231048076", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "no", "Description": "Crash recovery kernel arming", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Sat 2024-07-27 03:21:41 EDT", "ExecMainExitTimestampMonotonic": "245323147", "ExecMainPID": "16247", "ExecMainStartTimestamp": "Sat 2024-07-27 03:21:26 EDT", "ExecMainStartTimestampMonotonic": "231048568", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl reload ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl start ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:21:26 EDT] ; stop_time=[Sat 2024-07-27 03:21:41 EDT] ; pid=16247 ; code=exited ; status=0 }", "ExecStop": "{ path=/usr/bin/kdumpctl ; argv[]=/usr/bin/kdumpctl stop ; ignore_errors=no ; start_time=[Sat 2024-07-27 03:21:26 EDT] ; stop_time=[Sat 2024-07-27 03:21:26 EDT] ; pid=16238 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/kdump.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "kdump.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-07-27 03:21:26 EDT", "InactiveEnterTimestampMonotonic": "231047556", "InactiveExitTimestamp": "Sat 2024-07-27 03:21:26 EDT", "InactiveExitTimestampMonotonic": "231048597", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "kdump.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "Requires": "system.slice", "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": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "exited", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=32 changed=4 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Saturday 27 July 2024 03:21:48 -0400 (0:00:01.780) 0:00:26.835 ********* =============================================================================== fedora.linux_system_roles.kdump : Restart kdump ------------------------- 1.78s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:2 Check parameters in conf file ------------------------------------------- 0.67s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:33 Check for crashkernel setting ------------------------------------------- 0.63s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:62 fedora.linux_system_roles.kdump : Generate /etc/kdump.conf -------------- 0.55s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:26 fedora.linux_system_roles.kdump : Install required packages ------------- 0.53s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:5 fedora.linux_system_roles.kdump : Ensure that kdump is started ---------- 0.47s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:84 fedora.linux_system_roles.kdump : Check if system is ostree ------------- 0.40s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:10 fedora.linux_system_roles.kdump : Ensure that kdump is enabled ---------- 0.36s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:11 Check parameters in conf file ------------------------------------------- 0.35s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:82 Check for crashkernel setting ------------------------------------------- 0.29s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:106 Get file ---------------------------------------------------------------- 0.28s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tasks/check_header.yml:3 fedora.linux_system_roles.kdump : Find out reserved memory for the crash kernel --- 0.27s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:34 fedora.linux_system_roles.kdump : Get mode of /etc/kdump.conf if it exists --- 0.27s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/main.yml:21 Run the role and reboot if necessary ------------------------------------ 0.13s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:11 fedora.linux_system_roles.kdump : Set platform/version specific variables --- 0.10s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 fedora.linux_system_roles.kdump : Set flag to indicate system is ostree --- 0.07s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:15 Check for presence of ansible managed header, fingerprint --------------- 0.06s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tasks/check_header.yml:9 fedora.linux_system_roles.kdump : Set platform/version specific variables --- 0.06s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/roles/kdump/tasks/set_vars.yml:19 See if el9 or later, or el7 or el8 -------------------------------------- 0.04s /tmp/tmp.coL4rlHgkO/ansible_collections/fedora/linux_system_roles/tests/kdump/tests_default_reboot.yml:25