Displaying 20 results from an estimated 3000 matches similar to: "(no subject)"
2012 May 05
1
listing active and defined vs inactive and defined domains
i am trying to list active + defined and inactive + defined domains using libvirt 0.9.4
i can get active domains using:
def s_activedomains(conn):
#get active domain ids
numofdomains=libvirt.virConnect.numOfDomains(conn)
activedomains=libvirt.virConnect.listDomainsID(conn)
return activedomains
i am stuck on how to get inactive domains
the example listed
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 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
2015 Nov 11
2
Re: xen+ssh with openauth
On 03.11.15 15:37, Daniel P. Berrange wrote:
> On Tue, Nov 03, 2015 at 10:14:00AM +0200, Shahar Havivi wrote:
> > Hi,
> >
> > I am trying to connect to remote libvirt via script,
> > and I get password prompt from the shell.
> >
> >
> > ============================================================================
> >
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
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.
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
2017 Jun 01
2
[Gluster-devel] Empty info file preventing glusterd from starting
Hi Niels,
No problem we wil try to backport that patch on 3.7.6.
Could you please let me know in which release Gluster community is going to
provide this patch and date of that release?
Regards,
Abhishek
On Wed, May 31, 2017 at 10:05 PM, Niels de Vos <ndevos at redhat.com> wrote:
> On Wed, May 31, 2017 at 04:08:06PM +0530, ABHISHEK PALIWAL wrote:
> > We are using 3.7.6 and on
2017 Jun 01
0
[Gluster-devel] Empty info file preventing glusterd from starting
On Thu, Jun 01, 2017 at 01:03:25PM +0530, ABHISHEK PALIWAL wrote:
> Hi Niels,
>
> No problem we wil try to backport that patch on 3.7.6.
>
> Could you please let me know in which release Gluster community is going to
> provide this patch and date of that release?
It really depends on when someone has time to work on it. Our releases
are time based, and will happen even when a
2017 Sep 20
0
Permission for glusterfs logs.
Hi Team,
I did some modification in glusterfs code and now able to modify the
permission of maximum of files.
But still 2 file's permission in 0600
1. cli.log
2. file which contains the mounting information for "mount -t glusterfs"
command
I will really appreciate, if some can point light on this area. Also is
there any side effect of changing these permissions apart from other
2017 Sep 19
4
Permission for glusterfs logs.
Any suggestion would be appreciated...
On Sep 18, 2017 15:05, "ABHISHEK PALIWAL" <abhishpaliwal at gmail.com> wrote:
> Any quick suggestion.....?
>
> On Mon, Sep 18, 2017 at 1:50 PM, ABHISHEK PALIWAL <abhishpaliwal at gmail.com
> > wrote:
>
>> Hi Team,
>>
>> As you can see permission for the glusterfs logs in /var/log/glusterfs is
>>
2001 Mar 09
6
Problem compiling ogg on OpenBSD-2.7
Hi,
I have downloaded the following files
libao-0.6.0.tar.gz
libogg-1.0beta4.tar.gz
libvorbis-1.0beta4.tar.gz
vorbis-tools-1.0beta4.tar.gz
as said from the download section. But I'm at a loss to what do after
that. I don't have much experience/knowledge in compiling etc, but I
still want to try out ogg. (I downloaded the source coz I have an OpenBSD
machine, and there was no
2013 Mar 21
3
(no subject)
Hi,****
** **
My name is Abhishek and I?m a 2nd year undergrad at Indian Institute of
Technology Roorkee. I've experience in programming (Java, C++, python) and
web development(PHP, javascript, jquery, CSS). I went through the project
ideas mentioned on your GSOC web page and found "Performance Test Suite" quite
interesting. Could I have more information about this project?
** **
2017 Sep 20
4
[Gluster-devel] Permission for glusterfs logs.
On 09/18/2017 09:22 PM, ABHISHEK PALIWAL wrote:
> Any suggestion would be appreciated...
>
> On Sep 18, 2017 15:05, "ABHISHEK PALIWAL" <abhishpaliwal at gmail.com
> <mailto:abhishpaliwal at gmail.com>> wrote:
>
> Any quick suggestion.....?
>
> On Mon, Sep 18, 2017 at 1:50 PM, ABHISHEK PALIWAL
> <abhishpaliwal at gmail.com
2017 Aug 02
0
High load on CPU due to glusterfsd process
Could you please response?
On Fri, Jul 28, 2017 at 5:55 PM, ABHISHEK PALIWAL <abhishpaliwal at gmail.com>
wrote:
> Hi Team,
>
> Whenever I am performing the IO operation on gluster volume, the loads is
> getting increase on CPU which reaches upto 70-80 sometimes.
>
> when we started debugging, found that the io_worker thread is created to
> server the IO request and
2017 Sep 18
0
Permission for glusterfs logs.
Any quick suggestion.....?
On Mon, Sep 18, 2017 at 1:50 PM, ABHISHEK PALIWAL <abhishpaliwal at gmail.com>
wrote:
> Hi Team,
>
> As you can see permission for the glusterfs logs in /var/log/glusterfs is
> 600.
>
> drwxr-xr-x 3 root root 140 Jan 1 00:00 ..
> *-rw------- 1 root root 0 Jan 3 20:21 cmd_history.log*
> drwxr-xr-x 2 root root 40 Jan 3 20:21 bricks
2017 Sep 20
0
[Gluster-devel] Permission for glusterfs logs.
I have modified the source code and its working fine but only below two
files permission is not getting change even after modification.
1. cli.log
2. file which contains the mounting information for "mount -t glusterfs"
command
On Wed, Sep 20, 2017 at 5:20 PM, Kaleb S. KEITHLEY <kkeithle at redhat.com>
wrote:
> On 09/18/2017 09:22 PM, ABHISHEK PALIWAL wrote:
> > Any
2017 Aug 30
2
[Gluster-devel] High load on glusterfs!!
On Wed, Aug 30, 2017 at 01:52:59PM +0530, ABHISHEK PALIWAL wrote:
> What is Gluster/NFS and how can we use this.
Gluster/NFS (or gNFS) is the NFS-server that comes with GlusterFS. It is
a NFSv3 server and can only be used to export Gluster volumes.
You can enable it:
- install the glusterfs-gnfs RPM (glusterfs >= 3.11)
- the glusterfs-server RPM might contain the NFS-server (glusterfs
2017 Sep 18
2
Permission for glusterfs logs.
Hi Team,
As you can see permission for the glusterfs logs in /var/log/glusterfs is
600.
drwxr-xr-x 3 root root 140 Jan 1 00:00 ..
*-rw------- 1 root root 0 Jan 3 20:21 cmd_history.log*
drwxr-xr-x 2 root root 40 Jan 3 20:21 bricks
drwxr-xr-x 3 root root 100 Jan 3 20:21 .
*-rw------- 1 root root 2102 Jan 3 20:21 etc-glusterfs-glusterd.vol.log*
Due to that non-root user is not able to