similar to: unable to get domain list of KVM guests from libvirt as non-root user

Displaying 20 results from an estimated 700 matches similar to: "unable to get domain list of KVM guests from libvirt as non-root user"

2010 Mar 10
2
unable to get domain status from libvirt & KVM
I have a python script that monitors the VMs on physical host 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 and simply gathers some details on the status and names of the domains running on the host. Both Xen and KVM servers are running the same version of libvirt (libvirt-0.6.3-20.1.el5_4) and have the
2010 Mar 11
2
unable to get domain status from libvirt & KVM
I have a python script that monitors the VMs on physical host 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. Both Xen and KVM servers are running the same version of libvirt
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
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
2010 Jun 02
1
openssh sftp fails to start a session
Hi, I am having trouble running sftp from the openssh package openssh-5.5p1. There seems to be an authentication problem. This is what happens: $ sftp -o "Port 2022" testu at localhost testu at localhost's password: Connection closed QUESTION: Can someone spot the problem please? How do I fix this? FURTHER INFORMATION I can run openssh's ssh: $ ./ssh -p 2022 testu at
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
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 Feb 10
0
How to retrieve Memory stat of the KVM using python binding with Libvirt API
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.I like to print memory stat of the VM like SWAP_IN , SWAP_OUT,free memory, mem cached etc.So, the code, I have written for this, is : #!/usr/local/bin/python import libvirt import sys conn =
2015 May 08
4
[patch v2] virtio_console: silence a static checker warning
My static checker complains that this sprintf() can overflow but really it can't. Just silence the warning by using snprintf(). Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com> --- v2: the overflow is not possible so just leave the buffer size alone and silence the warning with snprintf(). diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index
2015 May 08
4
[patch v2] virtio_console: silence a static checker warning
My static checker complains that this sprintf() can overflow but really it can't. Just silence the warning by using snprintf(). Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com> --- v2: the overflow is not possible so just leave the buffer size alone and silence the warning with snprintf(). diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index
2013 Jun 20
2
Question about vport operation for FC HBA
Hi, When I want to use NPIV for a FC HBA in my Linux machine, I got the below error msg in virsh: virsh # nodedev-create /home/kvm/vHBA.xml error: Failed to create node device from /home/kvm/vHBA.xml error: internal error Parent device scsi_host20 is not capable of vport operations I checked the /sys/class folder for my HBA device that I want to use its NPIV feature, it's there:
2011 Jul 28
1
[RFC net-next PATCH 3/4] ethtool: Add new set commands
On Jul 28, 2011, at 1:38 PM, Rose, Gregory V wrote: > >> From: Anirban Chakraborty [mailto:anirban.chakraborty at qlogic.com] >> Sent: Thursday, July 28, 2011 12:04 PM >> To: Rose, Gregory V >> Cc: David Miller; netdev; Ben Hutchings; Kirsher, Jeffrey T >> Subject: Re: [RFC net-next PATCH 3/4] ethtool: Add new set commands >> >> >> On Jul 28,
2011 Jul 28
1
[RFC net-next PATCH 3/4] ethtool: Add new set commands
On Jul 28, 2011, at 1:38 PM, Rose, Gregory V wrote: > >> From: Anirban Chakraborty [mailto:anirban.chakraborty at qlogic.com] >> Sent: Thursday, July 28, 2011 12:04 PM >> To: Rose, Gregory V >> Cc: David Miller; netdev; Ben Hutchings; Kirsher, Jeffrey T >> Subject: Re: [RFC net-next PATCH 3/4] ethtool: Add new set commands >> >> >> On Jul 28,
2015 May 08
2
[patch] virtio_console: use snprintf() for safety
My static checker complains that this sprintf() can overflow. vdev->index is selected by ida_simple_get() in register_virtio_device() so my reading of the code is that this overflow is theoretically possible. The max value of "id" is configurable and I'm not sure what typical values are. Anyway, it's simple enough to make the buffer larger and I changed it to snprintf() as
2015 May 08
2
[patch] virtio_console: use snprintf() for safety
My static checker complains that this sprintf() can overflow. vdev->index is selected by ida_simple_get() in register_virtio_device() so my reading of the code is that this overflow is theoretically possible. The max value of "id" is configurable and I'm not sure what typical values are. Anyway, it's simple enough to make the buffer larger and I changed it to snprintf() as
2004 Jun 23
0
XP Client can't log on PDC/LDAP configuration
Hello, I have Samba 3.0.4, OpenLDAP 2.0.27 (whatever comes with RH 9.0) configured as a PDC with LDAP as the password database. I can log on to the PDC box, ldap seems to be working fine with PAM. Password changes take affect etc. I can get passthru security working fine. I log into windows xp machine, browse home/profile shares, no problem. But I can't log on from the client xp machine
2015 May 08
1
[patch v2] virtio_console: silence a static checker warning
Am 08.05.2015 11:16, schrieb Dan Carpenter: > My static checker complains that this sprintf() can overflow but really > it can't. Just silence the warning by using snprintf(). > > Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com> > --- > v2: the overflow is not possible so just leave the buffer size alone and > silence the warning with snprintf(). >
2006 Jan 20
2
Assertation failed when trying to login twice in one session
Hello, this command: echo "user testu pass q" ; sleep 5; echo "user testu pass test quit" | nc localhost pop3 results in this assert: dovecot: Jan 20 10:16:09 Error: auth(default_with_listener): file auth-client-connection.c: line 33 (auth_client_send): assertion failed: (conn->refcount > 1) dovecot: Jan 20 10:16:09 Error: child 18656 (auth) killed with signal 6
2012 Sep 27
1
CAM Target Layer and Linux (continued)
Hi All, With the help of Chuck Tuffli, I'm now able to use CTL to export a zvol over FC to a Linux host: LUN Backend Size (Blocks) BS Serial Number Device ID 0 block 4185915392 512 FBSDZFS001 ORA_ASM_01 lun_type=0 num_threads=14 file=/dev/zvol/tank/oracle_asm_01 1 block 4185915392 512 FBSDZFS002 ORA_ASM_02
2010 Mar 03
0
CentOS-announce Digest, Vol 61, Issue 2
Send CentOS-announce mailing list submissions to centos-announce at centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-request at centos.org You can reach the person managing the list at centos-announce-owner at centos.org When