Deprecate --no-cache in favor of --os-cache

Bug #1087776 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
High
Dan Prince

Bug Description

The existing --no-cache option in python-novaclient is not very user friendly in that its default forces users to use python-keyring to cache auth tokens. Users have expressed the desire to 'opt-in' for this behavior instead of having it automatically on.

Additionally the existing --no-cache option is a bit confusing as well... and might work better if it were named --os-cache for consistency with the other --os (auth related) flags.

Dan Prince (dan-prince)
Changed in python-novaclient:
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → High
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

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

commit e483455a1281412a8b38a483a3f167a2fd27f5d9
Author: Dan Prince <email address hidden>
Date: Fri Dec 7 11:47:49 2012 -0500

    Adds --os-cache to replace old --no-cache.

    Deprecates the old --no-cache option in favor of --os-cache.

    The old CLI args (--no_cache and --no-cache) and ENV option
    (OS_NO_CACHE) are still supported but no longer show up
    in help.

    The new option for --os-cache can also be set via the OS_CACHE ENV
    variable... which now defaults to False. This should be much more user friendly.

    Fixes LP Bug #1087776.

    Change-Id: I3cea089c7e11ce75f22c2d7f3242b02b80441323

Changed in python-novaclient:
status: In Progress → Fix Committed
Changed in python-novaclient:
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.