Univention Bugzilla – Bug 50881
uvmm/domain/add: KeyError: 'kblayout'
Last modified: 2023-06-28 10:51:56 CEST
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
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.
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.