Hallo, Liste!
Seit einige Zeit habe ich nur Probleme... Scheiße!
Also, ich habe heute auf einem Server OpenSuSE 10.3 installiert.
Der Kunde will XEN haben, also, alle XEN-Pakete installiert.
Ich boote den XEN-Kernel, auch hier alles OK. Nun will ich mit YaST einen neuen
virtuellen Machine anlegen. Geht nicht!
Ich sehe, wenn ich /usr/bin/vm-install manuell starte, daß ich folgende Fehler
bekomme:
==============
Traceback (most recent call last):
  File "/usr/bin/vm-install", line 22, in <module>
    import vmdisks.disks
  File "/usr/lib64/python2.5/site-packages/vmdisks/__init__.py", line 2, in
<module>
    from diskmap import *
  File "/usr/lib64/python2.5/site-packages/vmdisks/diskmap.py", line 1, in
<module>
    import libvirt
  File "/usr/lib64/python2.5/site-packages/libvirt.py", line 702
                           ^
IndentationError: expected an indented block
==============
Ich habe die Datei /usr/lib64/python2.5/site-packages/libvirt.py an die Zeile
702 geöffnet. Sie sieht so aus:
==============
    def lookupByUUID(self, uuid):
        """Try to lookup a domain on the given hypervisor based on its
           UUID. """
        ret = libvirtmod.virDomainLookupByUUID(self._o, uuid)
        if ret is None:
==============
(die letzte Zeile ist die 702)
Also, ich denke, es fehlt was. Ich kenne aber Python nicht.
Kann jemand mir einen guten Tipp geben?
Danke
Luca Bertoncello
(lucabert(a)lucabert.de)