Bug 35518 - Missing name-server via DHCP breaks installer
Missing name-server via DHCP breaks installer
Status: CLOSED DUPLICATE of bug 34484
Product: UCS
Classification: Unclassified
Component: System setup
UCS 4.0
All Linux
: P5 normal (vote)
: UCS 4.0
Assigned To: UCS maintainers
Stefan Gohmann
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-30 10:48 CEST by Philipp Hahn
Modified: 2018-04-14 13:37 CEST (History)
2 users (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

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2014-07-30 10:48:07 CEST
During development of the new Debian based installer for UCS-4.0 I use
  kvm ... -net user,net=10.200.17.128/25,host=10.200.17.129,dns=10.200.17.130 ...
for testing, which sets up a dummy network. When selecting "Obtain IP address automatically (DHCP)" I get the following two error dialogs

> Notification [X]
> DHCP query failed.
> [Ok]

> Coul dnot process the request
> Show server error message
> [Close] [Send as email]

The traceback is:
> Execution of command #setup/net/dhclient' has failed:
>
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.7/univention/management/console/modules/__init__.py", line 218, in execute
> func( request 
> File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 305, in _response
...
> File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 432, in _response
...
> File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 432, in _fake_func
...
> File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/__init__.py", line 555, in net_dhclient
...
> File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/utils.py", line 661, in dhclient
...
> File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/utils.py", 813 661, in get_nameserver_domain
>   everse_lookup = resolver.query(reverse_address, 'PTR')
> File "/usr/lib/python2.7/dist-packages/dns/resolver.py", line 856, in query
    raise NXDOMAIN
> NXDOMAIN


Even when I disable DHCP again and try to finish the wizard, Validation fails:
> Preferred UCS domain name server
>> At least one domain name server needs to be given if DHCP or SLAAC is not specified.

They are both disabled, a DNS server is given, but still it fails.
Comment 1 Florian Best univentionstaff 2014-07-30 10:51:11 CEST
This is an open point in Bug #34484.

*** This bug has been marked as a duplicate of bug 34484 ***
Comment 2 Stefan Gohmann univentionstaff 2014-08-20 08:02:39 CEST
OK
Comment 3 Stefan Gohmann univentionstaff 2014-11-26 06:55:30 CET
UCS 4.0-0 has been released:
 http://docs.univention.de/release-notes-4.0-0-en.html
 http://docs.univention.de/release-notes-4.0-0-de.html

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