Bug 38675 - dhcp server fails send host lease
dhcp server fails send host lease
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: DHCP
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-2-errata
Assigned To: Philipp Hahn
Janek Walkenhorst
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-09 15:17 CEST by Philipp Hahn
Modified: 2015-06-30 16:14 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
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
Remove additional { (947 bytes, text/plain)
2015-06-09 15:17 CEST, Philipp Hahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2015-06-09 15:17:52 CEST
Created attachment 6952 [details]
Remove additional {

isc-dhcp creates an invalid host entry:

host einssechssechs {
hardware ethernet 00:01:2c:00:00:01;
 {
ddns-hostname einssechssechs;
fixed-address 172.22.25.116;
option routers 10.0.2.2;
option domain-name "vpntesting.intranet";
option domain-name-servers 10.0.2.15;
}

Broken since r13682 (Bug #33836)

Ticket#2015060521001699
Comment 1 Philipp Hahn univentionstaff 2015-06-09 15:52:58 CEST
The problem is most probably related to setting the 

repo_admin.py --cherrypick -r 4.0 --dest errata4.0-2 --releasedest 4.0 -p isc-dhcp

r14816 | Bug #38675 DHCP: Fix host entry generation

Package: isc-dhcp
Version: 4.2.2.dfsg.1-5+deb70u6.29.201506091524
Branch: ucs_4.0-0
Scope: errata4.0-2

r61144 | Bug #38675 DHCP: YAML
 2015-06-09-isc-dhcp.yaml

QA:
univention-install univention-dhcp
udm dhcp/host create \
 --superordinate "$(udm dhcp/service list|sed -ne 's/^DN: //p;T;q')" \
 --set host='einssechssechs' \
 --set hwaddress='ethernet 00:01:2c:00:00:01' \
 --set fixedaddress='172.22.25.116'
sed -i -e 's/^#\? *ldap-method .*/ldap-method static;/' /etc/dhcp/dhcpd.conf
/etc/init.d/univention-dhcp restart
tr -dc '{}' < /var/log/dhcp-ldap-startup.log

aptitude install '?source-package(isc-dhcp)~i'
/etc/init.d/univention-dhcp restart
tr -dc '{}' < /var/log/dhcp-ldap-startup.log
Comment 2 Janek Walkenhorst univentionstaff 2015-06-29 16:46:43 CEST
Tests (amd64): OK
Patch review: OK
Advisory: OK
Comment 3 Janek Walkenhorst univentionstaff 2015-06-30 16:14:58 CEST
<http://errata.univention.de/ucs/4.0/215.html>