[ovs-dev] installing Python 2.7 on Xenserver (was: Re: [PATCH 1/2] Increase prerequisite from Python 2.4 to Python 2.7.)

Ben Pfaff blp at nicira.com
Sat Jun 6 20:46:35 UTC 2015


Hi Andy, did you hear anything back from Citrix, either on installing
Python 2.7 in addition to the Python 2.4 shipped with XenServer, or on
whether the next version of XenServer will have a newer Python?  I know
that other OVS users are eager to take advantage of modern Python
features, so I'd like to get this resolved.

Thanks,

Ben.

On Thu, May 28, 2015 at 06:59:17AM -0400, Andy Hill wrote:
> I don't think it's too difficult, there just needs to be a well known
> location where it's installed. It's unclear if we'll have to do the
> installation or a newer version of Python will be available with a
> XenServer update.
> 
> Specifically ovs-xapi-sync[1] will need an update to point to the new
> python location if the system python isn't updated.
> 
> I've pointed Citrix to this mailing list thread.
> 
> [1] https://github.com/openvswitch/ovs/blob/master/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync#L1
> 
> On Wed, May 27, 2015 at 12:53 PM, Ben Pfaff <blp at nicira.com> wrote:
> > On Thu, May 21, 2015 at 07:23:49PM -0700, Andy Hill wrote:
> >> > As a consequence, this requires dropping support for old versions of
> >> > XenServer.  I don't expect that to be much of a problem.
> >>
> >> Unfortunately, the most recent release of XenServer (6.5) still ships
> >> with Python 2.4.
> >
> > How hard is it to install a newer Python in parallel with the system
> > version on XenServer?  I'd guess that RPMs are available.  It shouldn't
> > be too much work to make OVS use "/usr/bin/python2.7" or whatever
> > instead of "/usr/bin/python".



More information about the dev mailing list