Bug 45838 - univention system setup run into traceback in a certain setup
univention system setup run into traceback in a certain setup
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: System setup
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-3-errata
Assigned To: Erik Damrose
Florian Best
:
: 46053 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-08 12:41 CET by Tobias Birkefeld
Modified: 2018-10-26 17:06 CEST (History)
4 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?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018012321000838, 2018012121000271, 2018012121000261, 2017121821000338, 2018011521000451, 2017121721000134, 2017121321000016, 2017123021000074, 2017123021000314, 2018010521000523, 2018010521000345, 2017120721000761, 2017120221000206, 2017120121000744
Bug group (optional):
Max CVSS v3 score:


Attachments
traceback01 (194.30 KB, image/png)
2017-12-08 12:41 CET, Tobias Birkefeld
Details
traceback02 (71.43 KB, image/png)
2017-12-08 12:41 CET, Tobias Birkefeld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Birkefeld univentionstaff 2017-12-08 12:41:06 CET
Created attachment 9308 [details]
traceback01

Error occurs with UCS 4.2-3 ISO image.

...
   return all(is_domainname.RE.match(_) for _ in domainname.split('.'))
AttributeError: 'bool' object has no attribute 'split'

The complete error in screenshots in attachments.


To reproduce install a clean UCS from iso with:
network config:
* IP: 1.1.1.1/24
* no DNS server address
* no gateway (ignore insufficient network config warning)
Join config:
* choose "join into existing UCS domain"
* as member server
* no join during installation

In the validation at the end of the system setup the error occurs. You can't finish the installation.
Comment 1 Tobias Birkefeld univentionstaff 2017-12-08 12:41:18 CET
Created attachment 9309 [details]
traceback02
Comment 2 Tobias Birkefeld univentionstaff 2017-12-08 12:45:24 CET
customer reported that this doesn't happen with UCS 4.2-2 ISO
Comment 3 Johannes Keiser univentionstaff 2017-12-11 15:22:18 CET
Reported again: 
Version: 4.2-3 errata52 (Lesum)

Die Ausführung des Kommandos setup/validate wizard ist fehlgeschlagen:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 250, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/setup/__init__.py", line 398, in validate
    _check('domainname', util.is_domainname, _("Please enter a valid fully qualified domain name (e.g. host.example.com)."))
  File "%PY2.7%/univention/management/console/modules/setup/__init__.py", line 379, in _check
    if not check(values[key]):
  File "%PY2.7%/univention/management/console/modules/setup/util.py", line 851, in is_domainname
    return all(is_domainname.RE.match(_) for _ in domainname.split('.'))
AttributeError: 'bool' object has no attribute 'split'
Comment 4 Johannes Keiser univentionstaff 2017-12-11 15:32:25 CET
Reported again: Version: 4.2-3 errata52 (Lesum)
Comment 5 Johannes Keiser univentionstaff 2017-12-11 15:52:24 CET
Reported again: Version: 4.2-3 errata245 (Lesum)
Comment 6 Florian Best univentionstaff 2017-12-18 14:42:02 CET
This is already accidently fixed by Bug #44448.
Nevertheless we should build new images and replace our internal KVM templates.

