let's not use the deprecated argument

Bug #1462389 reported by Dave Chen on 2015-06-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Dave Chen

Bug Description

commandline for the user show us the optional argument is '--project', acutally, '--project' is deprected in the keystoneclient.
It's better to show the latest argument instead of deprectaed argument.

Dave Chen (wei-d-chen) on 2015-06-05
Changed in python-openstackclient:
assignee: nobody → Dave Chen (wei-d-chen)
Dave Chen (wei-d-chen) wrote :

This can only happen when I tried to set some user information.
> openstack user set bc023e507f3d46cda402511f6ef34876 --project 658bbe3777ec458b94eb0e697bf1e794WARNING: keystoneclient.v3.users The project argument is deprecated, use default_project instead.

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

Changed in python-openstackclient:
status: New → In Progress

Reviewed: https://review.openstack.org/188804
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=7cf779004e5e9eab9abee8d8a5bc2db3dfa8bd5d
Submitter: Jenkins
Branch: master

commit 7cf779004e5e9eab9abee8d8a5bc2db3dfa8bd5d
Author: Dave Chen <email address hidden>
Date: Fri Jun 5 22:43:08 2015 +0800

    Not use the deprecated argument

    `project` argument is deprecated in keystoneclient for V3 API,
    and use `default_project` instead, should use `default_project`
    as the argument name in the openstackclient accordingly.

    Change-Id: Ib9d70801c933a184afcdab75204393efa764fa87
    Closes-Bug: #1462389

Changed in python-openstackclient:
status: In Progress → Fix Committed
Changed in python-openstackclient:
milestone: none → 1.4.0
status: Fix Committed → Fix Released
Changed in python-openstackclient:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers