Mailinglist Archive: kubic-bugs (106 mails)

< Previous Next >
[kubic-bugs] [Bug 1089501] New: salt-call --local network.default_route throws exception
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 13 Apr 2018 11:47:11 +0000
  • Message-id: <>

Bug ID: 1089501
Summary: salt-call --local network.default_route throws
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: Other
OS: Other
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Kubic
Assignee: kubic-bugs@xxxxxxxxxxxx
Reporter: kukuk@xxxxxxxx
QA Contact: qa-bugs@xxxxxxx
CC: rbrown@xxxxxxxx
Found By: ---
Blocker: ---

In the Kubic logs I found:

[ERROR ] Function network.default_route in mine_functions failed to execute

So I tried:
# salt-call --local network.default_route
[ERROR ] An un-handled exception was caught by salt's global exception
AttributeError: module 'salt.ext' has no attribute 'ipaddress'
Traceback (most recent call last):
File "/usr/bin/salt-call", line 11, in <module>
File "/usr/lib/python3.6/site-packages/salt/", line 400, in
File "/usr/lib/python3.6/site-packages/salt/cli/", line 57, in run
File "/usr/lib/python3.6/site-packages/salt/cli/", line 134, in run
ret =
File "/usr/lib/python3.6/site-packages/salt/cli/", line 212, in call
ret['return'] = func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/salt/modules/", line 1662,
in default_route
_routes = routes()
File "/usr/lib/python3.6/site-packages/salt/modules/", line 1619,
in routes
routes_ = _ip_route_linux()
File "/usr/lib/python3.6/site-packages/salt/modules/", line 518, in
address_mask = convert_cidr(comps[0])
File "/usr/lib/python3.6/site-packages/salt/modules/", line 1143,
in convert_cidr
network_info = salt.ext.ipaddress.ip_network(cidr)
AttributeError: module 'salt.ext' has no attribute 'ipaddress'

This works fine on SLES12 SP3.
salt is the latest from

You are receiving this mail because:
You are the assignee for the bug.
< Previous Next >