<div dir="ltr">Zdravím, <div><br></div><div>snažím se rozchodit KVM a chtěl bych použít virt-manager. Zkoušel jsem ArchLinux 3.6 i Centos 7.3 ale zatím bez úspěchu. </div><div><br></div><div>Naistaluju qemu, dokonce i spustím image pomocí konfiguračního souboru. Když ale zkouším virt-amanger (po nainstalování všech dependencies, pro Centos viz KB KVM / Centos), tak virt-manager padá s nic neříkající chybou. Kompletní debug:</div><div><br></div><div><br></div><div><div><font face="monospace, monospace">[root@majestatix log]# virt-manager --debug</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:38 virt-manager 943] DEBUG (cli:261) Launched with command line: /usr/share/virt-manager/virt-manager --debug</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:38 virt-manager 943] DEBUG (virt-manager:183) virt-manager version: 1.4.1</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:38 virt-manager 943] DEBUG (virt-manager:184) virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'></font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (virt-manager:214) PyGObject version: 3.22.0</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (virt-manager:218) GTK version: 3.22.10</font></div><div><font face="monospace, monospace">Gtk-Message: Failed to load module "canberra-gtk-module"</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (engine:496) libguestfs inspection support: False</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (systray:156) Showing systray: False</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (engine:1037) processing cli command uri= show_window= domain=</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (engine:1039) No cli action requested, launching default window</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (manager:203) Showing manager</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (engine:401) window counter incremented to 1</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (engine:161) Loading stored URIs:</font></div><div><font face="monospace, monospace">qemu:///system</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (engine:140) Initial gtkapplication activated</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (connection:571) conn=qemu:///system changed to state=Connecting</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (connection:989) Scheduling background open thread for qemu:///system</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (connection:1039) libvirt version=3002000</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (connection:1041) daemon version=3002000</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (connection:1042) conn version=1005003</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (connection:1044) qemu:///system capabilities:</font></div><div><font face="monospace, monospace"><capabilities></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> <host></font></div><div><font face="monospace, monospace"> <uuid>4e56d8c3-7406-4b81-9a01-39d12aae0b60</uuid></font></div><div><font face="monospace, monospace"> <cpu></font></div><div><font face="monospace, monospace"> <arch>x86_64</arch></font></div><div><font face="monospace, monospace"> <pages unit="KiB" size="4"/></font></div><div><font face="monospace, monospace"> </cpu></font></div><div><font face="monospace, monospace"> <power_management/></font></div><div><font face="monospace, monospace"> <migration_features></font></div><div><font face="monospace, monospace"> <live/></font></div><div><font face="monospace, monospace"> <uri_transports></font></div><div><font face="monospace, monospace"> <uri_transport>tcp</uri_transport></font></div><div><font face="monospace, monospace"> <uri_transport>rdma</uri_transport></font></div><div><font face="monospace, monospace"> </uri_transports></font></div><div><font face="monospace, monospace"> </migration_features></font></div><div><font face="monospace, monospace"> <secmodel></font></div><div><font face="monospace, monospace"> <model>none</model></font></div><div><font face="monospace, monospace"> <doi>0</doi></font></div><div><font face="monospace, monospace"> </secmodel></font></div><div><font face="monospace, monospace"> <secmodel></font></div><div><font face="monospace, monospace"> <model>dac</model></font></div><div><font face="monospace, monospace"> <doi>0</doi></font></div><div><font face="monospace, monospace"> <baselabel type="kvm">+107:+107</baselabel></font></div><div><font face="monospace, monospace"> <baselabel type="qemu">+107:+107</baselabel></font></div><div><font face="monospace, monospace"> </secmodel></font></div><div><font face="monospace, monospace"> </host></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> <guest></font></div><div><font face="monospace, monospace"> <os_type>hvm</os_type></font></div><div><font face="monospace, monospace"> <arch name="i686"></font></div><div><font face="monospace, monospace"> <wordsize>32</wordsize></font></div><div><font face="monospace, monospace"> <emulator>/usr/libexec/qemu-kvm</emulator></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">pc-i440fx-rhel7.0.0</machine></font></div><div><font face="monospace, monospace"> <machine canonical="pc-i440fx-rhel7.0.0" maxCpus="240">pc</machine></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">rhel6.0.0</machine></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">rhel6.1.0</machine></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">rhel6.2.0</machine></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">rhel6.3.0</machine></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">rhel6.4.0</machine></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">rhel6.5.0</machine></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">rhel6.6.0</machine></font></div><div><font face="monospace, monospace"> <domain type="qemu"></font></div><div><font face="monospace, monospace"> <emulator>/usr/libexec/qemu-kvm</emulator></font></div><div><font face="monospace, monospace"> </domain></font></div><div><font face="monospace, monospace"> <domain type="kvm"></font></div><div><font face="monospace, monospace"> <emulator>/usr/libexec/qemu-kvm</emulator></font></div><div><font face="monospace, monospace"> </domain></font></div><div><font face="monospace, monospace"> </arch></font></div><div><font face="monospace, monospace"> <features></font></div><div><font face="monospace, monospace"> <cpuselection/></font></div><div><font face="monospace, monospace"> <deviceboot/></font></div><div><font face="monospace, monospace"> <disksnapshot default="off" toggle="no"/></font></div><div><font face="monospace, monospace"> <acpi default="on" toggle="yes"/></font></div><div><font face="monospace, monospace"> <apic default="on" toggle="no"/></font></div><div><font face="monospace, monospace"> <pae/></font></div><div><font face="monospace, monospace"> <nonpae/></font></div><div><font face="monospace, monospace"> </features></font></div><div><font face="monospace, monospace"> </guest></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> <guest></font></div><div><font face="monospace, monospace"> <os_type>hvm</os_type></font></div><div><font face="monospace, monospace"> <arch name="x86_64"></font></div><div><font face="monospace, monospace"> <wordsize>64</wordsize></font></div><div><font face="monospace, monospace"> <emulator>/usr/libexec/qemu-kvm</emulator></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">pc-i440fx-rhel7.0.0</machine></font></div><div><font face="monospace, monospace"> <machine canonical="pc-i440fx-rhel7.0.0" maxCpus="240">pc</machine></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">rhel6.0.0</machine></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">rhel6.1.0</machine></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">rhel6.2.0</machine></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">rhel6.3.0</machine></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">rhel6.4.0</machine></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">rhel6.5.0</machine></font></div><div><font face="monospace, monospace"> <machine maxCpus="240">rhel6.6.0</machine></font></div><div><font face="monospace, monospace"> <domain type="qemu"></font></div><div><font face="monospace, monospace"> <emulator>/usr/libexec/qemu-kvm</emulator></font></div><div><font face="monospace, monospace"> </domain></font></div><div><font face="monospace, monospace"> <domain type="kvm"></font></div><div><font face="monospace, monospace"> <emulator>/usr/libexec/qemu-kvm</emulator></font></div><div><font face="monospace, monospace"> </domain></font></div><div><font face="monospace, monospace"> </arch></font></div><div><font face="monospace, monospace"> <features></font></div><div><font face="monospace, monospace"> <cpuselection/></font></div><div><font face="monospace, monospace"> <deviceboot/></font></div><div><font face="monospace, monospace"> <disksnapshot default="off" toggle="no"/></font></div><div><font face="monospace, monospace"> <acpi default="on" toggle="yes"/></font></div><div><font face="monospace, monospace"> <apic default="on" toggle="no"/></font></div><div><font face="monospace, monospace"> </features></font></div><div><font face="monospace, monospace"> </guest></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"></capabilities></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (connection:845) Using domain events</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (connection:882) Using network events</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (connection:902) Using storage pool events</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (connection:921) Using node device events</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (connection:1426) Error polling connection qemu:///system</font></div><div><font face="monospace, monospace">Traceback (most recent call last):</font></div><div><font face="monospace, monospace"> File "/usr/share/virt-manager/virtManager/connection.py", line 1404, in tick_from_engine</font></div><div><font face="monospace, monospace"> self._tick(*args, **kwargs)</font></div><div><font face="monospace, monospace"> File "/usr/share/virt-manager/virtManager/connection.py", line 1294, in _tick</font></div><div><font face="monospace, monospace"> self._hostinfo = self._backend.getInfo()</font></div><div><font face="monospace, monospace"> File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3739, in getInfo</font></div><div><font face="monospace, monospace"> if ret is None: raise libvirtError ('virNodeGetInfo() failed', conn=self)</font></div><div><font face="monospace, monospace">libvirtError: An error occurred, but the cause is unknown</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (connection:1436) An error occurred, but the cause is unknown</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (connection:937) conn.close() uri=qemu:///system</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (connection:571) conn=qemu:///system changed to state=Disconnected</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:39 virt-manager 943] DEBUG (error:99) error dialog message:</font></div><div><font face="monospace, monospace">summary=Error polling connection 'qemu:///system': An error occurred, but the cause is unknown</font></div><div><font face="monospace, monospace">details=Traceback (most recent call last):</font></div><div><font face="monospace, monospace"> File "/usr/share/virt-manager/virtManager/engine.py", line 385, in _handle_tick_queue</font></div><div><font face="monospace, monospace"> conn.tick_from_engine(**kwargs)</font></div><div><font face="monospace, monospace"> File "/usr/share/virt-manager/virtManager/connection.py", line 1437, in tick_from_engine</font></div><div><font face="monospace, monospace"> raise e # pylint: disable=raising-bad-type</font></div><div><font face="monospace, monospace">libvirtError: An error occurred, but the cause is unknown</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:44 virt-manager 943] DEBUG (manager:214) Closing manager</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:44 virt-manager 943] DEBUG (engine:405) window counter decremented to 0</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:44 virt-manager 943] DEBUG (engine:467) No windows found, requesting app exit</font></div><div><font face="monospace, monospace">[Pá, 06 říj 2017 16:47:44 virt-manager 943] DEBUG (engine:491) Exiting app normally.</font></div></div><div><br></div><div><br></div><div>Vypadá to, že na něco nedostane odpověď "ret is None" .... ale netuším na co. </div><div><br></div><div>Jak v ArchLinuxu tak i v Centosu jsem našel tythle hlášky:<br></div><div><br></div><div><div><font face="monospace, monospace">Oct 6 17:04:35 majestatix libvirtd: 2017-10-06 15:04:35.371+0000: 1420: warning : virNumaGetNodeCPUs:276 : NUMA topology for cell 0 is not available, ignoring</font></div><div><font face="monospace, monospace">Oct 6 17:04:35 majestatix libvirtd: 2017-10-06 15:04:35.372+0000: 1420: warning : virQEMUCapsInit:1138 : Failed to get host CPU</font></div></div><div><br></div><div><br></div><div>Na Centosu si potom ještě stěžuje KSMTUNED<br></div><div><br></div><div><div><div><font face="monospace, monospace">Oct 6 16:57:56 majestatix ksmtuned: /usr/sbin/ksmtuned: line 61: /sys/kernel/mm/ksm/run: No such file or directory</font></div><div><font face="monospace, monospace">Oct 6 16:58:06 majestatix /usr/sbin/irqbalance: WARNING, didn't collect load info for all cpus, balancing is broken</font></div></div><div><br></div><div>Ale netuším, jestli to s tím souvisí. Nemáte někdo nějakou radu co dál prosím? Vzhledem k tomu, že jsem ke stejnému výsledku dospěl jak na Centos tak i na Arch LInux, tak myslím že problém bude někde v nastavení VPSky? Nebo se pletu? </div><div><br></div><div>Díky za tipy jak dál.</div><div><br></div><div><br></div><div><br></div><div>R.</div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Richard Kořínek<br>^^^^^^^^^^^^^^<br><div style="font-size:small">email: <a href="mailto:richard.korinek@gmail.com" target="_blank">richard.korinek@gmail.com</a></div><div style="font-size:small">phone: +420 604 777 044</div><div><br><br><br></div></div></div></div></div></div></div>
</div></div>