Displaying 20 results from an estimated 10000 matches similar to: "Ruby-libvirt and openAuth"
2010 Jun 02
2
libvirt 0.8.1
Hi Everyone,
I''m running my Dom0 on Ubuntu 10.04. My Xen install is working ok - Xend
is listening on port 8000 and xm list shows the running VMs. I wanted to
upgrade my version of libvirt so I could get the latest virt-manager
working with Xen 4.0. I used the Ubuntu packages linked on this page:
http://spblinux.de/blog/2010/05/xen-4-0-with-libvirt-0-8-1-replace-xm-new-by-virsh/
I
2013 Apr 11
2
How can I open a libvirt remote connection with ssh
Hi,
When I use 'virConnectOpenAuth' function to connect to '192.168.1.102' libvirtd with ssh,
Code below, the screen print the dialog "root at 192.168.1.102's password:" , and only
After I type the password, the connection can be created.
How can I connect to libvirtd with ssh automatically? No need to type the password manually.
char *au[2] = {"root",
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] ==
2013 Mar 27
1
How to use xl (in place of xm) with libvirt 1.0.2 and Xen 4.2.1 in Ubuntu 13.04?
QUESTION: What, if anything, can I do so that I can use xl (in place of
xm) with libvirt 1.0.2 and Xen 4.2.1 in Ubuntu 13.04?
BACKGROUND: I am testing a fully updated (as of March 27) installation of
Ubuntu 13.04 that includes the following packages:
libvirt - version 1.0.2-0ubuntu9
xen-hypervisor-4.2-amd64 - version 4.2.1-0ubuntu1
Upon setting TOOLSTACK=xm in /etc/default/xen (as well as
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.
> >
2011 Aug 23
1
libvirt ruby binding with vmware
Hi,
I've been trying to use the ruby libvirt binding with vmware esx on F15,
however it doesnt seems to work, I get:
Libvirt::ConnectionError: Call to virConnectOpen failed: Cannot access CA
certificate '/etc/pki/CA/cacert.pem': No such file or directory
I've using the same uri with virsh and it works.
it seems like somehow the no_verify is not passed, or we are back to old
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
2015 Apr 27
2
[Libvirt Users]how to provide password authentication for qemu driver
Dell Customer Communication
Hi All,
I am using
Compiled against library: libvirt 1.2.9
Using library: libvirt 1.2.9
Using API: QEMU 1.2.9
Running hypervisor: QEMU 2.1.2
I want user to provide username and password authentication to virConnectPtr
virConnectOpenAuth(const char *name,
virConnectAuthPtr auth,
unsigned int flags) to login remotely for the qemu
2011 Sep 05
5
Unable to connect
Hello,
I have been using xen under open-suse 11.4 for almost half
an year now. This week I had to reformat the provider and so I did
install everything again (now there is a dual boot and microsoft windows
server 2008 installed on the first half partition of the disk) again
open-suse 11.4 and xen. I do start the xen kernel at grub but when I try
to connect and/or creat a new domU the folling
2014 Jun 23
1
qemu+tls question
I`m generate TLS-certificates for my libvirtd and remote,
useing http://wiki.libvirt.org/page/TLSSetup .
>From console connect to remote host is success,
but from virt-manager -- no:
Unable to connect to libvirt.
Unable to read TLS confirmation: Input/output error
Verify that the 'libvirtd' daemon is running
on the remote host.
Libvirt URI is: qemu+tls://<remote_host>/system
2012 Feb 13
1
virt-manager thru window's remote desktop
Hi,
I am trying to operate the remote KVM host's virt-manager thru Terminal Server Client.
This KVM hosts is CentOS6.0 and running KVM guest and xrdp is installed from "epel" repo.
And I'm using fedora 14's Terminal Server Client.
After I started Virtual Machine Manager and try to connect to the hypervisor,
following error happened. Is there any way to resolve this error?
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
2010 Mar 04
1
ESX access using libvirt
Hello,
I am trying to access an ESXi host using libvirt but it seems that it
requires netcat to be running on the ESX server.
My ESX 4 does not have this installed and I am wondering if this is
required or is there some other way to get this working?
Thanks,
Jon
2010 Sep 21
1
Configuring libvirt for one driver and XMLRPC issues
Hello,
I am trying to run ./configure --with-one --with-esx but I get the following
error:
checking pkg-config is at least version 0.9.0... yes
checking for XMLRPC... no
configure: error: You must install XMLRPC-C >= 1.14.0 to compile libvirt ONE
driver
However I have downloaded xmlrpc-c-client and built from sources version
1.16.31
root at sa251:~/libvirt-0.8.4# xmlrpc-c-config --version
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
2017 Apr 15
1
Libvirt and libssh2 with openauth
Hi all,
i have same question as this one
https://www.redhat.com/archives/libvirt-users/2014-March/msg00158.html. (
Only im using python)
Is there any new follow-up on this?
Thanks
2010 Mar 09
2
ESX support
Just curious but how long has ESX support been in libvirt?
Also I noticed this error when accessing one of my windows vms:
error: internal error Expecting VMX entry 'scsi0.virtualDev' to be
'buslogic' or 'lsilogic' but found 'lsisas1068'
Not sure whether this is an enhancement, defect, or not supported at this time.
Thanks.
-Jon
2011 Jul 29
2
ruby-libvirt 0.4.0
On 07/29/11 - 09:34:17AM, David M. Barlieb wrote:
> Hi, I'm fairly new to using libvirt. I have RHEL6 servers running KVM
> virtual environment. As I understand it, libvirt provides the tools to
> the KVM environment so that I can create domains or virtual guests. So,
> that being said, what does this ruby-libvirt provide me or enhance given
> my current setup.
>
>
>
2012 May 02
2
Python Libvirt Bindings
Hi,
Can anyone please share sample Python code for using qemu+tcp with SASL or qemu+tls with SASL? (i.e., connecting to a hypervisor using qemu+tls or qemu+tcp when a username/password using SASL has been defined on the hypervisor)
I am having some trouble figuring out how to use callbacks for authenticating from with my Python program.
I assume I will have to