[Bug 1448631] Re: 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
Same problem. virt-manager --debug: [Ср, 23 май 2018 12:17:53 virt-manager 9023] DEBUG (guest:248) Setting Guest.os_variant to 'generic' [Ср, 23 май 2018 12:17:53 virt-manager 9023] DEBUG (distroinstaller:191) Error validating install location Traceback (most recent call last): File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 186, in _validate_location dev.path = val File "/usr/share/virt-manager/virtinst/devicedisk.py", line 511, in _set_path self._set_xmlpath(self.path) File "/usr/share/virt-manager/virtinst/devicedisk.py", line 712, in _set_xmlpath if self._storage_backend.get_dev_type() == "network": File "/usr/share/virt-manager/virtinst/diskbackend.py", line 600, in get_dev_type self._conn.is_remote()) File "/usr/share/virt-manager/virtinst/diskbackend.py", line 203, in _get_dev_type uname -a Linux adm2 4.4.0-127-generic #153-Ubuntu SMP Sat May 19 10:58:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux if vol_xml.file_type == libvirt.VIR_STORAGE_VOL_BLOCK: File "/usr/share/virt-manager/virtinst/storage.py", line 717, in _get_vol_type return self._pool_xml.get_disk_type() AttributeError: 'NoneType' object has no attribute 'get_disk_type' [Ср, 23 май 2018 12:17:53 virt-manager 9023] ERROR (error:142) Ошибка валидации: Ошибка при выборе расположения установочного носителя. Validating install media '/data/iso/zentyal-3.2-amd64.iso' failed: 'NoneType' object has no attribute 'get_disk_type' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/create.py", line 1820, in _validate_install_page self._guest.installer.location = location File "/usr/share/virt-manager/virtinst/installer.py", line 80, in set_location self._location = self._validate_location(val) File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 193, in _validate_location (str(val), e)) ValueError: Validating install media '/data/iso/zentyal-3.2-amd64.iso' failed: 'NoneType' object has no attribute 'get_disk_type' dpkg -l | grep qemu rc aqemu 0.8.2-2build1 amd64Qt4 front-end for QEMU and KVM ii ipxe-qemu 1.0.0+git-20150424.a25a16d-1ubuntu1.2 all PXE boot firmware - ROM images for qemu ii qemu 1:2.5+dfsg-5ubuntu10.29 amd64fast processor emulator ii qemu-block-extra:amd64 1:2.5+dfsg-5ubuntu10.29 amd64extra block backend modules for qemu-system and qemu-utils ii qemu-kvm 1:2.5+dfsg-5ubuntu10.29 amd64QEMU Full virtualization ii qemu-slof 20151103+dfsg-1ubuntu1.1all Slimline Open Firmware -- QEMU PowerPC version ii qemu-system 1:2.5+dfsg-5ubuntu10.29 amd64QEMU full system emulation binaries ii qemu-system-arm 1:2.5+dfsg-5ubuntu10.29 amd64QEMU full system emulation binaries (arm) ii qemu-system-common 1:2.5+dfsg-5ubuntu10.29 amd64QEMU full system emulation binaries (common files) ii qemu-system-mips 1:2.5+dfsg-5ubuntu10.29 amd64QEMU full system emulation binaries (mips) ii qemu-system-misc 1:2.5+dfsg-5ubuntu10.29 amd64QEMU full system emulation binaries (miscelaneous) ii qemu-system-ppc 1:2.5+dfsg-5ubuntu10.29 amd64QEMU full system emulation binaries (ppc) ii qemu-system-sparc 1:2.5+dfsg-5ubuntu10.29 amd64QEMU full system emulation binaries (sparc) ii qemu-system-x86 1:2.5+dfsg-5ubuntu10.29 amd64QEMU full system emulation binaries (x86) ii qemu-user 1:2.5+dfsg-5ubuntu10.29 amd64QEMU user mode emulation binaries ii qemu-user-binfmt 1:2.5+dfsg-5ubuntu10.29 amd64QEMU user mode binfmt registration for qemu-user ii qemu-utils 1:2.
[Bug 1448631] Re: 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
I hit the same problem with Fedora 24 workstation, the solution was to install qemu-kvm-tools $sudo dnf install qemu-kvm-tools -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448631 Title: 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 889, 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 393, in reset_state self.addstorage.reset_state() File "/usr/share/virt- manager/virtManager/addstorage.py", line 196, in reset_state fmt = self.conn.get_default_storage_format() AttributeError: 'NoneType' object has no attribute 'get_default_storage_format' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1448631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1448631] Re: 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
I was editing vm details within virt-manager of a running win7_x64 machine. I added 250gb, virtio bus, qcow2, and cache none. I rebooted windows and this error appeared. I already have qemu-kvm installed. OS is Debian 8 amd64. Error launching details: 'NoneType' object has no attribute 'set_label' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 610, in _show_vm_helper details.show() File "/usr/share/virt-manager/virtManager/details.py", line 569, in show self.refresh_vm_state() File "/usr/share/virt-manager/virtManager/details.py", line 1417, in refresh_vm_state self.change_run_text(vm.hasSavedImage()) File "/usr/share/virt-manager/virtManager/details.py", line 1400, in change_run_text self.widget("details-menu-run").get_child().set_label(text) AttributeError: 'NoneType' object has no attribute 'set_label' root@vm1:~# cat /etc/debian_version jessie/sid root@vm1:~# cat /etc/os-release NAME="Ubuntu" VERSION="14.04.4 LTS, Trusty Tahr" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 14.04.4 LTS" VERSION_ID="14.04" HOME_URL="http://www.ubuntu.com/"; SUPPORT_URL="http://help.ubuntu.com/"; BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"; root@vm1:~# dpkg -l | grep qemu ii ipxe-qemu 1.0.0+git-2013.c3d1e78-2ubuntu1.1 all PXE boot firmware - ROM images for qemu ii qemu-keymaps2.0.0+dfsg-2ubuntu1.24 all QEMU keyboard maps ii qemu-kvm2.0.0+dfsg-2ubuntu1.24 amd64QEMU Full virtualization ii qemu-system-common 2.0.0+dfsg-2ubuntu1.24 amd64QEMU full system emulation binaries (common files) ii qemu-system-x86 2.0.0+dfsg-2ubuntu1.24 amd64QEMU full system emulation binaries (x86) ii qemu-utils 2.0.0+dfsg-2ubuntu1.24 amd64QEMU utilities root@vm1:~# dpkg -l | grep libvirt ii libvirt-bin 1.2.2-0ubuntu13.1.17 amd64programs for the libvirt library ii libvirt01.2.2-0ubuntu13.1.17 amd64library for interfacing with different virtualization systems ii python-libvirt 1.2.2-0ubuntu2 amd64libvirt Python bindings root@vm1:~# dpkg -l | grep virt-manager ii virt-manager0.9.5-1ubuntu3 all desktop application for managing virtual machines root@vm1:~# -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448631 Title: 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 889, 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 393, in reset_state self.addstorage.reset_state() File "/usr/share/virt- manager/virtManager/addstorage.py", line 196, in reset_state fmt = self.conn.get_default_storage_format() AttributeError: 'NoneType' object has no attribute 'get_default_storage_format' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1448631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1448631] Re: 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
Installing qemu-kvm resolves this issue for me too. Thanks tgm4883. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448631 Title: 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 889, 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 393, in reset_state self.addstorage.reset_state() File "/usr/share/virt- manager/virtManager/addstorage.py", line 196, in reset_state fmt = self.conn.get_default_storage_format() AttributeError: 'NoneType' object has no attribute 'get_default_storage_format' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1448631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1448631] Re: 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
Confirmed, installing qemu-kvm resolves this issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448631 Title: 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 889, 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 393, in reset_state self.addstorage.reset_state() File "/usr/share/virt- manager/virtManager/addstorage.py", line 196, in reset_state fmt = self.conn.get_default_storage_format() AttributeError: 'NoneType' object has no attribute 'get_default_storage_format' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1448631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1448631] Re: 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
Installing qemu-kvm fixes this for me, so the bug here is that it should present a more friendly error message. Even if you went based on the error presented, storage is highly misleading. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448631 Title: 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 889, 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 393, in reset_state self.addstorage.reset_state() File "/usr/share/virt- manager/virtManager/addstorage.py", line 196, in reset_state fmt = self.conn.get_default_storage_format() AttributeError: 'NoneType' object has no attribute 'get_default_storage_format' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1448631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1448631] Re: 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
** Changed in: virt-manager (Ubuntu) Assignee: (unassigned) => Teodori Serge (teodori-serge) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448631 Title: 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 889, 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 393, in reset_state self.addstorage.reset_state() File "/usr/share/virt- manager/virtManager/addstorage.py", line 196, in reset_state fmt = self.conn.get_default_storage_format() AttributeError: 'NoneType' object has no attribute 'get_default_storage_format' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1448631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1448631] Re: 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
@teodori-serge, are you trying to create kvm vms? Can you show the output of dpkg -l | grep qemu ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448631 Title: 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 889, 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 393, in reset_state self.addstorage.reset_state() File "/usr/share/virt- manager/virtManager/addstorage.py", line 196, in reset_state fmt = self.conn.get_default_storage_format() AttributeError: 'NoneType' object has no attribute 'get_default_storage_format' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1448631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1448631] Re: 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
I have the same problem: 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 889, 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 393, in reset_state self.addstorage.reset_state() File "/usr/share/virt-manager/virtManager/addstorage.py", line 196, in reset_state fmt = self.conn.get_default_storage_format() AttributeError: 'NoneType' object has no attribute 'get_default_storage_format' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448631 Title: 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 889, 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 393, in reset_state self.addstorage.reset_state() File "/usr/share/virt- manager/virtManager/addstorage.py", line 196, in reset_state fmt = self.conn.get_default_storage_format() AttributeError: 'NoneType' object has no attribute 'get_default_storage_format' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1448631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1448631] Re: 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
** Changed in: virt-manager (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448631 Title: 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 889, 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 393, in reset_state self.addstorage.reset_state() File "/usr/share/virt- manager/virtManager/addstorage.py", line 196, in reset_state fmt = self.conn.get_default_storage_format() AttributeError: 'NoneType' object has no attribute 'get_default_storage_format' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1448631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1448631] Re: 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
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: virt-manager (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448631 Title: 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 889, 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 393, in reset_state self.addstorage.reset_state() File "/usr/share/virt- manager/virtManager/addstorage.py", line 196, in reset_state fmt = self.conn.get_default_storage_format() AttributeError: 'NoneType' object has no attribute 'get_default_storage_format' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1448631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1448631] Re: 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
This looks to be the same bug as https://bugzilla.redhat.com/show_bug.cgi?id=1074120 Reproducible by installing Kubuntu (maybe any non-gnome based flavor), installing virt-manager and trying to make a new VM. Looks to be a dependency issue as qemu-kvm is missing. Maybe virt-manager should depend on qemu-kvm (or at least recommend). After installling qemu-kvm, restart and it works fine. ** Bug watch added: Red Hat Bugzilla #1074120 https://bugzilla.redhat.com/show_bug.cgi?id=1074120 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448631 Title: 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 889, 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 393, in reset_state self.addstorage.reset_state() File "/usr/share/virt- manager/virtManager/addstorage.py", line 196, in reset_state fmt = self.conn.get_default_storage_format() AttributeError: 'NoneType' object has no attribute 'get_default_storage_format' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1448631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1448631] Re: 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
** Package changed: ubuntu-release-upgrader (Ubuntu) => virt-manager (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448631 Title: 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 889, 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 393, in reset_state self.addstorage.reset_state() File "/usr/share/virt- manager/virtManager/addstorage.py", line 196, in reset_state fmt = self.conn.get_default_storage_format() AttributeError: 'NoneType' object has no attribute 'get_default_storage_format' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1448631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs