search for: vircommandrunasync

Displaying 19 results from an estimated 19 matches for "vircommandrunasync".

2019 Mar 28
1
Error Starting domain: Failed to page size of file
...ct a KVM-QEMU VM to OVS-DPDK vhostuser port. But, I am encountering a few errors. Since I am very new to libvrt and Linux I am not able to sort them out. Any guidance in this regard would be a great help. These are my System Logs: Mar 28 18:03:04 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug : virCommandRunAsync:2429 : About to run LIBVIRT_LOG_OUTPUTS=3:stderr /usr/lib/libvirt/virt-aa-helper -p 0 -r -u libvirt-41b4eef0-b820-41da-9034-9de22e1379e0 Mar 28 18:03:04 dpdk-OptiPlex-5040 libvirtd.service: 1529: debug : virCommandRunAsync:2432 : Command result 0, with PID 8687 Mar 28 18:03:04 dpdk-OptiPlex-5040 li...
2013 May 27
2
hangs in libvirt function virLogMessage
Hi, We are hitting a deadlock on libvirt on 0.9.4 version. Can someone help us ? 1) Is there any way to specify timeout for all the calls made by libvirt especially virConnectOpenReadOnly 2) Does virCommandRunAsync always fork a new process ? gdb) bt #0 0x00007fc17b53ce6e in __lll_lock_wait_private () from /lib64/libc.so.6 #1 0x00007fc17b4e3f2d in _L_lock_2164 () from /lib64/libc.so.6 #2 0x00007fc17b4e3ce7 in __tz_convert () from /lib64/libc.so.6 #3 0x00007fc16e4bfdab in virLogMessage () from /usr/lib64...
2019 Nov 04
2
It takes long time to start kvm virtual machine with nwfilter in docker container.
...gt; 2. I found some logs in /var/log/libvirt/libvirtd.log 2019-11-04 03:46:18.495+0000: 15257: info : virFirewallApplyRule:815 : Applying rule '/usr/sbin/ebtables --concurrent -t nat -D PREROUTING -i tap69e948b0-bf -j libvirt-J-tap69e948b0-bf' 2019-11-04 03:46:18.495+0000: 15257: debug : virCommandRunAsync:2499 : About to run /usr/sbin/ebtables --concurrent -t nat -D PREROUTING -i tap69e948b0-bf -j libvirt-J-tap69e948b0-bf 2019-11-04 03:46:18.496+0000: 15257: debug : virFileClose:111 : Closed fd 24 2019-11-04 03:46:18.496+0000: 15257: debug : virFileClose:111 : Closed fd 26 2019-11-04 03:46:18.496+00...
2012 Mar 09
1
run virsh as non-root user
...aemon instance 21:48:08.343: 5830: debug : doRemoteOpen:520 : proceeding with name = 21:48:08.343: 5830: debug : doRemoteOpen:530 : Connecting with transport 1 21:48:08.343: 5830: debug : doRemoteOpen:577 : Proceeding with sockname @/home/eucalyptus/.libvirt/libvirt-sock 21:48:08.343: 5830: debug : virCommandRunAsync:2048 : About to run LC_ALL=C PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/jdk1.6.0/jre/bin HOME=/home/eucalyptus USER=eucalyptus LOGNAME=eucalyptus /usr/sbin/libvirtd --timeout=30 21:48:08.343: 5830: debug : virCommandRunAsync:2064 : Command result 0, with PID 5831 21:48:08.345: 5830: debug : virCo...
2017 May 03
2
Re: Libvirtd freezes
...at doesn't work. I wonder if we cannot do what we are doing usually when spawning qemu processes: fork() + exec() instead of relying on -daemonize which is broken. BTW: you can verify that qemu did not deamonize itself by consulting the libvirtd log: 2017-04-30 16:19:36.633+0000: 886: debug : virCommandRunAsync:2451 : Command result 0, with PID 962 This means, that PID 962 is qemu. However, when going daemon double fork is needed, therefore 'pgrep qemu' should print different number than 962. But I guess it doesn't, does it? Michal
2020 Aug 09
0
Re: Libvirtd Fails to Launch First Time
...to start on > boot via systemd service, however it seems to fail and the service > 'succeeds' and does not continue running the daemon. There is nothing in > the journal logs however the libvirtd debug logs seem to show > > 2020-08-08 13:55:26.362+0000: 1386: debug : virCommandRunAsync:2619 > : About to run ip link set lo netns -1 > 2020-08-08 13:55:26.362+0000: 1386: debug : virFileClose:134 : > Closed fd 26 > 2020-08-08 13:55:26.362+0000: 1386: debug : virFileClose:134 : > Closed fd 28 > 2020-08-08 13:55:26.362+0000: 1386: debug : virFi...
2017 May 01
2
Re: Libvirtd freezes
On 04/30/2017 07:12 PM, Stefano Ricci wrote: > > The version used for backtrace is 3.2.0, now I have also tried the > current downloaded with git but the problem is always present. > This is the current version log file, set as shown on the DebugLogs page: > > https://drive.google.com/open?id=0By9lwQyveHENdEt4aEtZcUV3ZEU Couple of my findings: 2017-04-30 16:19:34.894+0000:
2011 Jul 13
0
Problem starting libvirtd 0.9.3 on Ubuntu
...e 22:26:34.334: 8385: debug : doRemoteOpen:487 : proceeding with name = qemu:///session 22:26:34.334: 8385: debug : doRemoteOpen:497 : Connecting with transport 1 22:26:34.378: 8385: debug : doRemoteOpen:544 : Proceeding with sockname @/home/heath/.libvirt/libvirt-sock 22:26:34.378: 8385: debug : virCommandRunAsync:1874 : About to run LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/home/heath USER=heath LOGNAME=heath /usr/local/sbin/libvirtd --timeout=30 22:26:34.378: 8385: debug : virCommandRunAsync:1890 : Command result 0, with PID 8386 22:26:34.379: 8385: de...
2018 Nov 15
1
libvirt call qemu to create vm need more than 10 seconds
...4:22:30.132+0000: 95225: debug : virFileClose:110 : Closed fd 25 Line 58775: 2018-11-13 14:22:30.132+0000: 95225: debug : virFileClose:110 : Closed fd 25 Line 58777: 2018-11-13 14:22:30.132+0000: 95225: debug : virFileClose:110 : Closed fd 25 Line 58782: 2018-11-13 14:22:30.132+0000: 95225: debug : virCommandRunAsync:2448 : About to run ovs-vsctl --timeout=5 -- --if-exists del-port vnet0 -- add-port lcs_br_1 vnet0 -- set Interface vnet0 'external-ids:attached-mac="52:54:00:28:29:1d"' -- set Interface vnet0 'external-ids:iface-id="04af9169-2c72-45e9-845d-3d162268728b"' -- set...
2015 Apr 03
2
P2P live migration with non-shared storage: fails to connect to remote libvirt URI qemu+ssh
...c@devstack3/system: Cannot recv data: Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).: Connection reset by peer >From libvirtd debug log: [. . .] 2015-04-03 06:04:16.221+0000: 31009: debug : virCommandRunAsync:2408 : About to run LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin ssh -l kashyapc devstack3 sh -c ''\''if '\ ''nc'\'' -q 2>&1 | grep "requires an argument" >/dev/null 2>&1; then ARG=-q0;else ARG=;fi;'\''...
2011 Jul 13
1
Unable to start libvirtd 0.9.3 on Ubuntu 10.10
...e 22:26:34.334: 8385: debug : doRemoteOpen:487 : proceeding with name = qemu:///session 22:26:34.334: 8385: debug : doRemoteOpen:497 : Connecting with transport 1 22:26:34.378: 8385: debug : doRemoteOpen:544 : Proceeding with sockname @/home/heath/.libvirt/libvirt-sock 22:26:34.378: 8385: debug : virCommandRunAsync:1874 : About to run LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/home/heath USER=heath LOGNAME=heath /usr/local/sbin/libvirtd --timeout=30 22:26:34.378: 8385: debug : virCommandRunAsync:1890 : Command result 0, with PID 8386 22:26:34.379: 8385: de...
2017 Jun 03
2
Re: libvirtd not accepting connections
On Sat, Jun 03, 2017 at 05:20:47PM -0400, Michael C Cambria wrote: >I also tried stopping libvirtd, renaming both qemu-system-i386 and >qemu-system-x86_64, start libvirtd. Things get further along; dnsmasq >log messages show up. > >$ sudo systemctl status libvirtd.service >● libvirtd.service - Virtualization daemon > Loaded: loaded
2017 Jun 04
0
Re: libvirtd not accepting connections
...rt/qemu/capabilities/4b21437223cbdecdb4e776fe0bb40302a421554fc350bfbb986908518557721d.xml' for '/usr/bin/qemu-system-alpha' 2017-06-04 00:04:14.313+0000: 3379: debug : virQEMUCapsInitQMP:3673 : Try to get caps via QMP qemuCaps=0x7fa3d010bb00 2017-06-04 00:04:14.313+0000: 3379: debug : virCommandRunAsync:2434 : About to run LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin /usr/bin/qemu-system-alpha -S -no-user-config -nodefaults -nographic -M none -qmp unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait -pidfile /var/lib/libvirt/qemu/capabilities.pidfile -daemoni...
2017 Jun 04
2
Re: libvirtd not accepting connections
...lities/4b21437223cbdecdb4e776fe0bb40302a421554fc350bfbb986908518557721d.xml' >for '/usr/bin/qemu-system-alpha' >2017-06-04 00:04:14.313+0000: 3379: debug : virQEMUCapsInitQMP:3673 : >Try to get caps via QMP qemuCaps=0x7fa3d010bb00 >2017-06-04 00:04:14.313+0000: 3379: debug : virCommandRunAsync:2434 : >About to run LC_ALL=C >PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin >/usr/bin/qemu-system-alpha -S -no-user-config -nodefaults -nographic -M >none -qmp >unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait >-pidfile /var/lib/libvirt/qemu/capabilitie...
2019 Mar 15
2
Error starting domain: internal error: Unable to add port vnet0 to OVS bridge br0
I have installed OVS from sources using the installation steps mentioned on this link: http://docs.openvswitch.org/en/latest/intro/install/general/ I had installed libvrt, KVM, QEMU and all the necessary packages using apt-get. My KVM-QEMU hypervisor has been running well. To add a VM with the port attached to OVS bridge I changed the XML domain file as per the instructions on this page:
2017 Jun 04
0
Re: libvirtd not accepting connections
...e0bb40302a421554fc350bfbb986908518557721d.xml' >> >> for '/usr/bin/qemu-system-alpha' >> 2017-06-04 00:04:14.313+0000: 3379: debug : virQEMUCapsInitQMP:3673 : >> Try to get caps via QMP qemuCaps=0x7fa3d010bb00 >> 2017-06-04 00:04:14.313+0000: 3379: debug : virCommandRunAsync:2434 : >> About to run LC_ALL=C >> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin >> /usr/bin/qemu-system-alpha -S -no-user-config -nodefaults -nographic -M >> none -qmp >> unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait >> -pidfile /va...
2017 May 01
0
Re: Libvirtd freezes
...kill the qemu process then it starts logging and it is possible to connect remotely with virsh. Until the qemu process is active you can not use libvirt. In the following libvirt log file find all that happens when killing the qemu process, after the line 2017-05-01 07:40:47.772+0000: 892: debug : virCommandRunAsync:2451 : Command result 0, with PID 970 https://drive.google.com/open?id=0By9lwQyveHENNVBaczFxNHBCYU0 Stefano
2017 May 04
0
Re: Libvirtd freezes
...we cannot do what > we are doing usually when spawning qemu processes: fork() + exec() > instead of relying on -daemonize which is broken. > > BTW: you can verify that qemu did not deamonize itself by consulting the > libvirtd log: > > 2017-04-30 16:19:36.633+0000: 886: debug : virCommandRunAsync:2451 : > Command result 0, with PID 962 > > This means, that PID 962 is qemu. However, when going daemon double fork > is needed, therefore 'pgrep qemu' should print different number than > 962. But I guess it doesn't, does it? > > Michal Fixed, the problem was qem...
2019 Mar 26
0
Re: Error starting domain: internal error: Unable to add port vnet0 to OVS bridge br0
... log_filters="1:util.command 1:util.netdevopenvswitch" >    log_outputs="1:syslog:libvirtd.service" > > and restart the libvirt service, then attempt to start your guest while > watching the system logs. You will see an ovs-vsctl command run by > virCommandRunAsync. That command and its output should give you a clue > to what is missing from the locally-built openvswitch vs the official > package installed with apt-get. > > > > Traceback (most recent call last): > >    File "/usr/share/virt-manager/virtManager/...