install_venv not compatible with python2.7

Bug #821279 reported by Rick Harris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
Rick Harris

Bug Description

The install_venv script hard-codes in 'python2.6' when creating files under the virtualenv path. When running Python 2.7 that generates a traceback like:

http://paste.openstack.org/show/2098/

Assuming only one version of Python is installed in the venv, we should be able to pick the first one that starts with 'python'.

Changed in glance:
importance: Undecided → Low
Revision history for this message
Josh Kearney (jk0) wrote : Re: [Bug 821279] [NEW] install_venv not compatible with python2.7

Verified. This seems to mostly be a Lion issue. Huge pain in the ass.

On Aug 5, 2011, at 12:24 AM, Rick Harris <email address hidden> wrote:

> Public bug reported:
>
> The install_venv script hard-codes in 'python2.6' when creating files
> under the virtualenv path. When running Python 2.7 that generates a
> traceback like:
>
> http://paste.openstack.org/show/2098/
>
> Assuming only one version of Python is installed in the venv, we should
> be able to pick the first one that starts with 'python'.
>
> ** Affects: glance
> Importance: Low
> Status: New
>
> ** Changed in: glance
> Importance: Undecided => Low
>
> --
> You received this bug notification because you are a member of Glance
> Bug Team, which is subscribed to Glance.
> https://bugs.launchpad.net/bugs/821279
>
> Title:
> install_venv not compatible with python2.7
>
> Status in OpenStack Image Registry and Delivery Service (Glance):
> New
>
> Bug description:
> The install_venv script hard-codes in 'python2.6' when creating files
> under the virtualenv path. When running Python 2.7 that generates a
> traceback like:
>
> http://paste.openstack.org/show/2098/
>
> Assuming only one version of Python is installed in the venv, we
> should be able to pick the first one that starts with 'python'.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/glance/+bug/821279/+subscriptions

Changed in glance:
assignee: nobody → Rick Harris (rconradharris)
status: New → In Progress
Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → diablo-4
Thierry Carrez (ttx)
Changed in glance:
milestone: diablo-4 → 2011.3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.