LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-11-2014, 07:39 PM   #1
dguy
Member
 
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119

Rep: Reputation: 16
KVM / libvirt on Slack 14.1 64-bit - error on attempt to create new VM


Hi,

After installing KVM, libvirt, and qemu, I have been following this guide for configuration and VM creation. I have hit a wall when it comes to creating a new VM however.

Upon attempting to create a new VM on my localhost, Virtual Machine Manager reports Error launching manager: 'NoneType' object has no attribute 'get_default_storage_format', with the following details:

Code:
Error launching manager: 'NoneType' object has no attribute 'get_default_storage_format'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 877, in _do_show_create
    self._get_create_dialog().show(src.topwin, uri)
  File "/usr/share/virt-manager/virtManager/create.py", line 170, in show
    self.reset_state(uri)
  File "/usr/share/virt-manager/virtManager/create.py", line 389, in reset_state
    self.addstorage.reset_state()
  File "/usr/share/virt-manager/virtManager/addstorage.py", line 195, in reset_state
    fmt = self.conn.get_default_storage_format()
AttributeError: 'NoneType' object has no attribute 'get_default_storage_format'
I don't speak Python which doesn't make the traceback particularly revealing, and online research has so far consistently circled back around to "install qemu", which I had performed previously. Any fresh ideas would be greatly appreciated!
 
Old 07-14-2014, 02:28 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
What options did you select earlier in the process?

FWIW, I'm using...

libvirt-python-1.2.6-x86_64-1_SBo
libvirt-1.2.6-x86_64-1_SBo
virt-manager-1.0.1-x86_64-1_SBo
qemu-2.0.0-x86_64-2_SBo

Last edited by Richard Cranium; 07-14-2014 at 02:31 PM. Reason: The versions that I'm using might be of use.
 
1 members found this post helpful.
Old 07-15-2014, 05:37 AM   #3
dguy
Member
 
Registered: Dec 2001
Location: Beckwith Township, Ontario, Canada
Distribution: Slackware 14.0, Slackware-64 14.1
Posts: 119

Original Poster
Rep: Reputation: 16
Thanks for the reply Richard Cranium. Your list prompted me to start looking up installed package versions, but then I had to stop and remind myself of this part of my opening message:

Quote:
Originally Posted by dguy View Post
...online research has so far consistently circled back around to "install qemu", which I had performed previously.
Apparently I had downloaded the qemu source and SlackBuild, but never installed it. I rectified that little gem a few moments ago, and the error on attempting to create a new VM is no longer. For what it's worth I'm currently working with:
  • libvirt-1.2.3-x86_64-1_SBo
  • libvirt-glib-0.1.8-x86_64-1_SBo
  • libvirt-python-1.2.3-x86_64-1_SBo
  • virt-manager-1.0.0-x86_64-1_SBo
  • qemu-2.0.0-x86_64-2_SBo

I see that a couple of those have advanced a bit since I last downloaded them. Adding updates to my to-do list....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LibVirt/KVM: HyperThreading On or Off? r0b0 Linux - Virtualization and Cloud 3 02-17-2013 11:49 PM
libvirt qemu/kvm on Debian Squeeze; serial port causes error in VM startup ordinary Linux - Virtualization and Cloud 0 10-03-2012 07:56 PM
LXer: Scripting KVM with Python, Part 2: Add a GUI to manage KVM with libvirt and Python LXer Syndicated Linux News 0 01-17-2012 08:11 PM
Can't create new kvm using libvirt in freshly installed Centos 6 priyana Linux - Virtualization and Cloud 2 09-16-2011 01:13 AM
LXer: Set up Ubuntu 11.04 KVM to run is spice session on Fedora 14 KVM Server ( Libvirt Preview Env) LXer Syndicated Linux News 0 03-20-2011 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration