Bug 32855 - Traceback: Invalid packet: missing Domaintemplate — probably threading issue
Traceback: Invalid packet: missing Domaintemplate — probably threading issue
Status: CLOSED DUPLICATE of bug 44128
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 3.2
All Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
: 33173 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-14 12:27 CEST by Philipp Hahn
Modified: 2023-03-25 06:41 CET (History)
2 users (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:
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 Philipp Hahn univentionstaff 2013-10-14 12:27:34 CEST
After restarting UMC-server and UVMM two requests "uvmm/node/query"s are sent in short succession from the web-frontent, where the 2nd call fails with the following traceback:

==> management-console-module-uvmm.log <==
11.10.13 22:51:42.376  MODULE      ( PROCESS ) : An internal error occurred:   File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run
    tmp = self._function()
  File "/usr/lib/pymodules/python2.6/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/uvmm/uvmmd.py", line 84, in request
    raise UVMM_Error(str(ex))
UVMM_Error: Not a valid Packet: 'module' object has no attribute 'DomainTemplate'


I could not reproduce it with "umcp-command uvmm/node/qeuery" or "uvmm nodes default".

I think that src/univention/uvmm/protocol.py:23 creates a PicklingError, which is re-raised as a PacketError.
This is translated to a ClientError in src/univention/uvmm/client.py to a ClientError, which is caught in umc/python/umv/uvmmd.py:81

The UMC Python backend process opens a new connection for each request, so there's probably a concurrency error somewhere in UVMMd or Python.
Comment 1 Florian Best univentionstaff 2014-07-07 10:09:36 CEST
*** Bug 33173 has been marked as a duplicate of this bug. ***
Comment 2 Florian Best univentionstaff 2014-07-07 10:10:13 CEST
Reported by traceback feedback from 3.2-2 errata125 (Borgfeld).
Comment 3 Philipp Hahn univentionstaff 2017-05-02 16:07:38 CEST

*** This bug has been marked as a duplicate of bug 44128 ***
Comment 4 Florian Best univentionstaff 2017-05-02 16:19:02 CEST
Yes, duplicate!
Comment 5 Florian Best univentionstaff 2017-08-17 19:03:21 CEST
This hit me today on laiva:
(u"Die Verbindung zum univention-virtual-machine-manager-daemon-Dienst ist fehlgeschlagen: Not a valid Packet: 'module' object has no attribute 'DomainTemplate'",)