Bug 53332 - 90univention-bind-post.inst: subprocess.CalledProcessError: Command '('rndc', 'reconfig')' returned non-zero exit status 1
90univention-bind-post.inst: subprocess.CalledProcessError: Command '('rndc',...
Status: NEW
Product: UCS
Classification: Unclassified
Component: DNS
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-05-26 13:54 CEST by Florian Best
Modified: 2021-05-26 13:54 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2021-05-26 13:54:10 CEST
The Jenkins Jobs often contains the below traceback.

https://jenkins.knut.univention.de:8181/job/UCS-5.0/job/UCS-5.0-0/job/AutotestUpgrade/SambaVersion=s4,Systemrolle=slave/ws/test/join.log

Configure 90univention-bind-post.inst Wed May 26 00:44:39 CEST 2021
2021-05-26 00:44:40.027159322+02:00 (in joinscript_init)
Create dns/backend
File: /etc/systemd/system/bind9.service.d/10-configure-backend.conf
File: /etc/init.d/bind9
Wait for bind9: . done
 done
2021-05-26 00:44:52,959 INFO    __main__.ucr/fwd  Found forwarder 192.168.0.3 from UCRV dns/forwarder1
2021-05-26 00:44:52,959 INFO    __main__.ucr/ns   Found server 10.207.125.21 from UCRV nameserver1
2021-05-26 00:44:52,968 INFO    __main__.val      Validated UCS domain server: 10.207.125.21
2021-05-26 00:44:52,969 INFO    __main__.xor      Skip removing nameservers from forwarders
2021-05-26 00:44:52,974 INFO    __main__.ucr/self Default IP address configured in UCR: 10.207.125.23
2021-05-26 00:44:52,975 INFO    __main__.ns       Skip adding NS
2021-05-26 00:44:52,975 INFO    __main__.ldap     Skip adding master
2021-05-26 00:44:52,976 INFO    __main__.ucr      Updating 'nameserver1': '10.207.125.21' -> '10.207.125.23'
2021-05-26 00:44:52,976 INFO    __main__.ucr      Updating 'nameserver2': None -> '10.207.125.21'
2021-05-26 00:44:54,069 INFO    __main__.ucr      Reloading BIND
rndc: connect failed: 127.0.0.1#953: connection refused
File: /etc/bind/named.conf.proxy
File: /etc/bind/named.conf.samba4
File: /etc/resolv.conf
Traceback (most recent call last):
  File "/usr/share/univention-server/univention-fix-ucr-dns", line 406, in <module>
    main()
  File "/usr/share/univention-server/univention-fix-ucr-dns", line 87, in main
    update_ucr(ucr, nameservers, forwarders)
  File "/usr/share/univention-server/univention-fix-ucr-dns", line 340, in update_ucr
    check_call(('rndc', 'reconfig'))
  File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('rndc', 'reconfig')' returned non-zero exit status 1
Object exists: cn=services,cn=univention,dc=autotest075,dc=local
Object exists: cn=DNS,cn=services,cn=univention,dc=autotest075,dc=local
Object modified: cn=slave075,cn=dc,cn=computers,dc=autotest075,dc=local
2021-05-26 00:44:56.334899207+02:00 (in joinscript_save_current_version)