Bug 38329 - STORAGE_POOLS returns unicode
STORAGE_POOLS returns unicode
Status: CLOSED DUPLICATE of bug 39569
Product: UCS
Classification: Unclassified
Component: UMC - Virtual machines (UVMM)
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-04-23 10:32 CEST by Florian Best
Modified: 2023-06-28 10:51 CEST (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 Florian Best univentionstaff 2015-04-23 10:32:22 CEST
We received the following traceback, 4.0-1 errata160 (Walle):

Die Ausführung des Kommandos uvmm/storage/volume/deletable ist fehlgeschlagen:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/__init__.py", line 176, in _decorated
    return function(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/uvmm/storages.py", line 218, in storage_volume_deletable
    pool = self.get_pool(node_uri, volume['pool'])
  File "%PY2.7%/univention/management/console/modules/uvmm/storages.py", line 286, in get_pool
    pools = dict([(pool.name, object2dict(pool)) for pool in data])
AttributeError: 'unicode' object has no attribute 'name'

From Code-Review it looks strange. Maybe data is a string from some exception instead of a list?
Comment 1 Philipp Hahn univentionstaff 2018-10-04 17:16:29 CEST

*** This bug has been marked as a duplicate of bug 39569 ***