Univention Bugzilla – Bug 39224
UVMM: 'NoneType' object has no attribute '__getitem__'
Last modified: 2023-06-28 10:51:44 CEST
We received the following traceback, 4.0-3 errata285 (Walle): Execution of command 'uvmm/domain/put' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 282, in execute function(self, request) File "%PY2.7%/univention/management/console/modules/uvmm/domains.py", line 479, in domain_add for disk in domain['disks'] File "%PY2.7%/univention/management/console/modules/uvmm/domains.py", line 322, in _create_disk pool_type = pool['type'] TypeError: 'NoneType' object has no attribute '__getitem__'
Reported again, 4.0-3 errata336 (Walle) Remark: Es konnte einer virtuellen Maschine kein Netzwerkadapter vom Typ NAT hinzugefügt werden
Reported again. Version: 4.1-1 errata140 (Vahr) Remark: zwei bridge adapter, welche auf dem ucs host keine IP besitzen, einer VM zugeordnet (als virtio). die bridges zeigen direkt jeweils auf einen eth device (intel dual port adapter).
Reported again, 4.1-2 errata211 (Vahr)
Happend again in our own testenvironment: Ticket#2016090521000478
Reported again, 4.1-4 errata380 1) steps to reproduce the failure Change CD-ROM media on a running server to “None" 2) expected result Ejected CD-ROM image 3) actual result Error
Again 4.3-0 @ laiva Killing the UMC-UVMM process helped after the pool was manually started using "virsh pool-start". sudo pkill -f '/usr/bin/python2.7 /usr/sbin/univention-management-console-module -m uvmm'
*** Bug 42762 has been marked as a duplicate of this bug. ***
*** Bug 44439 has been marked as a duplicate of this bug. ***
*** Bug 33932 has been marked as a duplicate of this bug. ***
Reported again: Version: 4.2-5 errata567 (Lesum) Interner Server-Fehler in "uvmm/domain/put". Request: uvmm/domain/put Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 253, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/uvmm/domains.py", line 439, in domain_add for disk in domain['disks'] File "%PY2.7%/univention/management/console/modules/uvmm/domains.py", line 292, in _create_disk pool_type = pool['type'] TypeError: 'NoneType' object has no attribute '__getitem__' Role: domaincontroller_backup
Hallo, bekomme ähnlichen Fehler auf 4-2 errata374 bei der Provisionierung einer VM auf unserem Backup-DC. 2019-11-23 10:48:48,625 - uvmmd.unix - ERROR - [228] Exception: 'NoneType' object has no attribute 'features' Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/univention/uvmm/unix.py", line 148, in handle_command res = cmd(self, command) File "/usr/lib/python2.7/dist-packages/univention/uvmm/commands.py", line 399, in DOMAIN_DEFINE uuid, warnings = node.domain_define(request.uri, request.domain) File "/usr/lib/python2.7/dist-packages/univention/uvmm/node.py", line 1818, in domain_define new_xml, live_updates = _domain_edit(node, domain, old_xml) File "/usr/lib/python2.7/dist-packages/univention/uvmm/node.py", line 1574, in _domain_edit for f_name in template.features: AttributeError: 'NoneType' object has no attribute 'features'
(In reply to christoph.daxl from comment #11) > Hallo, > > bekomme ähnlichen Fehler auf 4-2 errata374 bei der Provisionierung einer VM > auf unserem Backup-DC. > AttributeError: 'NoneType' object has no attribute 'features' Thanks, this is a different issue, I created Bug #50536 for it.
This issue has been filed against UCS 4.3. UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.