Bug 21979 - VM-Anlegen mit LVM-Laufwerk schlägt fehl → Traceback
VM-Anlegen mit LVM-Laufwerk schlägt fehl → Traceback
Status: CLOSED DUPLICATE of bug 19574
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 2.4
All Linux
: P5 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks: 19574
  Show dependency treegraph
 
Reported: 2011-03-24 14:06 CET by Philipp Hahn
Modified: 2023-06-28 10:46 CEST (History)
3 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):
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 2011-03-24 14:06:42 CET
# lvcreate -n test1 -L 1G vg_ucs
# lvcreate -n test2 -L 1G vg_ucs
# cat vg_ucs.xml
<pool type="logical">
        <name>vg_ucs</name>
        <target>
          <path>/dev/vg_ucs</path>
        </target>
      </pool>
# virsh pool-define vg_ucs.xml
# virsh pool-start vg_ucs
# virsh pool-autostart vg_ucs
→ UMC → UVMM -> Instanz Hinzufügen → ... → Laufwerk hinzufügen → existierendes Laufwerk → Pool=vg_ucs, Weiter → test1 → Hinzufügen → Traceback

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

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/univention/management/console/handlers/__init__.py", line 160, in execute
    func( object )
  File "/usr/lib/python2.4/site-packages/univention/management/console/handlers/uvmm/__init__.py", line 1196, in uvmm_domain_create
    result = self.domain_wizard.action( object, ( node_uri, node_info ) )
  File "/usr/lib/python2.4/site-packages/univention/management/console/handlers/uvmm/wizards.py", line 568, in action
    return umcd.IWizard.action( self, object )
  File "/usr/lib/python2.4/site-packages/univention/management/console/dialog/wizard.py", line 199, in action
    return self.actions[ action ]( object )
  File "/usr/lib/python2.4/site-packages/univention/management/console/handlers/uvmm/wizards.py", line 746, in finish
    self.drive_wizard.finish( object )
  File "/usr/lib/python2.4/site-packages/univention/management/console/handlers/uvmm/wizards.py", line 511, in finish
    if drive_device[ 0 ] != '/':
TypeError: unsubscriptable object
Comment 1 Philipp Hahn univentionstaff 2011-03-24 14:09:38 CET
class DriveWizard( umcd.IWizard ):
...
        def finish( self, object ):
...
                drive_device = object.options.get( 'drive-device', None )
...
                        if drive_device[ 0 ] != '/':
Comment 2 Stefan Gohmann univentionstaff 2011-03-25 08:20:46 CET

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