Univention Bugzilla – Bug 42155
Problem with gateway diagnostics - traceback
Last modified: 2017-07-20 14:42:17 CEST
Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/modules/diagnostic/__init__.py", line 245, in execute result = execute(**kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/diagnostic/plugins/gateway.py", line 27, in run process = Popen(['/bin/ping', '-c3', '-w4', '-W4', gateway], stdout=PIPE, stderr=STDOUT) File "/usr/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child raise child_exception TypeError: execv() arg 2 must contain only strings "Network settings" module gateway: 172.16.1.1 interfaces/br0/address: 172.16.1.70 interfaces/br0/broadcast: 172.16.1.255 interfaces/br0/netmask: 255.255.255.0 interfaces/br0/network: 172.16.1.0 interfaces/br0/options/0: bridge_fd 0 interfaces/br0/options/1: bridge_ports eth0 interfaces/br0/type: static interfaces/eth0/start: true interfaces/eth0/type: manual interfaces/handler: ifplugd default via 172.16.1.1 dev br0 172.16.1.0/24 dev br0 proto kernel scope link src 172.16.1.70 172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.42.1 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 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 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP qlen 1000 link/ether e0:69:95:ba:9f:08 brd ff:ff:ff:ff:ff:ff 3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP link/ether e0:69:95:ba:9f:08 brd ff:ff:ff:ff:ff:ff inet 172.16.1.70/24 brd 172.16.1.255 scope global br0 valid_lft forever preferred_lft forever inet6 fe80::e269:95ff:feba:9f08/64 scope link valid_lft forever preferred_lft forever 4: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN qlen 500 link/ether fe:54:00:5a:a1:ce brd ff:ff:ff:ff:ff:ff inet6 fe80::fc54:ff:fe5a:a1ce/64 scope link valid_lft forever preferred_lft forever 5: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN link/ether 62:25:e6:f6:34:fe brd ff:ff:ff:ff:ff:ff inet 172.17.42.1/16 scope global docker0 valid_lft forever preferred_lft forever inet6 fe80::6025:e6ff:fef6:34fe/64 scope link valid_lft forever preferred_lft forever During UCS Technical training 2016-08 Task #4773
Created attachment 8019 [details] patch
Happened again in a Training.
(In reply to Florian Best from comment #1) > Created attachment 8019 [details] > patch Applied patch: r 81117 univention-management-console-module-diagnostic (3.0.1-3) * Bug #42155: Applied patch from Florian Best - Catch gateway not set error YAML: r 81118
OK: unset gateway displays readable message now OK: YAML (adjusted in r81145)
<http://errata.software-univention.de/ucs/4.2/98.html>