Bug 42223

Summary: File-not-Found Traceback after Setup finish
Product: UCS Reporter: Hendrik Peter <hpeter>
Component: UMC - Setup wizardAssignee: UMC maintainers <umc-maintainers>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 CC: best
Version: UCS 4.2   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- 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?: 2: A Pain – users won’t like this once they notice it
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: Traceback in Log

Description Hendrik Peter univentionstaff 2016-09-02 10:30:51 CEST
Created attachment 7972 [details]
Traceback in Log

The Wizard shows the following Traceback after finishing the Setup and reloading the Modules:

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

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 283, in execute
    function(self, request)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 318, in _response
    result = _multi_response(self, request)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 462, in _response
    return list(function(self, iterator, *nones))
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 284, in _fake_func
    yield function(self, *args)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/__init__.py", line 165, in save_keymap
    subprocess.call(['/usr/bin/setxkbmap', '-display', ':0', '-layout', layout])
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden
-----------------------

To Recreate:
1) Login to KVM Server and create a new Instance from a Template
2) Run the Setup with the settings stated below
3) Reload the Modules when asked and finish the Setup

ssh hejne
ucs-kt-get -O UCS
(97) [UCS : 4.1-0 amd64 - generic-v2]
[name]

-> Open the VNC
Settings used:
Deutsch
Bremen

Einer bestehenden UCS-Domäne beitreten
Domänencontroller Slave

Fertigstellen
"Neustart der Server-Komponenten"
Erneutes Laden der UMC notwendig -> Neu laden

-----------------------

Note:
UCS loads without problems after restarting the Server.
Comment 1 Florian Best univentionstaff 2016-09-05 11:07:29 CEST

*** This bug has been marked as a duplicate of bug 41920 ***
Comment 2 Florian Best univentionstaff 2016-09-19 17:33:38 CEST
<http://errata.software-univention.de/ucs/4.1/244.html>