Bug 45120

Summary: univention-fix-ucr-dns fails with not default gateway
Product: UCS Reporter: Philipp Hahn <hahn>
Component: GeneralAssignee: Philipp Hahn <hahn>
Status: CLOSED FIXED QA Contact: Felix Botner <botner>
Severity: normal    
Priority: P5    
Version: UCS 4.2   
Target Milestone: UCS 4.2-1-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: Bug Report What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046 Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:

Description Philipp Hahn univentionstaff 2017-08-02 11:26:19 CEST
RTNETLINK answers: Network is unreachable
Traceback (most recent call last):
  File "/usr/share/univention-server/univention-fix-ucr-dns", line 400, in <module>
    main()
  File "/usr/share/univention-server/univention-fix-ucr-dns", line 70, in main
    need_fixing = get_forwarders(forwarders, ucr)
  File "/usr/share/univention-server/univention-fix-ucr-dns", line 165, in get_forwarders
    if is_self(fwd):
  File "/usr/share/univention-server/univention-fix-ucr-dns", line 390, in is_self
    out = check_output(cmd, env=env)
  File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['ip', 'route', 'get', '208.67.222.222']' returned non-zero exit status 2
Comment 1 Philipp Hahn univentionstaff 2017-08-02 11:33:39 CEST
r81687 | Bug #45120 DNS: Handle not default gateway set

Package: univention-server
Version: 12.0.0-11A~4.2.0.201708021130
Branch: ucs_4.2-0
Scope: errata4.2-1

r81688 | Bug #45120 DNS: Handle not default gateway set YAML
Comment 2 Felix Botner univentionstaff 2017-08-03 17:32:37 CEST
OK - univention-fix-ucr-dns withour default gw
OK - YAML
Comment 3 Arvid Requate univentionstaff 2017-08-09 16:57:27 CEST
<http://errata.software-univention.de/ucs/4.2/131.html>