[Bug 796907] New: "Create Virtual Machines" in YAST produces error "libvirtmod.so: wrong ELF class"
https://bugzilla.novell.com/show_bug.cgi?id=796907 https://bugzilla.novell.com/show_bug.cgi?id=796907#c0 Summary: "Create Virtual Machines" in YAST produces error "libvirtmod.so: wrong ELF class" Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: KVM AssignedTo: kvm-bugs@forge.provo.novell.com ReportedBy: lbickley@bickleywest.com QAContact: jdouglas@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4 After installing KVM and rebooting, attempting to "Create Virtual Machines" in YAST yields the following error: "libvirtmod.so: wrong ELF class" Reproducible: Always Steps to Reproduce: 1. Start YAST 2. Go to Virtualization 3. Select Create Virtual Machines Actual Results: Traceback (most recent call last): File "/usr/bin/vm-install", line 24, in <module> import vmdisks.disks File "/usr/lib/python2.7/site-packages/vmdisks/__init__.py", line 2, in <module> from diskmap import * File "/usr/lib/python2.7/site-packages/vmdisks/diskmap.py", line 1, in <module> import libvirt File "/usr/lib/python2.7/site-packages/libvirt.py", line 25, in <module> raise lib_e ImportError: /usr/lib/python2.7/site-packages/libvirtmod.so: wrong ELF class: ELFCLASS32 Expected Results: Began creation of VM Re-installed "libvert-python" which provides libvirtmod.so, and the same error occurred. Reinstalled all KVM and KVM supporting libraries and same error occurred. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=796907
https://bugzilla.novell.com/show_bug.cgi?id=796907#c1
--- Comment #1 from Lyle Bickley
https://bugzilla.novell.com/show_bug.cgi?id=796907
https://bugzilla.novell.com/show_bug.cgi?id=796907#c
Bruce Rogers
https://bugzilla.novell.com/show_bug.cgi?id=796907
https://bugzilla.novell.com/show_bug.cgi?id=796907#c2
James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=796907
https://bugzilla.novell.com/show_bug.cgi?id=796907#c3
Lyle Bickley
https://bugzilla.novell.com/show_bug.cgi?id=796907
https://bugzilla.novell.com/show_bug.cgi?id=796907#c4
James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=796907
https://bugzilla.novell.com/show_bug.cgi?id=796907#c5
--- Comment #5 from Lyle Bickley
https://bugzilla.novell.com/show_bug.cgi?id=796907
https://bugzilla.novell.com/show_bug.cgi?id=796907#c
Lyle Bickley
https://bugzilla.novell.com/show_bug.cgi?id=796907
https://bugzilla.novell.com/show_bug.cgi?id=796907#c6
James Fehlig
As I mentioned, others in the Opensuse forum have experienced this same issue.
Hmm, I never read the forums. I should, but unfortunately don't have the time.
Perhaps either you or I should explain to them that the problem seems to be that using YAST to install the kvm, etc. is not sufficient - but manually installing kvm, libvert, etc. plus starting the libvertd.service is the solution.
You shouldn't have to install those packages manually. When initially installing kvm, did you use the "Install Hypervisor and Tools" yast module? That module should install libvirt, vm-install, virt-viewer, virt-manager, etc. and propose a bridge configuration if your system doesn't already have one. Essentially, your system should be ready to go after performing "Install Hypervisor and Tools" :). BTW, IMO virtualization with KVM in 12.2 has some good documentation, including items we have discussed in this bug under the "Installing KVM" section http://doc.opensuse.org/documentation/html/openSUSE/opensuse-kvm/
Thanks for your help and support!!!
You're welcome. I'm going to close this bug for now. Feel free to reopen (or open a new bug) if you encounter problems. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com