[Fedora-xen] xmlrpc python and session login

Richard W.M. Jones rjones at redhat.com
Wed Oct 17 06:42:40 UTC 2007


slbubba at charter.net wrote:
> Folks;
> 
> I'm trying to see what's available (working) in xen for remote management.  I thought I'd try something simple using xmlrpclib and python.  I tried establishing a session and logging in but I'm not getting anywhere fast.  It appears that either xend isn't functional in this area or something (perhaps) is not set correctly in the xend-config.sxp file.  Has anyone been able to login to a xen system successfully?  Are any of the facilities in the xend-config file functional with this RH version of xend?
> 
> 
> OS:  RHEL5.0 latest update
> kernel:  2.6.18-8.1.14.el5xen
> 
> RPM's:  xen-libs-3.0.3-25.0.4.el5
>             xen-3.0.3-25.0.4.el5
>             python-2.4.3-19.el5
> -----------
> python
>>>> import xmlrpclib
>>>> xen = xmlrpclib.Server("http://mysys.com:8006")
>>>> asess = xen.session.login_with_password("batman", "monkeypus")
> 
> socket.error: (111, 'Connection refused')

Take a look at http://libvirt.org/  Remote management works fine, there 
are command line tools, and interfaces to many different languages.

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20071017/0e5b3b95/attachment.bin>


More information about the Fedora-xen mailing list