[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. No config file found; using defaults running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_vlan_mtu.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 07:09:25 -0400 (0:00:00.008) 0:00:00.008 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Saturday 06 July 2024 07:09:26 -0400 (0:00:01.118) 0:00:01.126 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** Saturday 06 July 2024 07:09:26 -0400 (0:00:00.019) 0:00:01.146 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 07:09:27 -0400 (0:00:00.527) 0:00:01.673 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 07:09:27 -0400 (0:00:00.456) 0:00:02.130 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 07:09:27 -0400 (0:00:00.023) 0:00:02.153 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Saturday 06 July 2024 07:09:27 -0400 (0:00:00.014) 0:00:02.167 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 8] *********************************************************** Saturday 06 July 2024 07:09:27 -0400 (0:00:00.037) 0:00:02.205 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** Saturday 06 July 2024 07:09:28 -0400 (0:00:00.462) 0:00:02.667 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Saturday 06 July 2024 07:09:28 -0400 (0:00:00.014) 0:00:02.682 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Saturday 06 July 2024 07:09:28 -0400 (0:00:00.016) 0:00:02.698 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.257762", "end": "2024-07-06 07:09:28.815946", "rc": 0, "start": "2024-07-06 07:09:28.558184" } TASK [Enable EPEL 6] *********************************************************** Saturday 06 July 2024 07:09:28 -0400 (0:00:00.623) 0:00:03.321 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** Saturday 06 July 2024 07:09:28 -0400 (0:00:00.017) 0:00:03.339 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 07:09:28 -0400 (0:00:00.029) 0:00:03.369 ********* ok: [managed_node1] TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 07:09:29 -0400 (0:00:00.845) 0:00:04.214 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 07:09:29 -0400 (0:00:00.046) 0:00:04.260 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 07:09:29 -0400 (0:00:00.034) 0:00:04.295 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003286", "end": "2024-07-06 07:09:30.168192", "rc": 0, "start": "2024-07-06 07:09:30.164906" } STDOUT: bonding_masters eth0 lo rpltstbr team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 07:09:30 -0400 (0:00:00.378) 0:00:04.674 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 07:09:30 -0400 (0:00:00.032) 0:00:04.707 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr', 'team0'] TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 07:09:30 -0400 (0:00:00.031) 0:00:04.739 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Saturday 06 July 2024 07:09:30 -0400 (0:00:00.058) 0:00:04.797 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 07:09:30 -0400 (0:00:00.029) 0:00:04.826 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 07:09:30 -0400 (0:00:00.029) 0:00:04.856 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 07:09:30 -0400 (0:00:00.035) 0:00:04.892 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 07:09:30 -0400 (0:00:00.034) 0:00:04.927 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003293", "end": "2024-07-06 07:09:30.801760", "rc": 0, "start": "2024-07-06 07:09:30.798467" } STDOUT: bonding_masters eth0 lo rpltstbr team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 07:09:30 -0400 (0:00:00.382) 0:00:05.309 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 07:09:30 -0400 (0:00:00.033) 0:00:05.342 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr', 'team0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 07:09:30 -0400 (0:00:00.032) 0:00:05.374 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** Saturday 06 July 2024 07:09:34 -0400 (0:00:03.252) 0:00:08.627 ********* ok: [managed_node1] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "lsr101", "type", "veth", "peer", "name", "peerlsr101" ], "delta": "0:00:00.015377", "end": "2024-07-06 07:09:34.516501", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-07-06 07:09:34.501124" } ok: [managed_node1] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.003883", "end": "2024-07-06 07:09:34.921437", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-07-06 07:09:34.917554" } ok: [managed_node1] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.003900", "end": "2024-07-06 07:09:35.278668", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-07-06 07:09:35.274768" } TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 07:09:35 -0400 (0:00:01.161) 0:00:09.788 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.023152", "end": "2024-07-06 07:09:35.688013", "rc": 0, "start": "2024-07-06 07:09:35.664861" } TASK [Delete veth interface lsr101] ******************************************** Saturday 06 July 2024 07:09:35 -0400 (0:00:00.408) 0:00:10.197 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* Saturday 06 July 2024 07:09:35 -0400 (0:00:00.032) 0:00:10.229 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* Saturday 06 July 2024 07:09:35 -0400 (0:00:00.031) 0:00:10.260 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* Saturday 06 July 2024 07:09:35 -0400 (0:00:00.034) 0:00:10.295 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* Saturday 06 July 2024 07:09:35 -0400 (0:00:00.033) 0:00:10.329 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** Saturday 06 July 2024 07:09:35 -0400 (0:00:00.035) 0:00:10.364 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 07:09:35 -0400 (0:00:00.051) 0:00:10.416 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface lsr101] ******************************************* Saturday 06 July 2024 07:09:35 -0400 (0:00:00.036) 0:00:10.452 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720264174.504811, "block_size": 4096, "blocks": 0, "ctime": 1720264174.504811, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 64759, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101", "lnk_target": "../../devices/virtual/net/lsr101", "mode": "0777", "mtime": 1720264174.504811, "nlink": 1, "path": "/sys/class/net/lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'lsr101'] ************************* Saturday 06 July 2024 07:09:36 -0400 (0:00:00.384) 0:00:10.837 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure the MTU for a vlan interface without autoconnect.] *** Saturday 06 July 2024 07:09:36 -0400 (0:00:00.035) 0:00:10.872 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 07:09:36 -0400 (0:00:00.032) 0:00:10.905 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 07:09:36 -0400 (0:00:00.045) 0:00:10.950 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Saturday 06 July 2024 07:09:36 -0400 (0:00:00.035) 0:00:10.985 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 07:09:36 -0400 (0:00:00.034) 0:00:11.019 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 07:09:36 -0400 (0:00:00.035) 0:00:11.054 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Saturday 06 July 2024 07:09:38 -0400 (0:00:01.884) 0:00:12.939 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Saturday 06 July 2024 07:09:40 -0400 (0:00:01.857) 0:00:14.796 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Saturday 06 July 2024 07:09:40 -0400 (0:00:00.052) 0:00:14.849 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Saturday 06 July 2024 07:09:40 -0400 (0:00:00.051) 0:00:14.901 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 07:09:40 -0400 (0:00:00.052) 0:00:14.954 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 07:09:40 -0400 (0:00:00.063) 0:00:15.017 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 07:09:40 -0400 (0:00:00.047) 0:00:15.065 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 07:09:40 -0400 (0:00:00.088) 0:00:15.153 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Saturday 06 July 2024 07:09:40 -0400 (0:00:00.096) 0:00:15.250 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 07:09:40 -0400 (0:00:00.056) 0:00:15.306 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 07:09:40 -0400 (0:00:00.053) 0:00:15.359 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 07:09:40 -0400 (0:00:00.062) 0:00:15.422 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Saturday 06 July 2024 07:09:41 -0400 (0:00:00.054) 0:00:15.477 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 07:09:41 -0400 (0:00:00.048) 0:00:15.525 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Saturday 06 July 2024 07:09:41 -0400 (0:00:00.847) 0:00:16.373 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-38628wjv2l09x/tmpyk18ulz0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 07:09:42 -0400 (0:00:00.410) 0:00:16.783 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101' [006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90' [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified) [008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active) [010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 07:09:43 -0400 (0:00:00.957) 0:00:17.741 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 07:09:43 -0400 (0:00:00.053) 0:00:17.794 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 07:09:43 -0400 (0:00:00.052) 0:00:17.847 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'\n[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)\n[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)\n[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 07:09:43 -0400 (0:00:00.055) 0:00:17.902 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 07:09:43 -0400 (0:00:00.053) 0:00:17.956 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** Saturday 06 July 2024 07:09:44 -0400 (0:00:00.524) 0:00:18.480 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 07:09:44 -0400 (0:00:00.123) 0:00:18.603 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface lsr101.90] **************************************** Saturday 06 July 2024 07:09:44 -0400 (0:00:00.071) 0:00:18.675 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720264183.1012323, "block_size": 4096, "blocks": 0, "ctime": 1720264183.1012323, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 65052, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101.90", "lnk_target": "../../devices/virtual/net/lsr101.90", "mode": "0777", "mtime": 1720264183.1012323, "nlink": 1, "path": "/sys/class/net/lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'lsr101.90'] ********************** Saturday 06 July 2024 07:09:44 -0400 (0:00:00.397) 0:00:19.073 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Saturday 06 July 2024 07:09:44 -0400 (0:00:00.054) 0:00:19.127 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=lsr101) included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=lsr101.90) TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 07:09:44 -0400 (0:00:00.098) 0:00:19.226 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Saturday 06 July 2024 07:09:44 -0400 (0:00:00.078) 0:00:19.305 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Saturday 06 July 2024 07:09:44 -0400 (0:00:00.051) 0:00:19.356 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720264182.9714403, "block_size": 4096, "blocks": 8, "ctime": 1720264182.952441, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250809, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720264182.952441, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 07:09:45 -0400 (0:00:00.393) 0:00:19.749 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 07:09:45 -0400 (0:00:00.052) 0:00:19.801 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.023481", "end": "2024-07-06 07:09:45.693390", "rc": 1, "start": "2024-07-06 07:09:45.669909" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 07:09:45 -0400 (0:00:00.416) 0:00:20.217 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101] ************************* Saturday 06 July 2024 07:09:45 -0400 (0:00:00.049) 0:00:20.266 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003144", "end": "2024-07-06 07:09:46.141186", "rc": 0, "start": "2024-07-06 07:09:46.138042" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** Saturday 06 July 2024 07:09:46 -0400 (0:00:00.400) 0:00:20.667 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** Saturday 06 July 2024 07:09:46 -0400 (0:00:00.057) 0:00:20.724 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003101", "end": "2024-07-06 07:09:46.644985", "rc": 0, "start": "2024-07-06 07:09:46.641884" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** Saturday 06 July 2024 07:09:46 -0400 (0:00:00.477) 0:00:21.201 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101'] *************************** Saturday 06 July 2024 07:09:46 -0400 (0:00:00.057) 0:00:21.259 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** Saturday 06 July 2024 07:09:46 -0400 (0:00:00.054) 0:00:21.314 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** Saturday 06 July 2024 07:09:46 -0400 (0:00:00.057) 0:00:21.372 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 07:09:46 -0400 (0:00:00.054) 0:00:21.426 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Saturday 06 July 2024 07:09:47 -0400 (0:00:00.075) 0:00:21.501 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Saturday 06 July 2024 07:09:47 -0400 (0:00:00.051) 0:00:21.553 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720264183.0694368, "block_size": 4096, "blocks": 8, "ctime": 1720264182.952441, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2111759, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720264182.952441, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 166, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 07:09:47 -0400 (0:00:00.401) 0:00:21.955 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 07:09:47 -0400 (0:00:00.054) 0:00:22.010 ********* fatal: [managed_node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.023965", "end": "2024-07-06 07:09:47.911387", "rc": 1, "start": "2024-07-06 07:09:47.887422" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 07:09:47 -0400 (0:00:00.425) 0:00:22.436 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101.90] ********************** Saturday 06 July 2024 07:09:48 -0400 (0:00:00.050) 0:00:22.486 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:01.004236", "end": "2024-07-06 07:09:49.372116", "rc": 0, "start": "2024-07-06 07:09:48.367880" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* Saturday 06 July 2024 07:09:49 -0400 (0:00:01.412) 0:00:23.898 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-lsr101.90] ************************** Saturday 06 July 2024 07:09:49 -0400 (0:00:00.056) 0:00:23.954 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003048", "end": "2024-07-06 07:09:49.831134", "rc": 0, "start": "2024-07-06 07:09:49.828086" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** Saturday 06 July 2024 07:09:49 -0400 (0:00:00.400) 0:00:24.355 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101.90'] ************************ Saturday 06 July 2024 07:09:49 -0400 (0:00:00.059) 0:00:24.414 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101.90'] ******* Saturday 06 July 2024 07:09:50 -0400 (0:00:00.090) 0:00:24.505 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* Saturday 06 July 2024 07:09:50 -0400 (0:00:00.054) 0:00:24.559 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** Saturday 06 July 2024 07:09:50 -0400 (0:00:00.056) 0:00:24.615 ********* ok: [managed_node1] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 07:09:50 -0400 (0:00:00.051) 0:00:24.667 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 07:09:50 -0400 (0:00:00.076) 0:00:24.744 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** Saturday 06 July 2024 07:09:50 -0400 (0:00:00.057) 0:00:24.801 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 07:09:50 -0400 (0:00:00.051) 0:00:24.853 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 07:09:50 -0400 (0:00:00.055) 0:00:24.908 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** Saturday 06 July 2024 07:09:52 -0400 (0:00:01.775) 0:00:26.684 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** Saturday 06 July 2024 07:09:53 -0400 (0:00:01.595) 0:00:28.279 ********* ok: [managed_node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Saturday 06 July 2024 07:09:53 -0400 (0:00:00.052) 0:00:28.331 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Saturday 06 July 2024 07:09:53 -0400 (0:00:00.052) 0:00:28.384 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 07:09:53 -0400 (0:00:00.051) 0:00:28.436 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 07:09:54 -0400 (0:00:00.101) 0:00:28.537 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 07:09:54 -0400 (0:00:00.049) 0:00:28.586 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 07:09:54 -0400 (0:00:00.061) 0:00:28.648 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Saturday 06 July 2024 07:09:54 -0400 (0:00:00.096) 0:00:28.745 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 07:09:54 -0400 (0:00:00.052) 0:00:28.798 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 07:09:54 -0400 (0:00:00.051) 0:00:28.849 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 07:09:54 -0400 (0:00:00.063) 0:00:28.913 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** Saturday 06 July 2024 07:09:54 -0400 (0:00:00.052) 0:00:28.965 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 07:09:54 -0400 (0:00:00.047) 0:00:29.013 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** Saturday 06 July 2024 07:09:55 -0400 (0:00:00.606) 0:00:29.619 ********* ok: [managed_node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-38628wjv2l09x/tmpqlgg7c1a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 07:09:55 -0400 (0:00:00.411) 0:00:30.031 ********* changed: [managed_node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active) [006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active [008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101' [009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90' TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 07:09:56 -0400 (0:00:00.635) 0:00:30.666 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 07:09:56 -0400 (0:00:00.054) 0:00:30.721 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 07:09:56 -0400 (0:00:00.052) 0:00:30.774 ********* ok: [managed_node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)\n[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active\n[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'\n[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'\n", "stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 07:09:56 -0400 (0:00:00.052) 0:00:30.826 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 07:09:56 -0400 (0:00:00.054) 0:00:30.880 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** Saturday 06 July 2024 07:09:56 -0400 (0:00:00.443) 0:00:31.324 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/manage_test_interface.yml for managed_node1 TASK [Ensure state in ["present", "absent"]] *********************************** Saturday 06 July 2024 07:09:56 -0400 (0:00:00.095) 0:00:31.420 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Saturday 06 July 2024 07:09:57 -0400 (0:00:00.047) 0:00:31.468 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 07:09:57 -0400 (0:00:00.051) 0:00:31.519 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 07:09:57 -0400 (0:00:00.070) 0:00:31.590 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 07:09:57 -0400 (0:00:00.070) 0:00:31.660 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003259", "end": "2024-07-06 07:09:57.531597", "rc": 0, "start": "2024-07-06 07:09:57.528338" } STDOUT: bonding_masters eth0 lo lsr101 lsr101.90 peerlsr101 rpltstbr team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 07:09:57 -0400 (0:00:00.394) 0:00:32.054 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "lsr101.90", "peerlsr101", "rpltstbr", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 07:09:57 -0400 (0:00:00.054) 0:00:32.109 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101', 'rpltstbr', 'team0'] TASK [Install iproute] ********************************************************* Saturday 06 July 2024 07:09:57 -0400 (0:00:00.052) 0:00:32.161 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** Saturday 06 July 2024 07:10:00 -0400 (0:00:02.911) 0:00:35.072 ********* skipping: [managed_node1] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add lsr101 type veth peer name peerlsr101", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerlsr101 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set lsr101 up", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** Saturday 06 July 2024 07:10:00 -0400 (0:00:00.066) 0:00:35.139 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** Saturday 06 July 2024 07:10:00 -0400 (0:00:00.050) 0:00:35.190 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.012149", "end": "2024-07-06 07:10:01.078608", "rc": 0, "start": "2024-07-06 07:10:01.066459" } TASK [Create dummy interface lsr101] ******************************************* Saturday 06 July 2024 07:10:01 -0400 (0:00:00.415) 0:00:35.605 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* Saturday 06 July 2024 07:10:01 -0400 (0:00:00.081) 0:00:35.686 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* Saturday 06 July 2024 07:10:01 -0400 (0:00:00.049) 0:00:35.736 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* Saturday 06 July 2024 07:10:01 -0400 (0:00:00.049) 0:00:35.786 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** Saturday 06 July 2024 07:10:01 -0400 (0:00:00.049) 0:00:35.835 ********* included: /var/ARTIFACTS/work-generalqza6ryit/plans/general/tree/tmp.YgWlUNRm7s/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Saturday 06 July 2024 07:10:01 -0400 (0:00:00.092) 0:00:35.927 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009018", "end": "2024-07-06 07:10:01.813723", "rc": 0, "start": "2024-07-06 07:10:01.804705" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:7d:9f:bb:ea:ff brd ff:ff:ff:ff:ff:ff inet 10.31.41.199/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3521sec preferred_lft 3521sec inet6 fe80::c7d:9fff:febb:eaff/64 scope link valid_lft forever preferred_lft forever 139: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether aa:84:9e:27:62:a4 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever 157: team0: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 46:4e:13:bc:69:a9 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.41.199 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.199 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* Saturday 06 July 2024 07:10:01 -0400 (0:00:00.410) 0:00:36.338 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.134703", "end": "2024-07-06 07:10:02.350939", "rc": 0, "start": "2024-07-06 07:10:02.216236" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 5350 0 --:--:-- --:--:-- --:--:-- 5350 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 5705 0 --:--:-- --:--:-- --:--:-- 5705 PLAY RECAP ********************************************************************* managed_node1 : ok=91 changed=2 unreachable=0 failed=0 skipped=53 rescued=0 ignored=2 Saturday 06 July 2024 07:10:02 -0400 (0:00:00.595) 0:00:36.933 ********* =============================================================================== Install iproute --------------------------------------------------------- 3.25s Install iproute --------------------------------------------------------- 2.91s fedora.linux_system_roles.network : Check which services are running ---- 1.88s fedora.linux_system_roles.network : Check which packages are installed --- 1.86s fedora.linux_system_roles.network : Check which services are running ---- 1.78s fedora.linux_system_roles.network : Check which packages are installed --- 1.60s Get the ansible_managed comment in ifcfg-lsr101.90 ---------------------- 1.41s Create veth interface lsr101 -------------------------------------------- 1.16s Gathering Facts --------------------------------------------------------- 1.12s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.96s fedora.linux_system_roles.network : Enable network service -------------- 0.85s Gathering Facts --------------------------------------------------------- 0.85s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.64s Enable EPEL 8 ----------------------------------------------------------- 0.62s fedora.linux_system_roles.network : Enable network service -------------- 0.61s Verify DNS and network connectivity ------------------------------------- 0.60s Gather the minimum subset of ansible_facts required by the network role test --- 0.53s fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.52s Get the fingerprint comment in ifcfg-lsr101 ----------------------------- 0.48s Create EPEL 8 ----------------------------------------------------------- 0.46s