WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] add ssl/tls support to relocation

To: "Carb, Brian A" <Brian.Carb@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] add ssl/tls support to relocation
From: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Date: Sat, 03 May 2008 02:11:22 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 02 May 2008 11:12:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <089B0D75973E1241B941D0A9854F23FC0C0945CF@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <48153B56.5070201@xxxxxxxxxx> <089B0D75973E1241B941D0A9854F23FC0C0945CF@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (X11/20080213)
Yes. I add a dependency.

maybe we can separate SSLTCPListener to a new file like (tcp-ssl.py),
and import it when needed, just like 
tools/python/xen/xend/server/SSLXMLRPCServer.py did.

will try it later, or you can help.

thanks,

zhigang

Carb, Brian A wrote:
> With this patch included, xend start errors: 
> 
> # xend start
> Traceback (most recent call last):
>   File "/usr/sbin/xend", line 44, in ?
>     from xen.xend.server import SrvDaemon
>   File
> "/home/unisys/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/ser
> ver/SrvDaemon.py", line 26, in ?
>     import relocate
>   File
> "/home/unisys/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/ser
> ver/relocate.py", line 23, in ?
>     from xen.web import protocol, tcp, unix
>   File
> "/home/unisys/xen-unstable.hg/dist/install/usr/lib64/python/xen/web/tcp.
> py", line 25, in ?
>     from OpenSSL import SSL
> ImportError: No module named OpenSSL
> 
> I guess this produces a dependency on python-openssl, but this rpm is
> not included in the standard SLES10 distro.
> 
> brian carb
> unisys corporation - malvern, pa
> 
> 
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Zhigang Wang
> Sent: Sunday, April 27, 2008 10:50 PM
> To: xen-devel
> Subject: [Xen-devel] [PATCH] add ssl/tls support to relocation
> 
> hi, this patch add ssl/tls support to relocation:
> 
>  * SSL/TLS support is disabled by default, as other server did.
> 
>  * If "xend-relocation-server-ssl-key-file" and
>    "xend-relocation-server-ssl-cert-file" exist, SSL/TLS is enabled
>    automatically.
> 
>  * "xend-relocation-tls" is used by relocation client only.
> 
> Signed-off-by: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
> 
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel