[Bug 1176460] New: ansible module nmcli is broken in ansible 2.9.13
http://bugzilla.opensuse.org/show_bug.cgi?id=1176460 Bug ID: 1176460 Summary: ansible module nmcli is broken in ansible 2.9.13 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: x86-64 OS: Linux Status: NEW Severity: Critical Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: s91066@yahoo.gr QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The ansible's nmcli module is broken in ansible 2.9.13 as well. Specifically, although the bug is different from the 1176459 it results to the same problems, inability to configure NM based networks. This time, the bug appears if you try to create a bridge network on RHEL 8.x and openSuse Leap 15.2 (so, I suppose SLES is affected too). The exeception I get is: ---------------------------- An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: expected str, bytes or os.PathLike object, not int fatal: [server.example.com] FAILED! => changed=false module_stderr: |- Shared connection to 192.168.0.1 closed. module_stdout: |- Traceback (most recent call last): File "/home/ansible/.ansible/tmp/ansible-tmp-1599914142.4146016-16901-73091430540718/AnsiballZ_nmcli.py", line 102, in <module> _ansiballz_main() File "/home/ansible/.ansible/tmp/ansible-tmp-1599914142.4146016-16901-73091430540718/AnsiballZ_nmcli.py", line 94, in _ansiballz_main invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS) File "/home/ansible/.ansible/tmp/ansible-tmp-1599914142.4146016-16901-73091430540718/AnsiballZ_nmcli.py", line 40, in invoke_module runpy.run_module(mod_name='ansible.modules.net_tools.nmcli', init_globals=None, run_name='__main__', alter_sys=True) File "/usr/lib64/python3.6/runpy.py", line 205, in run_module return _run_module_code(code, init_globals, run_name, mod_spec) File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code mod_name, mod_spec, pkg_name, script_name) File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/tmp/ansible_nmcli_payload_hlhjzhtc/ansible_nmcli_payload.zip/ansible/modules/net_tools/nmcli.py", line 1557, in <module> File "/tmp/ansible_nmcli_payload_hlhjzhtc/ansible_nmcli_payload.zip/ansible/modules/net_tools/nmcli.py", line 1540, in main File "/tmp/ansible_nmcli_payload_hlhjzhtc/ansible_nmcli_payload.zip/ansible/modules/net_tools/nmcli.py", line 1396, in create_connection File "/tmp/ansible_nmcli_payload_hlhjzhtc/ansible_nmcli_payload.zip/ansible/modules/net_tools/nmcli.py", line 690, in execute_command File "/tmp/ansible_nmcli_payload_hlhjzhtc/ansible_nmcli_payload.zip/ansible/module_utils/basic.py", line 2590, in run_command File "/tmp/ansible_nmcli_payload_hlhjzhtc/ansible_nmcli_payload.zip/ansible/module_utils/basic.py", line 2590, in <listcomp> File "/usr/lib64/python3.6/posixpath.py", line 288, in expandvars path = os.fspath(path) TypeError: expected str, bytes or os.PathLike object, not int msg: |- MODULE FAILURE See stdout/stderr for the exact error rc: 1 ------------------ Ansible version: 2.9.13 Python on RHEL server: Python 3.6.8 Python on openSUSE Leap 15.2: 3.6.10 Controller node: ansible --version ansible 2.9.13 config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.6/site-packages/ansible executable location = /usr/bin/ansible python version = 3.6.10 (default, Jan 16 2020, 09:12:04) [GCC] -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1176460 Peter Tselios <s91066@yahoo.gr> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|--- |Community User -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1176460 http://bugzilla.opensuse.org/show_bug.cgi?id=1176460#c1 --- Comment #1 from Peter Tselios <s91066@yahoo.gr> --- There is an upstream bug report here: https://github.com/ansible-collections/community.general/issues/697 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com