similar to: xen+ssh with openauth

Displaying 20 results from an estimated 1100 matches similar to: "xen+ssh with openauth"

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. > > > > > > ============================================================================ > >
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.
2015 Nov 11
0
Re: xen+ssh with openauth
On Wed, Nov 11, 2015 at 01:02:34PM +0200, Shahar Havivi wrote: > 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. > > > > > > > > >
2014 Jun 06
2
Libvirt Python Bindings - Remote Connection using openAuth.
Hi, I am using libvirt with python binding, and I want to connect to a remote host. I was able to connect after making ssh certificate, but It is not applicable for my project. So I want to use openAuth() method, but I could not succeed connecting to a remote host using it. Here is my code ------------------------ import libvirt USER = "root" PASS = "mypasswd" def
2014 Jun 06
1
Re: Libvirt Python Bindings - Remote Connection using openAuth.
Martin, What do you mean by libvirt credentials...? -Sijo On Fri, Jun 6, 2014 at 1:57 PM, Martin Kletzander <mkletzan@redhat.com> wrote: > On Fri, Jun 06, 2014 at 01:06:55PM +0530, Sijo Jose wrote: > >> Hi, >> I am using libvirt with python binding, and I want to connect to a remote >> host. >> I was able to connect after making ssh certificate, but It
2015 Nov 03
0
Re: xen+ssh with openauth
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. > > > ============================================================================ > uri='xen+ssh://root@myserver/?no_verify=1' > def req(credentials, user_data): > print('in
2018 Dec 05
2
Re: Libvirt api for esx
Hi Martin, Could you please help me with below issue, I am not sure what’s wrong here. Please find below code and error snippet. Thanks for help. Code Snippet: - from __future__ import print_function import sys import libvirt SASL_USER = <username> SASL_PASS = <password> def request_cred(credentials, user_data): for credential in credentials: if credential[0] ==
2018 Dec 06
2
Re: Libvirt api for esx
Thanks Martin for help. I will give it a shot. Regards Rohit Singh On Thu, 6 Dec 2018 at 2:55 PM, Martin Kletzander <mkletzan@redhat.com> wrote: > On Wed, Dec 05, 2018 at 09:44:17PM +0530, ROHIT SINGH wrote: > >Hi Martin, > > > >Could you please help me with below issue, I am not sure what’s wrong > here. > >Please find below code and error snippet. > >
2018 Dec 12
1
Re: Libvirt api for esx
On Wed, Dec 12, 2018 at 03:03:41PM +0530, ROHIT SINGH wrote: >Thanks Martin, It’s working now. >Could you please help me with role of xml in libvirt api and what if I >don’t want use of xml in my code. >Please let me know. > Libvirt uses XML for most of the APIs. Depends what you need to do you can transform it with xmltodict or use some higher level API. I'm not sure I can
2014 Jun 06
0
Re: Libvirt Python Bindings - Remote Connection using openAuth.
On Fri, Jun 06, 2014 at 01:06:55PM +0530, Sijo Jose wrote: >Hi, >I am using libvirt with python binding, and I want to connect to a remote >host. >I was able to connect after making ssh certificate, but It is not >applicable for my project. >So I want to use openAuth() method, but I could not succeed connecting to a >remote host using it. > >Here is my code
2018 Nov 29
2
Re: Libvirt api for esx
On Wed, Nov 28, 2018 at 10:24:55PM +0530, ROHIT SINGH wrote: >Hi Martin, > >Could you please point me to any example codes in python present for esx? >Suppose, I have to power off and power on esx virtual machine, can i get >this code somewhere on python to develop some understanding. > https://www.mail-archive.com/libvir-list@redhat.com/msg17903.html >Actually, I am not
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.
2018 Dec 06
0
Re: Libvirt api for esx
On Wed, Dec 05, 2018 at 09:44:17PM +0530, ROHIT SINGH wrote: >Hi Martin, > >Could you please help me with below issue, I am not sure what’s wrong here. >Please find below code and error snippet. > >Thanks for help. > >Code Snippet: - > >from __future__ import print_function >import sys >import libvirt >SASL_USER = <username> >SASL_PASS =
2018 Dec 12
0
Re: Libvirt api for esx
Thanks Martin, It’s working now. Could you please help me with role of xml in libvirt api and what if I don’t want use of xml in my code. Please let me know. Thanks for help!! Regards Rohit Singh On Thu, 6 Dec 2018 at 11:24 PM, ROHIT SINGH <rohit.singh0908@gmail.com> wrote: > Thanks Martin for help. I will give it a shot. > > Regards > Rohit Singh > > On Thu, 6 Dec 2018
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
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 Mar 19
2
libvirt-python Segfaults
Hello I am trying to get libvirt-python working in Ubuntu 14.04 64 bit system. I tried installing the binaries from the repo itself: 1. root@test-vm8-109:/home/test# libvirtd --version libvirtd (libvirt) 1.2.2 root@test-vm8-109:/home/test# python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or
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
2012 Oct 13
0
[PATCH] New APIs: Model libvirt authentication events through the API.
From: "Richard W.M. Jones" <rjones at redhat.com> This commit models libvirt authentication events through the API, adding one new event (GUESTFS_EVENT_LIBVIRT_AUTH) and several new APIs: guestfs_set_libvirt_supported_credentials guestfs_get_libvirt_requested_credentials guestfs_get_libvirt_requested_credential_prompt guestfs_get_libvirt_requested_credential_challenge
2010 Sep 30
1
Ruby-libvirt and openAuth
Hello, It looks like the Ruby bindings do not support virConnectOpenAuth. Is this true? If so, is there any reason why? or plans to? Thanks, Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20100930/b4267ba7/attachment.htm>