Bug ID 1195078
Summary ansible-2.9.6-bp153.1.20.noarch nmcli bug
Classification openSUSE
Product openSUSE Backports
Version SLE-15-SP3
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Packages
Assignee packagehub-bugs@suse.com
Reporter musclesmunday@hotmail.com
QA Contact packagehub-bugs@suse.com
Found By ---
Blocker ---

Ansible 2.9.6 from the SUSE/Backports/SLE-15-SP3_x86_64/standard repository
suffers from this known issue with Ansible:
https://github.com/ansible/ansible/pull/48870

Example failure:

An exception occurred during task execution. To see the full traceback, use
-vvv. The error was: ValueError: Namespace NMClient not available
failed: [wolf20] (item={'interface': 'eth1', 'ifname': 'eth1', 'ip4':
'10.11.0.20', 'prefix': 16, 'mac': '52:54:00:aa:aa:aa', 'type': 'ethernet',
'network': 'ice1-1'}) => 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: Failed to import the required Python library (NetworkManager glib API)
on wolf20's Python /usr/bin/python3. Please read module documentation and
install in the appropriate location. If the required library is installed, but
Ansible is using the wrong Python interpreter, please consult the documentation
on ansible_python_interpreter


I've tried manually applying the commit in this pull request and it fixes the
issue.


You are receiving this mail because: