Displaying 20 results from an estimated 3000 matches similar to: "(no subject)"
2011 May 15
1
(no subject)
Hello,
I am using python bindings of libvirt. When I use the function
listDomainsID( ) it successfully returns me the list of the ids of my
current virtual machines, but when I call function listDefinedDomains( ) it
returns me an empty list.
Is this some kind of bug because as per my understanding listDefinedDomains
should return a superset of vm's as returned by listDefinedDomains().
I am
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 May 30
0
Hot memory and cpu update
Runing domain xml
vv.XMLDesc(0)
n ub_test1n 714dde02-76c9-7d45-25af-e50f0a54f4bcn 545792n 545792n
4n n hvmn n n n n n n destroyn restartn
destroyn n /usr/bin/kvmn n n n
n n n n n n n
n n n n n n n
n n n n n n n
n n n n nn"
>>> vv.info()
[1,
2011 Aug 12
2
VNC ports
I am needing to explicitly assign VNC ports to my virtual guests so that I can connect to them externally via a VNC client, and not virt-viewer. Since I will have multiple KVM Hosts with access to the same shared storage (to facilitate migrations) I need to ensure I have unique VNC ports assigned to each guest so that I don't overlap somehow.
I had planned to use a range of ports starting at
2008 Aug 29
0
problems with virt-manager and xen 3.3.0
Hello
i'm setting up a debian system, with no root acount, i manage it with the sudo command, and installed the new xen 3.3.0 on it
than i installed fluxbox and vnc4server on this machine, to get remote access to the debian/xen system i use ssh and xvnc4viewer, ssh for the console and xvnc4viewer for the windowmanager, until than everything works fine.
than i installed virt-manager from the
2007 Jun 14
0
Still stuck with Xen 3.1 on Fedora 7
Hi, this is my last attempt before trying RHEL 5
I am still having problems with Xen 3.1 in Fedora 7. I keep getting the
same error
again and again whenever I try to create a domU.
Any advice would be highly appreciated.
-------------------------------------------------
[root@shrek3-009002084099 images]# virt-install
What is the name of your virtual machine? ccvm3
How much RAM should be
2012 Oct 24
0
Libvirt event for disk change is not being registered by DomainEventRegisterAny()
Hi,
I am writing an application which would monitor the changes on the domain
on the KVM hypervisor through libvirt events.
Recently I have upgraded my libvirt from 9.4 to 9.10 and I have this issue.
While *de-registering* for DomainEventDiskChangeCallback, I get a libvirt
error saying
'libvirtError: internal error domain event 2 not registered;'
where 2 is the callbackid
2012 Oct 25
0
Please help: Libvirt event for disk change is not being registered by DomainEventRegisterAny()
Hi,
I am writing an application which would monitor the changes on the domain
on the KVM hypervisor through libvirt events.
Recently I have upgraded my libvirt from 9.4 to 9.10 and I have this issue.
While *de-registering* for DomainEventDiskChangeCallback, I get a libvirt
error saying
'libvirtError: internal error domain event 2 not registered;'
where 2 is the callbackid
2012 Aug 17
1
getCPUStats of a domain by a non-root user - libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted
Hello,
I'm trying to use libvirt as a non-root user to obtain statistics on the
CPU usage by VMs using the Python API. I'm performing basically the
following steps:
import libvirt
conn = libvirt.openReadOnly(None)
dom = conn.lookupByUUIDString('268e38ea-1bc7-41e4-c19e-8eff682e58e4')
dom.getCPUStats(True, 0)
However, they result in the following error:
libvir: QEMU Driver
2016 Apr 12
0
Re: [Bug 1325687] network type="ethernet" not supported with LXC
Hi Cole
I tested the LXC VM with libvirt 1.2.12 after applying the patch
http://www.redhat.com/archives/libvir-list/2016-April/msg00505.html
I'm now getting following errors..
virsh -c lxc: start test
error: Failed to start domain test
error: internal error: Unsupported network type ethernet
I'm using the below XML file for launching LXC VM..
<domain type="lxc">
2011 Mar 06
0
guest creation problem on pv dom0 kernel
I am having problem in guest creation for a pv-ops Dom0 kernel
I compiled every thing from scratch.(Xen and 2.6.32.27 pv-ops dom0 kernel)
on a Ubuntu Desktop 10.04 64 bit.
Following is my config file for 2.6.32.27
http://pastebin.com/AvSVgVQE
and the error I am getting trying to create a guest with virt-install is
ERROR unable to connect to 'localhost:8000': Connection refused
2010 Mar 31
1
connect libvirt and virtualbox
conn = libvirt.open("vbox:///session")
return this error:
libvir: VBOX error : internal error unable to initialize VirtualBox driver API
Traceback (most recent call last):
File "prova.py", line 5, in <module>
conn = libvirt.open("vbox:///session")
File "/usr/lib/python2.6/dist-packages/libvirt.py", line 163, in open
if ret is None:raise
2008 Aug 25
1
virt-install error: "virDomainLookupByName() failed got unknown HTTP error code 400"
Hi there,
I've been happily installing VMs in CentOS 5.2's Xen implementation using virt-manager. However, my latest attempt to use the install wizard in virt-manager failed when I got to the networking screen. The 'forward' button was unresponsive, and I was unable to proceed. I checked the virt-manager logs, and saw this appearing immediately after I tried to proceed:
2012 Oct 30
2
libvirt python api error
I use the code below:
import libvirt
auth =
[[libvirt.VIR_CRED_AUTHNAME,libvirt.VIR_CRED_NOECHOPROMPT],'root',None]
conn = libvirt.openAuth("qemu:///system",auth,0)
with open("/root/cflinux.xml") as f:
xml=f.read()
domain = conn.defineXML(xml)
domain.createWithFlags(0)
and report the error:
libvir: Security Labeling error : internal error cannot load AppArmor
2007 Jun 11
0
error when installing guestOS for domainU
I have xen 3.0.3 on fedora 5.
i''m creating a guest domain trough the
script guest-install.py .
when I try to use an install location I have
an error:
What is the install location? http://mirror.aarnet.edu.
au/pub/fedora/linux/core/5/i386/os/
Starting install...
libvir: Xen
Daemon error : could not connect to Xen Daemon
Failed to create domain
M1
Traceback (most recent call last):
2010 May 11
0
remote libvirt vbox
I tried:
import libvirt
conn = libvirt.open("vbox+ssh://user at 192.168.0.10/session")
Prompted for a password for ssh connection, but returns this
error:
libvir: QEMU error : server closed connection
Traceback (most recent call last):
File "/home/angelo/workspace/test.py", line 11, in <module>
conn = libvirt.open("vbox+ssh://user at
2012 May 18
0
How to use Python Binding with Lbivirt.
When I run the python test code I got the SASL error. But it's ok if I run the C sample code. Do you know the reason??
Here is the message:
libvir: RPC error : authentication failed: Failed to start SASL negotiation: -4 (SASL(-4): no mechanism available: No worthy mechs found)
Traceback (most recent call last):
? File "esxList.py", line 101, in ?
? ? conn = libvirt.openAuth(uri,
2010 Jan 22
1
libvirtd remote access
Hi,
I can''t seem to get libvirtd to accept remote connections. Both systems are built using genunix''s b130.
It seems that connections originating from the xvm0 server itself are fine but as soon as I go on to the other box and run the same python script (or simply virsh) the connection gets dropped immediately. Telnetting to port 16509 confirms that it drops the connection
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
2007 Nov 19
3
virt-install complains about vnc-password not being set
Hi All,
Im getting the following error when I run virt-install:
bash-3.2# virt-install -n winxp-01 --hvm -r 384 --vnc -f
/etc/opt/vms/winxp-01.img -s 16 -c /etc/opt/images/windowsXP_SP2.iso
Starting install...
libvir: Xen Daemon error : POST operation failed: (xend.err ''Error
creating domain: vncpasswd is not set up in VMconfig and xend-config.'')
Traceback (most recent call