python-novaclient hardcodes UUID_CACHE_DIR, this should respect some env variable

Bug #932468 reported by Dave Walker on 2012-02-15
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Undecided
Dave Walker
python-novaclient (Ubuntu)
High
Dave Walker

Bug Description

As we can see:
https://github.com/openstack/python-novaclient/commit/7601bef9ef70ce69f544e0ffda904a04552bc38c

It should not be assumed that the current user has write access to ~, and should therefore allow env based overrides to allow alternative locations. Defaulting to the current location seems good.

Thanks.

Dave Walker (davewalker) on 2012-02-15
tags: added: python-novaclient
Dave Walker (davewalker) on 2012-02-15
Changed in python-novaclient (Ubuntu):
status: New → Triaged
importance: Undecided → High

Fix proposed to branch: master
Review: https://review.openstack.org/4190

Changed in nova:
assignee: nobody → Dave Walker (davewalker)
status: New → In Progress

Reviewed: https://review.openstack.org/4190
Committed: http://github.com/openstack/python-novaclient/commit/1ee77c7fe314e015d14d9d5444fc21e84227bc47
Submitter: Jenkins
Branch: master

commit 1ee77c7fe314e015d14d9d5444fc21e84227bc47
Author: Dave Walker (Daviey) <email address hidden>
Date: Wed Feb 15 11:22:05 2012 +0000

    Allow UUID_CACHE_DIR overriding via env variable.

    This is declared as NOVACLIENT_UUID_CACHE_DIR.
    Resolves bug 932468 , defaulting to previous behaviour.
    Added myself to AUTHORS

    Change-Id: I154500517d7c882a4a090588a95f4b3bfee70595

Changed in nova:
status: In Progress → Fix Committed
Dave Walker (davewalker) on 2012-02-21
Changed in python-novaclient (Ubuntu):
status: Triaged → Fix Released
assignee: nobody → Dave Walker (davewalker)
Thierry Carrez (ttx) on 2012-02-29
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-4 → 2012.1
Thierry Carrez (ttx) on 2012-07-04
affects: nova → python-novaclient
Changed in python-novaclient:
milestone: 2012.1 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers