Displaying 20 results from an estimated 800 matches similar to: "Unable to close open libvirt connections"
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)
2012 Jun 21
1
Libvert live migration problem!
Hi all,
I've succeed to do live migration between two PCs. However, I found I
could not connect the VM by host IP from a remote PC before migration and
can only connect it from host PC. If I appended the VM with the following
line at the end of the xml file:
<listen type='address' address=host_IP port='PORT'>
I can connect the VM via VNCVIEWER with host_IP:PORT.
2010 Mar 12
1
unable to get domain list of KVM guests from libvirt as non-root user
I have a python script that monitors the guest VMs on a servers running
Xen, but the script doesn't work properly on a server I just built with
KVM. The script runs as a non-root user (same on all servers) and
simply gathers some details on the status and names of the domains
running on the host.
The Xen and KVM servers are running CentOS 5.4 x86_64 and are using the
same version of
2017 May 08
3
Re: nwfilter and address of network ip address
On Mon, May 08, 2017 at 03:35:19PM +0100, Daniel P. Berrange wrote:
>On Sat, May 06, 2017 at 08:09:49PM -0400, Dan wrote:
>> On Fri, May 5, 2017 at 4:29 PM, Nicolas Bock <nicolasbock@gmail.com> wrote:
>>
>> > Hi,
>> >
>> > I am running a webserver on the libvirt host and would like to add a
>> > nwfilter such that a VM can access that
2012 Mar 27
1
Problem using virt-manager to create a VM remotely
Well, not that remote. I'm trying to get it working
from my laptop to an ancient workstation behind me
I use for testing.
I appear to get the connection okay.
virt-manager --connect qemu+ssh://root@<host_ip>/system
I can click on the entry on the panel that comes up and
see facts about the remote machine.
I then tried the "Create a new virtual machine" item on the
tool
2012 Apr 24
1
Non-Root not able to use openReadOnly()
Hi,
I have a code :
import libvirt
con = libvirt.openReadOnly(None)
print con.listDomainsID()
When i run the above code using root i get the proper output... but when i
use non-root user it givers be a empty list [ ]
If i change the 2nd line to
con = libvirt.open(qemu:///system)
It works.
I am using RHEL 6.1 with default kvm and libvirt.
unix_sock_group = "virt" in
2006 Jul 14
2
Port forwarding problems
I am running Xen on a RHEL4 dom0 and have two RHEL4 domU''s. The domU''s are
both running Oracle 10g R2 database. I want to connect to these databases
from another computer. Xen is set up with NAT network and all dom''s have
access to the internet and they can ping eachother so the network is up and
running. My problem is that I cannot connect to the different oracle
2005 Oct 25
2
Domain migration
Hi,
I am relatively new to xen and have the following question:
Can a domain be live migrated to a different domain on the same system? Eg:
if i have a domain VM1 and i want to migrate it and run it as VM2.
Thanks,
Sowmya
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2002 Oct 25
2
Having problems with PXELINUX parsing contents of pxelinux.cfg/AC134D6D
Hello,
We are trying to use 'PXELINUX' for network boot with root file system on ramdisk, the kernel image vmlinuz and compressed root file system rootfs.img.gz are both present in /tftpboot directory
PXELINUX client (pxelinux.0) requests and gets the config file AC134D6D from the TFTP server (which supports tsize option) contents are as follows
timeout 10
prompt 1
label linux-new
2002 Dec 18
2
Does pxelinux tftp support BLOCK-SIZE option
Hello,
Does PXELINUX support tftp BLOCK-SIZE option? If so, what would be the maximum BLOCK-SIZE that can be used for the transfer? The RFC says that the range can be [8 - 65536].
Thanks,
Sowmya
2011 Feb 09
1
How to use Python Binding with Lbivirt.
HI,
I am using ubuntu host machine and KVM is present as guest in that
machine.Two virtual machines are there.I am using Python binding to query on
the hypervisor and extract the VM related information.
Here is my simple code:
#!/*usr*/local/bin/*python
*
import libvirt
import sys
conn = libvirt.openReadOnly(None)
if conn == None:
print *'Failed to open connection to the
2015 Mar 20
1
Re: libvirt-python Segfaults
Hi Harish,
I believe the proper establishment of a connection should be done by libvirt.open()
or libvirt.openAuth() or libvirt.openReadOnly(). All of them will return a functional
virConnect instance.
I'm not sure this segfault is worth to fix since instantiate a virConnect directly
is not an expected usage.
Hope this information will help you.
Best Regards,
Hao Liu
+86-010-62608262
2006 Feb 28
1
Common entry, exit point for hypervisor calls
Hi,
1) From the code it appears that there is no common entry/exit point for the
hypervisor calls. Wanted to confirm if this is right?
2) Also is there a per-domain flag to indicate that the hypervisor call is
in progress in a particular domain?
Thanks,
Sowmya
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2010 Aug 31
0
Asterisk with Blockhosts
Just in case anyone is using Blockhosts
(http://www.aczoom.com/blockhosts/) with their Linux servers and
Asterisk here are the rules necessary to block invalid users:
"asterisk-NoPeer":
r'Registration from .* failed for \'{HOST_IP}\' - No matching peer
found',
"asterisk-NoAuth":
r'Registration from .* failed for \'{HOST_IP}\' - Username/auth name
2015 Jul 24
0
virsh dominfo does not show correct cpuTime
Hi,
I am doing some domain resource monitoring work. I use
cat /dev/urandom | md5sum
to simulate vCPU load and write a script to calculate vCPU utilization. It
seems all good at the beginning. After I abort the ``cat ... md5sum``
command in domain, I see some strange data as below:
CPU time: 8410960000000
CPU util: 99.8410609331%
CPU time: 8411970000000
CPU util: 100.843672381%
CPU time:
2015 Jul 24
0
Re: virsh dominfo does not show correct cpuTime
I was getting vCPU use time outside of guest with libvirt-python API, and
them calculate utilization with (cpuTime2 - cpuTime1) / (t2 - t1). I was
not doing this inside the guest os.
2015-07-24 15:09 GMT+08:00 2020human <human2020@qq.com>:
> You calculate is vCPU use time not utilization。
>
> use_time/total_cpu_time is utilization。
>
> total_cpu_time=`cat /proc/stat |sed -n
2015 Jul 04
4
Gracefully powering off system in case of power failure
On 7/4/2015 1:07 PM, John R Pierce wrote:
> On 7/4/2015 12:28 AM, Jatin Davey wrote:
>>>
>> My server supports ACPI 4.0 standard , Will that be helpful ?
>
> does `init 0` as a root command cause it to gracefully shut down and
> power off ? thats all the ACPI support you need.
[Jatin] Yes, init 0 does gracefully shutdown the server and power off.
>
>
>
2014 Jan 22
1
Dovecot on Solaris 10 Segmentation Fault
Hello,
make check on Solaris 10 throws a segmentation fault.
The error is independent of the compiler (SunStudio/GCC) and processor
architecture (SPARC/x86) and 32 or 64 bit binary.
Dovecot Version: 2.2.10
OS: Solaris 10/SPARC & x86
SunStudion Compiler
cc: Sun C 5.10 SunOS_sparc Patch 141861-10 2012/11/07
GCC
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
The error occurs first
2010 May 25
8
Unable to execute a script , Permission denied
Hi
I have a linux box which has CentOS running in it. I logged into the box
using root and wrote a script in the /home/proc_threads directory. saved
the file and quit. I changed the file permissions such that any user
could execute it using the "chmod 777 filename" command.
When i log out and log in as a non-root user i was not able to execute
the script though.
Could some one
2015 Apr 14
5
Re: VM Performance using KVM Vs. VMware ESXi
Thanks Dominique & Daniel.
Looks like i need to upgrade my VMs kernel to make it aware of virtio.
Found this information from this link:
http://wiki.libvirt.org/page/Virtio#Disk_.28block.29_device_driver
I tried without upgrading the Kernel and as soon as i start my VM it got
into Kernel Panic. I will try using virtio after upgrading my VMs kernel.
Thanks for all the responses and