From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhigang Wang Subject: Re: [PATCH] add ssl/tls support to relocation Date: Sat, 03 May 2008 02:11:22 +0800 Message-ID: <481B594A.1080708@oracle.com> References: <48153B56.5070201@oracle.com> <089B0D75973E1241B941D0A9854F23FC0C0945CF@USEA-EXCH2.na.uis.unisys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <089B0D75973E1241B941D0A9854F23FC0C0945CF@USEA-EXCH2.na.uis.unisys.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Carb, Brian A" Cc: xen-devel List-Id: xen-devel@lists.xenproject.org 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@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com] 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 > >