Extra arguments in image-create

Bug #1496024 reported by Niall Bunting
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Low
Niall Bunting
Liberty
Fix Released
Undecided
Niall Bunting

Bug Description

When you run the help command 'glance help image-create' and 'image-update it shows the args 'self'. However these arguments cannot actually be changed and should be filtered out of the arguments list.

This relates to v2.

Changed in python-glanceclient:
assignee: nobody → Niall Bunting (niall-bunting)
description: updated
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/223675

Changed in python-glanceclient:
status: New → In Progress
Changed in python-glanceclient:
importance: Undecided → Low
Revision history for this message
Erno Kuvaja (jokke) wrote :

As https://bugs.launchpad.net/glance/+bug/1499368 is valid bug based on the fact that our API documentation expects owner being settable, this would be invalid.

Revision history for this message
Niall Bunting (niall-bunting) wrote :

This has been update to reflect owner is meant to exist.

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

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

commit b396e73e73fa1c351d0a8fd106fe4e8d50379658
Author: NiallBunting <email address hidden>
Date: Tue Sep 15 16:17:58 2015 +0000

    Remove self from image-create/image-update

    Self is not meant to exist as it is a READ ONLY property, that is not
    meant to exist as something the user can change.

    Closes-bug: 1496024
    Change-Id: I28fd51a4cbef40fc7c90999fe8121611c7f89f21

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

Reviewed: https://review.openstack.org/290498
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=9070b2c210e4a0a84c911988218640587953af6d
Submitter: Jenkins
Branch: stable/liberty

commit 9070b2c210e4a0a84c911988218640587953af6d
Author: NiallBunting <email address hidden>
Date: Tue Sep 15 16:17:58 2015 +0000

    Remove self from image-create/image-update

    Self is not meant to exist as it is a READ ONLY property, that is not
    meant to exist as something the user can change.

    Backport for liberty.

    Closes-bug: 1496024
    Change-Id: I28fd51a4cbef40fc7c90999fe8121611c7f89f21
    (cherry picked from commit b396e73e73fa1c351d0a8fd106fe4e8d50379658)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-glanceclient 1.1.1

This issue was fixed in the openstack/python-glanceclient 1.1.1 release.

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.