Bug 39224 - UVMM: 'NoneType' object has no attribute '__getitem__'
UVMM: 'NoneType' object has no attribute '__getitem__'
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - Virtual machines (UVMM)
UCS 4.3
Other Linux
: P4 normal (vote)
: UCS 4.x
Assigned To: UMC maintainers
:
: 33932 42762 44439 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-20 08:37 CEST by Florian Best
Modified: 2019-03-25 14:45 CET (History)
5 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.114
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Ticket number: 2019022821000601, 2017012621000316, 2016102121000168, 2017040221000114
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 Florian Best univentionstaff 2015-08-20 08:37:28 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__'
Comment 1 Florian Best univentionstaff 2015-10-14 12:06:39 CEST
Reported again, 4.0-3 errata336 (Walle)

Remark:
Es konnte einer virtuellen Maschine kein Netzwerkadapter vom Typ NAT hinzugefügt werden
Comment 2 Florian Best univentionstaff 2016-04-12 08:27:37 CEST
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).
Comment 3 Florian Best univentionstaff 2016-07-25 13:52:00 CEST
Reported again, 4.1-2 errata211 (Vahr)
Comment 4 Jens Thorp-Hansen univentionstaff 2016-09-05 14:10:09 CEST
Happend again in our own testenvironment: Ticket#2016090521000478
Comment 5 Florian Best univentionstaff 2017-02-02 12:39:45 CET
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
Comment 6 Philipp Hahn univentionstaff 2018-05-30 10:29:08 CEST
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'
Comment 7 Philipp Hahn univentionstaff 2018-05-30 10:29:36 CEST
*** Bug 42762 has been marked as a duplicate of this bug. ***
Comment 8 Philipp Hahn univentionstaff 2018-05-30 10:29:53 CEST
*** Bug 44439 has been marked as a duplicate of this bug. ***
Comment 9 Philipp Hahn univentionstaff 2018-09-27 10:20:59 CEST
*** Bug 33932 has been marked as a duplicate of this bug. ***
Comment 10 Johannes Keiser univentionstaff 2019-03-25 14:45:17 CET
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