Bug 39569 - uvmm/domain/put: AttributeError: 'str' object has no attribute 'name'
uvmm/domain/put: AttributeError: 'str' object has no attribute 'name'
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC - Virtual machines (UVMM)
UCS 4.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
:
: 38329 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-16 10:52 CEST by Florian Best
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?:
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-10-16 10:52:28 CEST
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 297, in _create_disk
    pool = self.get_pool(node_uri, pool_name)
  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: 'str' object has no attribute 'name'


Remark:
zum wiederholten male stürzt der gesamte uvmm server ab, wenn man einen snapshot einer heruntergefahrenen .qcow2 iamge basierten vm erstellen will.

Version:
4.0-3 errata341 (Walle)
Comment 1 Philipp Hahn univentionstaff 2018-10-04 17:16:29 CEST
*** Bug 38329 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Gohmann univentionstaff 2019-01-03 07:17:11 CET
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016.

Customers still on UCS 4.0 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.