@Erik: Could you do this?
Comment 7 Erik Damrose univentionstaff 2017-12-21 12:58:16 CET
New Appliance available in omar:/var/univention/buildsystem2/temp/build/appliance/, please test if the issue is fixed there.
Comment 8 Florian Best univentionstaff 2017-12-22 10:53:40 CET
(In reply to Erik Damrose from comment #7)
> New Appliance available in
> omar:/var/univention/buildsystem2/temp/build/appliance/, please test if the
> issue is fixed there.
Yes, it is.
Comment 9 Johannes Keiser univentionstaff 2018-01-12 16:47:36 CET
Reported again: Version: 4.2-1 errata125 (Lesum)
Comment 10 Johannes Keiser univentionstaff 2018-01-12 16:48:02 CET
(In reply to Johannes Keiser from comment #9)
> Reported again: Version: 4.2-1 errata125 (Lesum)

Remark: Medlung erscheint, nachdem der Serverjoin deaktiviert wurde.
Comment 11 Johannes Keiser univentionstaff 2018-01-12 17:34:16 CET
Reported again: ersion: 4.2-3 errata52 (Lesum)
Comment 12 Johannes Keiser univentionstaff 2018-01-12 18:41:58 CET
Reported again: Version: 4.2-3 errata52 (Lesum)

Remark: attempting to connect as a member server to an existing ucs domain server. This error occurs when I deselect "attempt connection at end of installation".
Comment 13 Johannes Keiser univentionstaff 2018-01-12 18:47:21 CET
Reported again: Version: 4.2-3 errata52 (Lesum)

Remark: Die Fehlermeldung erscheint nach der Softwareauswahl, wenn man auf "Weiter" klickt.
Comment 14 Dirk Ahrnke 2018-01-16 11:47:15 CET
+1 using UCS_4.2-3-amd64.iso (2017-11-28 15:44) from http://updates.software-univention.de/download/ucs-cds/ucs4.2-3/ and not attempting to join at the end of installation.
Comment 15 Florian Best univentionstaff 2018-01-16 11:49:02 CET
(In reply to Dirk Ahrnke from comment #14)
> +1 using UCS_4.2-3-amd64.iso (2017-11-28 15:44) from
> http://updates.software-univention.de/download/ucs-cds/ucs4.2-3/ and not
> attempting to join at the end of installation.

@Erik: Can we replace them, too?
Comment 16 Florian Best univentionstaff 2018-01-16 11:49:52 CET
*** Bug 46053 has been marked as a duplicate of this bug. ***
Comment 17 Johannes Keiser univentionstaff 2018-01-16 18:38:47 CET
Reported again: Version: 4.2-3 errata52 (Lesum)

Remark: System wurde gerade Installiert (Slave-DC ohne Domänenbeitritt nach Installation). Meldung kommt nach Auswahl der UCS-Komponenten.
Comment 18 Johannes Keiser univentionstaff 2018-01-19 15:50:47 CET
Reported again: Version: 4.2-3 errata52 (Lesum)
Comment 19 Johannes Keiser univentionstaff 2018-01-19 16:36:52 CET
Reported again: Version: 4.2-3 errata231 (Lesum)

Remark: No domainname configured, no join during install, no components selected
Comment 20 Johannes Keiser univentionstaff 2018-01-19 18:08:14 CET
Reported again: Version: 4.2-3 errata231 (Lesum)

Remark: internal image, isala ucs-kt-get -> 58 "UCS: 4.2-3 amd64 - generic-unsafe", join into 4.2-3 master
Comment 21 Johannes Keiser univentionstaff 2018-02-15 17:06:54 CET
Reported again: Version: 4.2-3 errata52 (Lesum)
Comment 22 Johannes Keiser univentionstaff 2018-02-15 17:09:09 CET
Reported again: Version: 4.2-3 errata52 (Lesum)
Comment 23 Johannes Keiser univentionstaff 2018-02-15 18:33:40 CET
Reported again:  Version: 4.2-3 errata52 (Lesum)

Remark: Installing new Backup DC without joining first
Comment 24 Johannes Keiser univentionstaff 2018-02-15 18:34:53 CET
Reported again:  Version: 4.2-3 errata52 (Lesum)
Ticket#2018012121000029
Comment 25 Johannes Keiser univentionstaff 2018-02-15 18:49:23 CET
Reported again: Version: 4.2-3 errata52 (Lesum)
Ticket#2018012321000963
Comment 26 Johannes Keiser univentionstaff 2018-02-16 13:44:37 CET
Reported again: Version: 4.2-3 errata52 (Lesum)
Ticket#2018021421000899
Comment 27 Johannes Keiser univentionstaff 2018-02-16 14:24:18 CET
Reported again: Version: 4.2-3 errata52 (Lesum)
Ticket#2018021221000866
Comment 28 Johannes Keiser univentionstaff 2018-03-15 15:19:16 CET
Reported again:  Version: 4.2-3 errata52 (Lesum)
Ticket#2018022421000254
Comment 29 Erik Damrose univentionstaff 2018-03-15 16:56:11 CET
The fix is incorporated in UCS 4.3. For the UCS 4.2 line it will be fixed with new DVD isos with 4.2-4.
Comment 30 Johannes Keiser univentionstaff 2018-04-27 12:55:11 CEST
Version: 4.2-3 errata52 (Lesum)
Ticket#2018022421000272
Ticket#2018022421000281
Ticket#2018022421000291
Ticket#2018030221000632

Ticket#2018030321000131
Remark: I had problems setting up a DC Slave as it would always fail at the join at the end of the install. I trued another clean install and chose not to join the domain in the
gui installer thinking I will join on the command line later. This error occouredf at the end of the install
Comment 31 Johannes Keiser univentionstaff 2018-05-25 18:19:59 CEST
Version: 4.2-3 errata231 (Lesum)
Ticket#2018052221000627
(Same as Comment #3)
Comment 32 Johannes Keiser univentionstaff 2018-05-25 18:27:35 CEST
Version: 4.2-3 errata52 (Lesum)
Ticket#2018052121000692
(Same as comment #3)
Comment 33 Johannes Keiser univentionstaff 2018-07-16 15:21:42 CEST
Reported again:
Version: 4.2-3 errata52 (Lesum)
Ticket#2018062621000574
Ticket#2018062621000574
(Same as comment #3)
Comment 34 Johannes Keiser univentionstaff 2018-10-26 17:06:00 CEST
Reported again: Version: 4.2-3 errata52 (Lesum)
Ticket#2018102421000944
Traceback: Same as Comment #3
Remark: Try to install 4.2