[Bug 1194718] New: Ansible 2.8.1 nmcli module bug for SLES 12 SP5
https://bugzilla.suse.com/show_bug.cgi?id=1194718 Bug ID: 1194718 Summary: Ansible 2.8.1 nmcli module bug for SLES 12 SP5 Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: x86-64 OS: SLES 12 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: musclesmunday@hotmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- When using Ansible 2.8.1 with SLES 12 SP5, the nmcli module appears to have a bug: Example: TASK [nic_nmcli : Set NICs configuration] ****************************************************************************** Saturday 15 January 2022 11:53:45 +0000 (0:00:00.505) 0:00:06.085 ****** failed: [wolf20] (item={u'prefix': 16, u'network': u'ice1-1', u'ip4': u'10.11.0.20', u'interface': u'eth1', u'ifname': u'eth1', u'type': u'ethernet', u'mac': u'52:54:00:aa:aa:aa'}) => changed=false ansible_loop_var: item item: ifname: eth1 interface: eth1 ip4: 10.11.0.20 mac: 52:54:00:aa:aa:aa network: ice1-1 prefix: 16 type: ethernet msg: |- Error: invalid <setting>.<property> 'autoconnect'. name: eth1 rc: 2 This seems to be have been fixed by the Ansible maintainers via: https://github.com/ansible-collections/community.general/pull/478/files Using the version of nmcli.py from this pull request appears to resolve the issue, e.g. cp /usr/lib/python2.7/site-packages/ansible/modules/net_tools/nmcli.py /usr/lib/python2.7/site-packages/ansible/modules/net_tools/nmcli.py.orig wget https://raw.githubusercontent.com/Akasurde/community.general/8c3301dc3657bbd... mv nmcli.py /usr/lib/python2.7/site-packages/ansible/modules/net_tools/nmcli.py -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194718 Neil Munday <musclesmunday@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/ansible- | |collections/community.gener | |al/pull/478 CC| |musclesmunday@hotmail.com Found By|--- |Community User -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1194718 Neil Munday <musclesmunday@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com