Read-only parameters exposed in v2 shell for *-create commands

Bug #1350802 reported by Michal Dulko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Undecided
Michal Dulko

Bug Description

In image-create command there are read-only parameters listed in help. It's visible only in v2 shell. For example:

  --created-at <CREATED_AT>
                        Date and time of image registration (READ-ONLY)

  --updated-at <UPDATED_AT>
                        Date and time of the last image modification (READ-
                        ONLY)

I think that read-only parameters should be hidden from user in create and update commands.

Changed in python-glanceclient:
assignee: nobody → Michal Dulko (michal-dulko-f)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-glanceclient (master)

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

Changed in python-glanceclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/110918
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=d0851c32ed7622406e79742d17b25112fd73b432
Submitter: Jenkins
Branch: master

commit d0851c32ed7622406e79742d17b25112fd73b432
Author: Michal Dulko <email address hidden>
Date: Fri Sep 19 11:38:24 2014 +0200

    Remove readonly options from v2 shell commands

    This commit is removing the read-only properties from shell options to
    prevent user from doing invalid requests using the client.

    Change-Id: I17e9578e705bd3cf628fe39630ebecc4ea43e392
    Closes-Bug: 1350802

Changed in python-glanceclient:
status: In Progress → Fix Committed
Louis Taylor (kragniz)
Changed in python-glanceclient:
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.