Bug 50881 - uvmm/domain/add: KeyError: 'kblayout'
uvmm/domain/add: KeyError: 'kblayout'
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC - Virtual machines (UVMM)
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-02-28 12:29 CET by Christian Castens
Modified: 2023-06-28 10:51 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: 2019120621000802
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Castens univentionstaff 2020-02-28 12:29:19 CET
We received the following Traceback:

Version: 4.4-3 errata385 (Blumenthal)

Traceback(d41d8cd98f00b204e9800998ecf8427e):
Internal server error during "uvmm/domain/add".
Request: uvmm/domain/add

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 358, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 261, in execute
    function.__func__(self, request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/uvmm/domains.py", line 422, in domain_add
    gfx.keymap = profile['kblayout']
KeyError: 'kblayout'

Role: domaincontroller_master
Comment 1 Christian Castens univentionstaff 2020-02-28 13:36:15 CET
The problem can be reproduced by creating a VM with activated VNC access and selecting a profile which doesn't have the LDAP-attribute univentionVirtualMachineProfileKBLayout.
Comment 2 Philipp Hahn univentionstaff 2023-06-28 10:51:02 CEST
UVMM and virtualization with UCS is deprecated and will no longer be developed in UCS 4.4; they have already been removed from UCS 5.0.