OpenStack Compute (Nova)

Novaclient bash-completion is polluting homedir with dotfiles

Reported by Rick Harris on 2012-02-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Low
Dean Troyer

Bug Description

Currently novaclient stores cached uuids in flat files located in the users homedir, something like `.novaclient_cached_server_uuids`.

This leads to a lot of dot files being in the users homedir.

A better approach would be to use a hierarchical directory structure. This would also allow for future additions in terms of configuration and caching.

Proposal:

.novaclient/
  cache/
    uuids/
      server
      flavor
      ...

Changed in nova:
importance: Undecided → Low
Brian Waldon (bcwaldon) on 2012-02-02
Changed in nova:
status: New → Triaged
Dean Troyer (dtroyer) on 2012-02-06
Changed in nova:
assignee: nobody → Dean Troyer (dtroyer)

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

Changed in nova:
status: Triaged → In Progress

Reviewed: https://review.openstack.org/3813
Committed: http://github.com/openstack/python-novaclient/commit/7601bef9ef70ce69f544e0ffda904a04552bc38c
Submitter: Jenkins
Branch: master

commit 7601bef9ef70ce69f544e0ffda904a04552bc38c
Author: Dean Troyer <email address hidden>
Date: Mon Feb 6 11:28:46 2012 -0600

    Fixes bug 925644: move dotfiles into dir

    Moves ~/.novaclient_cached_*_uuids into ~/.novaclient/*-uuid-cache

    Change-Id: I7dcd3678118f6c59ce81f83862c20da94d90bb74

Changed in nova:
status: In Progress → Fix Committed
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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers