similar to: virt-install error: "virDomainLookupByName() failed got unknown HTTP error code 400"

Displaying 20 results from an estimated 1100 matches similar to: "virt-install error: "virDomainLookupByName() failed got unknown HTTP error code 400""

2008 Mar 20
9
Xen Store error : out of memory
Hi, I''m running snv84 on a SunFire x2200M2, 2 dualcore opterons, 8GB ram, 2 mirror sata disks (zfs). I tried to install both Ubuntu 7.1 Desktop and Fedora 8 into a HVM domU but failed everytime. The VNC-Server for the domU dies, but the domain still consumes CPU time, disks go idle after a while (zpool iostat or iostat show zero I/O). The domUs booted up fine, the installer started,
1998 Dec 04
1
AW: Windows 3.1 and Samba
Rudolf Kollien email: Rudolf.Kollien@medas.de Rudolf.Kollien@kollien.de *************************************************************************** Never trust a operating system you have no sources for *************************************************************************** Buying an operating system without source is like buying a self-assembly Space Shuttle with no instructions.
2010 Dec 13
1
libvirt printing to stderr
I'm writing an app and using the Python bindings for libvirt. Everything is fine but, in some cases I need to call lookupByName(). There are a lot of times when the name will not exist, I trap the exception, however I still get this message printed to stderr: libvir: QEMU error : Domain not found: no domain with matching name 'foo' Is there any way to turn this off? This is a
2017 Aug 07
1
Avoiding console prints by Libvirt Qemu python APIs
Hi, I am trying to check if a domain exists by using the libvirt python API *"lookupbyname()*". If the domain does not exist, it prints an error message on the console saying "*Domain not found*". I need the errors or logs only in syslog. I have tried redirecting stderr and stdout. But, it doesn't have any effect. I have also tried playing around with the libvirt logging
2013 Jul 08
1
python equiv to perl list_domains()
Hey, I'm trying to figure out a way to get a list of the running domains on a dom0. I can get the ID's but I'd prefer the names. We have another script written in perl, but I'm trying to get some other functionality in python as well as work on converting it all to python. It looks like perl has a list_domains() that will, according to the libvirt doc, "Return a list of all
2012 Jan 11
1
Unable to close open libvirt connections
Hello, I was getting the following error in syslog: libvirtd: 21:19:12.116: 10955: error : qemudDispatchServer:1355 : Too many active clients (20), dropping connection from 127.0.0.1;0 I investigated a bit and tried the following in a python console: import libvirt ~~~~ conn=libvirt.openReadOnly("qemu+ssh://HOST_IP/system<http://10.16.71.1/system> ") //now check the no. of
2015 Nov 26
2
New vs old API usages
Hi, Currently I am using the latest libvirt API listAllDomains() to probe for domains. I may need to fall back to older API for old libvirt server such as: listDefinedDomains() and lookupByName() instead of listAllDomains(). Is there any disadvantage to using listAllDomains instead of listAllDomains or its the same results via different API? Thank you, Shahar.
2013 Sep 24
2
virDomainGetInfo() returns wrong domain state
Hi Team, I have written below code to get the VM state at run time. I found, though the VM is in shut-off state, when I use the function virDomainGetInfo(); I get state as running. Could you please let me know what wrong I am doing. To know the actual VM state I used 'virsh list' and it clearly shows the VM is in shut-off state. Please find the log and code snippet below. Log from virsh:
2010 Oct 01
1
undefining and redefining a Domain
<resending as I don't think I was in the mailing list yet when I sent first time... apologies if you receive this twice> Hello, I'm facing some strange behavior, and I hope you can provide a clarification. Consider the following code: virDomainPtr dom = virDomainLookupByName(virt, domain_name); if (dom) { printf("domain already
2011 Feb 08
1
Libvirt in Windows not working
Hi, This is Arpita. I am using Libvirt API in the Windows Vista system.VMware is installed over there.I have installed Libvirt and Python 2.6 in the Windows Vista system andhave written a small test file in Python. Here is the code: import libvirt* * import sys conn = libvirt.openReadOnly(None) if conn == None: print *'Failed to open connection to the hypervisor' * sys.exit(1)
2011 May 16
1
(no subject)
Hi, I am using libvirt and virsh for my application. I am trying to manage snapshots for my infrastructure. All virsh commands are working fine like snapshot-create, delete, list, revert, current. But when I try to do the same using libvirt, I get out of memory error. Here are the commands that i execute on my host in a python shell... import libvirt conn =
2014 Jul 29
1
Running domain-update memory not working
>>> vm=co.lookupByName('test1') >>> vm.info() [1, 524288L, 524288L, 1, 20400000000L] >>> vm.setMemoryFlags(509952,1) # Live memory 0 >>> vm.info() [1, 524288L, 524288L, 1, 21430000000L] >>> vm.setMemoryFlags(509952,0) --- ## current memory 0 >>> vm.info() [1, 524288L, 524288L, 1, 21430000000L] >>> vm.XMLDesc() Not updating
2018 Mar 20
2
About libvirt domain snapshot problem(for single disk snapshot)
Hi, dear friend. My guest has two disks, vda and vdb. both are qcow2 local file. When guest running state. I want to take the vda snapshot of guest(just vda, no include vdb). but I met libvirt do snapshot for all disks of guest. About methods for follow: 1、 ``` bash virsh snapshot-create-as 8x0lbzvS --name sys_disk3 --disk-only --diskspec "vda,snapshot=external" ``` ``` result
2012 Aug 26
1
question about using openAuth with Python
Hi guys Is anybody can help me how to use openAuth to connect a remote URI without input the boring password? we assume the password of root for remote machine is "123456". Even I running the example in libvirt library esxlist.py(change uri to a qemu type and assign the username and password). Bellow is my simple test code, unfortunately it still need me to input the password.
2016 Nov 30
2
virDomainBlockInfo for local volume
Hi, I am using virStorageVolGetInfo to get the volume size virStorageVol.download to download a normal file for VDSM project. I want to add support for block devices as well, I was able to see the size via virDomainBlockInfo and download via virDomain.blockPeek which is works fine for both file and block device. 1. Can I depend on virDomainBlockInfo for non block devices? 2. Does the
2010 Mar 24
2
Problem attaching device
I keep getting an error when I try to attach a device in the libvirt api through python The python code is: conn=libvirt.open('qemu:///system') dom = conn.lookupByName("fedoratest") if dom.info()[0]==1: dom.attachDevice('net.xml') And I keep getting: "libvirtError: XML description not well formed or invalid The xml is a simple network
2013 Feb 12
1
Out of Memory Error
Hi, I am trying to attach a usb device to my virtualbox node using libvirt. My node is already running, I stop my node and then I am trying to add this usb device. I have a separate xml file defined for usb. It looks like this: *<device> <hostdev mode='subsystem' type='usb'> <source> <vendor id='0x4321'/> <product
2016 Jan 08
2
remove cdrom after installing os on a guest
Hi all, I have the following issue, and I hope someone know a way to handle it. I need to grammatically need to create/install a guest OS using the libvirt API. Currently what I do: 1. create a xml with the vm configuration (this will include a path to the iso image) 2. connection.defineXML(<my_config>) 3. vm = connection.lookupByName(<domain_name>) 4. vm.create() This will
2009 Feb 09
9
virt-manager and virt-install can''t use with new built xvm 3.3
Hi Dave, I built successfully an xvm 3.3 system. However, I found virt-manager and virt-install don''t work. I attached the error messages of both as below. xm tool seems to work. I can run OpenSolaris200811 LiveCD and install it onto file based disk. The error messages of virt-manager: ====start of error message==== Unable to open connection to hypervisor URI ''xen'':
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;