Subject: [Hangout - NYLXS] virish and virt-manager fails to installs
I am desperately trying to install a specific virtual image for a simple webserver development project, and it just will not install. I'm following arch instruction and trying to install with a openSUSE installation disk onto a img file that I created under /home/ruben/vm
With debugging turned on, I get this long, yet not, for me, not understandable message
[ruben-at-flatbush ~]$ virt-install -d --name platform1 --memory 4096 --vcpus=2,maxvcpus=2 --cpu host --cdrom /home/ruben/Downloads/openSUSE-Leap-15.1-DVD-x86_64.iso --disk /home/ruben/vm/platform1.img --network bridge=br0 --virt-type kvm [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (cli:208) Launched with command line: /usr/share/virt-manager/virt-install -d --name platform1 --memory 4096 --vcpus=2,maxvcpus=2 --cpu host --cdrom /home/ruben/Downloads/openSUSE-Leap-15.1-DVD-x86_64.iso --disk /home/ruben/vm/platform1.img --network bridge=br0 --virt-type kvm [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (virt-install:207) Distilled --network options: ['bridge=br0'] [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (virt-install:139) Distilled --disk options: ['/home/ruben/vm/platform1.img'] [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (cli:224) Requesting libvirt URI default [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (cli:227) Received libvirt URI qemu:///session [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (guest:463) Setting Guest osinfo name <_OsVariant name=generic> [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (installer:398) installer.detect_distro returned=opensuse15.1 [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (guest:463) Setting Guest osinfo name <_OsVariant name=opensuse15.1> [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (osdict:325) No recommended value found for key='n-cpus', using minimum=1 * 2 [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (graphics:221) Using default_graphics=spice [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (graphics:232) Local connection, disabling spice image compression. [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (virt-install:647) Guest.has_install_phase: True [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (cli:272) Starting install... Starting install... [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (installer:441) Generated install XML: platform1 55a81ee1-a76b-440a-9475-f46dff547f90 xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
[Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (cli:263) File "/usr/share/virt-manager/virt-install", line 1005, in sys.exit(main()) File "/usr/share/virt-manager/virt-install", line 999, in main start_install(guest, installer, options) File "/usr/share/virt-manager/virt-install", line 686, in start_install fail(e, do_exit=False) File "/usr/share/virt-manager/virtinst/cli.py", line 263, in fail log.debug("".join(traceback.format_stack()))
[Sun, 24 Nov 2019 21:50:02 virt-install 5345] ERROR (cli:264) function virDomainCreateXML> returned a result with an error set [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (cli:266) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 155: invalid start byte
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/share/virt-manager/virt-install", line 657, in start_install domain = installer.start_install(guest, meter=meter, File "/usr/share/virt-manager/virtinst/install/installer.py", line 542, in start_install domain = self._create_guest( File "/usr/share/virt-manager/virtinst/install/installer.py", line 491, in _create_guest domain = self.conn.createXML(install_xml or final_xml, 0) File "/usr/lib/python3.8/site-packages/libvirt.py", line 3927, in createXML ret = libvirtmod.virDomainCreateXML(self._o, xmlDesc, flags) SystemError: returned a result with an error set [Sun, 24 Nov 2019 21:50:02 virt-install 5345] DEBUG (cli:278) Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///session start platform1 otherwise, please restart your installation.
What the heck am I doing wrong??
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and extermination camps, but incompatible with living as a free human being. -RI Safir 2013 _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout