probert --network throws stacktrace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
probert (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1. Disco
2. probert (0.0.14.2build1)
3. probert --network produces json output
4. probert --network dumps stack trace
root@rharper-d1:~# probert --network
Traceback (most recent call last):
File "/usr/bin/probert", line 62, in <module>
main()
File "/usr/bin/probert", line 56, in main
p.probe()
File "/usr/lib/
getattr(self, fn)()
File "/usr/lib/
results = network.probe()
File "/usr/lib/
'ip' : l.ip,
AttributeError: 'NetworkInfo' object has no attribute 'ip'
Here's the ip configuration of the container:
root@rharper-d1:~# ip a
256: eth6@if257: <BROADCAST,
link/ether 00:16:3e:bd:5e:86 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fd42:1b7e:
valid_lft 3590sec preferred_lft 3590sec
inet6 fe80::216:
valid_lft forever preferred_lft forever
1: lo: <LOOPBACK,
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
258: eth7@if259: <BROADCAST,
link/ether 00:16:3e:db:a8:ed brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fd42:1b7e:
valid_lft 3590sec preferred_lft 3590sec
inet6 fe80::216:
valid_lft forever preferred_lft forever
244: eth0@if245: <BROADCAST,
link/ether 00:16:3e:1b:e4:66 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 10.109.225.128/24 brd 10.109.225.255 scope global dynamic eth0
valid_lft 3572sec preferred_lft 3572sec
inet6 fd42:1b7e:
valid_lft 3590sec preferred_lft 3590sec
inet6 fe80::216:
valid_lft forever preferred_lft forever
246: eth1@if247: <BROADCAST,
link/ether 00:16:3e:f5:ec:4b brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fd42:1b7e:
valid_lft 3590sec preferred_lft 3590sec
inet6 fe80::216:
valid_lft forever preferred_lft forever
248: eth2@if249: <BROADCAST,
link/ether 00:16:3e:29:f2:19 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fd42:1b7e:
valid_lft 3590sec preferred_lft 3590sec
inet6 fe80::216:
valid_lft forever preferred_lft forever
250: eth3@if251: <BROADCAST,
link/ether 00:16:3e:74:b2:c5 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fd42:1b7e:
valid_lft 3590sec preferred_lft 3590sec
inet6 fe80::216:
valid_lft forever preferred_lft forever
252: eth4@if253: <BROADCAST,
link/ether 00:16:3e:cd:dc:a9 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fd42:1b7e:
valid_lft 3590sec preferred_lft 3590sec
inet6 fe80::216:
valid_lft forever preferred_lft forever
254: eth5@if255: <BROADCAST,
link/ether 00:16:3e:50:c4:a7 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fd42:1b7e:
valid_lft 3590sec preferred_lft 3590sec
inet6 fe80::216:
valid_lft forever preferred_lft forever
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: probert 0.0.14.2build1
ProcVersionSign
Uname: Linux 4.18.0-11-generic x86_64
ApportVersion: 2.20.10-0ubuntu14
Architecture: amd64
Date: Thu Jan 10 20:16:28 2019
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=C.UTF-8
SourcePackage: probert
UpgradeStatus: No upgrade log present (probably fresh install)
Building probert from git tip (HEAD = 8b56d73068ec1f2 93d3db3b0b44966 ede9ed1c94) works fine.