Bug 45721 - uvmm/domain/add: AttributeError: 'NoneType' object has no attribute 'status'
uvmm/domain/add: AttributeError: 'NoneType' object has no attribute 'status'
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC - Virtual machines (UVMM)
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-15 17:53 CET by Johannes Keiser
Modified: 2023-06-28 10:51 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very 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.046
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018060321000411, 2018011821000535, 2017111521000603, 2017111721000252
Bug group (optional): 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 Johannes Keiser univentionstaff 2017-11-15 17:53:38 CET
Version: 4.2-2 errata164 (Lesum)

Die Ausführung des Kommandos uvmm/domain/add ist fehlgeschlagen:

Traceback (most recent call last):
  File "%PY2.7%/notifier/threads.py", line 82, in _run
    tmp = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File "%PY2.7%/univention/management/console/modules/uvmm/uvmmd.py", line 106, in request
    return self.response(data)
  File "%PY2.7%/univention/management/console/modules/uvmm/uvmmd.py", line 113, in response
    success = result.status == 'OK'
AttributeError: 'NoneType' object has no attribute 'status'
Comment 1 Johannes Keiser univentionstaff 2017-11-29 12:30:57 CET
Reported again: Version: 4.2-2 errata222 (Lesum)
Remark: VM-Clone angelegt, dabei keinen Namen angegeben
Comment 2 Johannes Keiser univentionstaff 2018-01-19 16:52:36 CET
Reported again: Version: 4.2-2 errata262 (Lesum)
Comment 3 Johannes Keiser univentionstaff 2018-07-16 16:53:05 CEST
Reported again:

Version: 4.2-3 errata418 (Lesum)

Remark: meine ersten Gehversuche mit einem "KVM Cluster". Auf einem 2. UCS Server habe ich einen Speicherpool so eingerichtet, dass man eine VM von einem Server zum anderen im
Betrieb migrieren kann. Das hat sogar sehr gut funktioniert. Aber dann...

Wollte ich testen, was passiert, wenn ein Server ausfällt und habe ihn ausgeschaltet. Bei einem Hyper-V Cluster würden die VMs sofort auf dem noch verfügbaren Server neugestartet
werden. Das tut es bei KVM offenbar nicht. Dann habe ich in der UMC versucht, die VM manuell auf den funktionierenden Server zu migrieren. Das klappt auch nicht, der UMC Dialog
friert ein.
Die VM wird pausiert angezeigt, da dachte ich vielleicht lässt sie sich wiederbeleben, wenn ich zunächst die VM stoppe und dann migriere. Das geht auch nicht, UMC Dialog wieder
eingeforen :-(

Interner Server-Fehler in "uvmm/domain/state".
Request: uvmm/domain/state

Traceback (most recent call last):
  File "%PY2.7%/notifier/threads.py", line 82, in _run
    tmp = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File "%PY2.7%/univention/management/console/modules/uvmm/uvmmd.py", line 106, in request
    return self.response(data)
  File "%PY2.7%/univention/management/console/modules/uvmm/uvmmd.py", line 113, in response
    success = result.status == 'OK'
AttributeError: 'NoneType' object has no attribute 'status'

Role: domaincontroller_master
Comment 4 Ingo Steuwer univentionstaff 2020-07-03 20:54:12 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 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.