Bug 46515 - dhcp/subnet not created
dhcp/subnet not created
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: DHCP
UCS 4.3
All Linux
: P5 major (vote)
: UCS 4.3
Assigned To: Philipp Hahn
Felix Botner
: interim-4
Depends on: 45642
Blocks: 46007 46404
  Show dependency treegraph
 
Reported: 2018-03-06 15:06 CET by Philipp Hahn
Modified: 2021-04-13 23:17 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.514
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 Philipp Hahn univentionstaff 2018-03-06 15:06:03 CET
UCRV interfaces/$IFACE/network is no longer configured by new D-I.
25univention-dhcp.inst no longer created the default subnet.
dhcpd fails to start and spams log file.
systemd re-starts dhcpd every X seconds.

/usr/lib/univention-install/25univention-dhcp.inst:96ff
        interfaces_*_network) network="${!var}" var=${var%work}mask netmask="${!var}" ;;
        [ -n "$network" -a -n "$netmask" ] || continue
Comment 1 Erik Damrose univentionstaff 2018-03-06 15:26:27 CET
Also blocks UCC for 4.3
Comment 2 Philipp Hahn univentionstaff 2018-03-07 11:10:54 CET
[4.3-0] 07e23f7458 Bug #46120 dhcp: Update UCR templates for Debian Stretch
[4.3-0] 4502149173 Bug #46515 dhcp: Create initial DHCP subnet
 fixed r17837

Package: univention-dhcp
Version: 12.0.0-3A~4.3.0.201803062001
Branch: ucs_4.3-0

[4.3-0] 44e30e8e5a Bug #46515 dhcp: Create initial DHCP subnet [CL]
Comment 3 Felix Botner univentionstaff 2018-03-08 15:17:49 CET
Installation fails with

isc-dhcp-server-ldap (4.3.5-3A~4.3.0.201711231615) wird eingerichtet ...
univention-dhcp (12.0.0-3A~4.3.0.201803062001) wird eingerichtet ...
File: /etc/init.d/isc-dhcp-server
File: /etc/logrotate.d/univention-dhcp
File: /etc/dhcp/dhcpd.conf
  File "<stdin>", line 44
    key = 'key %s;' % security if security: else ''
                                          ^
SyntaxError: invalid syntax
Create dhcpd/autostart
Module: autostart
File: /etc/dhcp/dhcpd.conf
  File "<stdin>", line 44
    key = 'key %s;' % security if security: else ''
                                          ^
SyntaxError: invalid syntax
Create dhcpd/restart/listener
Comment 4 Philipp Hahn univentionstaff 2018-03-08 16:56:05 CET
[4.3-0] 51c200e323 Bug #46120 dhcp: Fix Python syntax error in dhcpd.conf

Package: univention-dhcp
Version: 12.0.0-4A~4.3.0.201803081556
Branch: ucs_4.3-0
Comment 5 Felix Botner univentionstaff 2018-03-08 17:12:55 CET
OK - univention-dhcp master slave
OK - changelog
Comment 6 Stefan Gohmann univentionstaff 2018-03-14 14:38:12 CET
UCS 4.3 has been released:
 https://docs.software-univention.de/release-notes-4.3-0-en.html
 https://docs.software-univention.de/release-notes-4.3-0-de.html

If this error occurs again, please use "Clone This Bug".