similar to: Bug? virGetLastError() returns NULL after virDomainCreate() if Domain running already

Displaying 20 results from an estimated 1300 matches similar to: "Bug? virGetLastError() returns NULL after virDomainCreate() if Domain running already"

2010 May 21
2
Better error codes when stopping a VM that is already stopped
Hi, Sometimes when stopping a virtual domain using virDomainDestroy(), I come across a domain that is already stopped. (For example when someone already stopped the domain manually using virsh or because the guest OS issued a shutdown.) This is a special case that I absolutely need to catch and handle. Unfortunately, when this happens, and I call virGetLastError() afterwards, I always just
2017 Jul 25
1
transient configure turn to persistent configure
libvirt version: 3.4.0 architecture: x86_64 ubuntu16.04-server hypervisor: kvm,qemu I call virDomainCreate create a transient vm, After a period of time ,I call virDomainDestroy, the vm configure is stil exist, the vm turn to persistent, I don't known the reason. Thanks
2011 Dec 13
1
Thread-safety issues with vbox driver ?
Hi, I'm experiencing weird things with the vbox driver when using multiple threads. Following is the snippet of code I experience problems with /*****************************************************/ #include <stdlib.h> #include <stdio.h> #include <pthread.h> #include <libvirt/libvirt.h> void *create_and_destroy(void *arg) { virDomainPtr dom = (virDomainPtr)arg;
2016 Jan 19
2
[PATCH libguestfs v3] lib: Handle slow USB devices more gracefully.
Libvirt has a fixed 15 second timeout for qemu to exit. If qemu is writing to a slow USB key, it can hang (in D state) for much longer than this - many minutes usually. The solution is to check specifically for the libvirt EBUSY error when this happens, and retry the virDomainDestroyFlags operation (indefinitely). See also the description here:
2009 May 15
1
Error creating virtual machine: Error: Error creating new domain (virDomainCreate). Subsystem qemu: internal error
Hello , i am trying to install a virtual machine and i get this error in tasks in the ovirt webinterface. Error creating virtual machine: Error: Error creating new domain (virDomainCreate). Subsystem qemu: internal error Failed to add tap interface 'vnet%d' to bridge 'breth0' : No such device in DomainWrap.cpp:ManagementMethod:115 On the node startup i only see breth1 geting
2009 Oct 15
2
problem starting Xen VM
Hi , > > My Xen has been working fine for a few days. Then today it suddenly > can not run. > > When it runs It give me this error : - Error starting domain: virDomainCreate() failed POST operation failed: (xend.err "Error creating domain: Boot loader didn''t return any data!") Details: - Traceback (most recent call last): File
2017 Mar 17
2
VIR_ERR_OPERATION_INVALID from virDomainDestroyFlags call
Hi, we experienced a strange, non-reproducible error after a successful migration to another host. When we called virDomainDestroyFlags with VIR_DOMAIN_DESTROY_GRACEFUL flag after the migration on the source host, we got VIR_ERR_OPERATION_INVALID (code 55) error. The same with repeated virDomainDestroyFlags calls. Normally, we would expect either success or VIR_ERR_NO_DOMAIN error. `virsh
2008 Jun 02
0
libvirtError: virDomainCreate() failed POST operation failed: (xend.err ''Device 0 (vkbd) could not be connected. Hotplug scripts not working.'')
I rebooted my machine and now when trying to run a "vm ... virsh create /etc/xen/vm1.xml" I am getting the following error: libvirtError: virDomainCreate() failed POST operation failed: (xend.err ''Device 0 (vkbd) could not be connected. Hotplug scripts not working.'') I tried restaring xend and even mounting and unmounting the partition that holds the vm and still no
2017 Mar 17
2
Re: VIR_ERR_OPERATION_INVALID from virDomainDestroyFlags call
"Daniel P. Berrange" <berrange@redhat.com> writes: > On Fri, Mar 17, 2017 at 11:55:13AM +0100, Milan Zamazal wrote: >> Hi, we experienced a strange, non-reproducible error after a successful >> migration to another host. When we called virDomainDestroyFlags with >> VIR_DOMAIN_DESTROY_GRACEFUL flag after the migration on the source host, >> we got
2016 Jan 19
0
Re: [PATCH libguestfs v3] lib: Handle slow USB devices more gracefully.
On Tue, Jan 19, 2016 at 04:18:46PM +0000, Richard W.M. Jones wrote: > Libvirt has a fixed 15 second timeout for qemu to exit. If qemu is > writing to a slow USB key, it can hang (in D state) for much longer > than this - many minutes usually. > > The solution is to check specifically for the libvirt EBUSY error when > this happens, and retry the virDomainDestroyFlags operation
2012 Jul 10
1
What is the procedure of libvirt internal when you run a domain.
Hi, all. I want to know when I press run button. start a domain. What is the procedure of libvirt internal. I know it will call virDomainCreate(),then qemuDomainStart() -> qemuDomainStartWithFlags(). what is the next? xuanmao_001 -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Jan 24
1
[Problem] C# virDomainShutdown
Hey there, im using libvirt since 2 weeks now and there are still some issues im confronted with. I use libvirt in C# and I'm running a 32-bit machine on Windows 7. Actually my worst problem is, is that I'm not able to Shutdown on machine no matter which command I'm using. virDomainShutdown isn't working nor virDomainDestroy. Basically I use the virConnectOpenAuth example to make a
2016 Jan 19
1
Re: [PATCH libguestfs v3] lib: Handle slow USB devices more gracefully.
On Tue, Jan 19, 2016 at 05:00:27PM +0000, Daniel P. Berrange wrote: > On Tue, Jan 19, 2016 at 04:18:46PM +0000, Richard W.M. Jones wrote: > > Libvirt has a fixed 15 second timeout for qemu to exit. If qemu is > > writing to a slow USB key, it can hang (in D state) for much longer > > than this - many minutes usually. > > > > The solution is to check specifically
2009 Sep 30
1
Problems with creating VM
Hi. I try to create VM in oVirt interface. New VM failed to start In oVirt interface Tasks log: Error creating virtual machine: Error: Error creating new domain (virDomainCreate). Subsystem qemu: internal error unable to start guest: bind(unix:/var/lib/libvirt/qemu/test.monitor): Permission denied qemu: could not open monitor device 'unix:/var/lib/libvirt/qemu/
2011 Jan 19
1
Getting CPU and memory usage statistics for the host
Hi, I have noticed that virt-manager has the ability to show me the current cpu- and memory-usage of both the host and running guest machines. How does it do that? I could make good use of that information myself in the client applications I'm writing, however, from what I can see on http://libvirt.org/html/libvirt-libvirt.html, I have no idea how to go about getting it from libvirt. In
2011 Jun 01
1
libvirtError: internal error Domain mytest didn't show up
Hi All, I am new using libvirt. I kept on getting the following error when I try to start my VM. Can anyone give me any suggestion on what could went wrong? Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 498, in run_domain vm.startup() File "/usr/share/virt-manager/virtManager/domain.py", line 573, in startup
2010 Mar 31
1
C5 XEN domain not startable
Hi, I have a Centos 5 box with dom0 and several domUs and one of them is not runnable. I ran updates several days ago and the update included a kernel update so I used virt-manager to reboot. But it won't book. It shows as not running and when I try to run it I get a dialog box with this: Traceback (most recent call last): File
2011 Apr 21
7
[PATCHv11 0/6] libvirt/qemu - persistent modification of devices
Here is v11. Fixed comments/bugs and updated against the latest libvirt.git. Changes v10->v11: - fixed comments on each patches - fixed cgroup handling in patch 3. - fixed MODIFY_CURRENT handling in patch 4. most of diff comes from refactoring qemu/qemu_driver.c -- conf/domain_conf.c | 40 ++ conf/domain_conf.h | 5 libvirt_private.syms | 3 qemu/qemu_driver.c | 727
2013 Dec 10
2
gentoo linux, problem starting vm´s when cache=none
hello mailinglist, on gentoo system with qemu-1.6.1, libvirt 1.1.4, libvirt-glib-0.1.7, virt-manager 0.10.0-r1 when i set on virtual machine "cache=none" in the disk-menu, the machine faults to start with: << Fehler beim Starten der Domain: Interner Fehler: Prozess während der Verbindungsaufnahme zum Monitor beendet :qemu-system-x86_64: -drive
2017 Jul 25
1
About seclabel configure,Migrate error
libvirt version: 3.4.0 architecture: x86_64 ubuntu16.04-server hypervisor: kvm,qemu When migrate vm, I encounter error: "Migrate VM virt21 failed unsupported configuration: Unable to find security driver for model apparmor" but two host are same environment.before this error, migrate can be success. the source host seclabel configure is this : <seclabel type='dynamic'