CLI client doesn't check the options before start uploading the file

Bug #1540872 reported by Alexey Galkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Undecided
gundarapu kalyan reddy

Bug Description

CLI client doesn't check the options before start uploading the file.

Steps to reproduce:

1. Create a new image (glance image-create).
2. Update properties (glance image-update --disk-format qcow2 --container-format bare <UPLOADED_IMAGE_ID>).
3. Upload data in image: (glance image-upload <UPLOADED_IMAGE_ID>).

Excepted result:
 Error message about missing '--file' option.

Actual result:
 Successful upload empty data to image. Set "active" status and have "0" size.

Version:

user@ubuntu:~/devstack$ glance --version
1.2.0

Suresh (suresh-palemoni)
Changed in python-glanceclient:
assignee: nobody → Suresh (suresh-palemoni)
assignee: Suresh (suresh-palemoni) → nobody
Changed in python-glanceclient:
assignee: nobody → gundarapu kalyan reddy (gundarapu-reddy)
status: New → Confirmed
Changed in python-glanceclient:
status: Confirmed → In Progress
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/310168

Revision history for this message
Ian Cordasco (icordasc) wrote :

This was fixed as part of another bug. I don't have the ID available, but it has been fixed and released.

Changed in python-glanceclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-glanceclient (master)

Change abandoned by Ian Cordasco (<email address hidden>) on branch: master
Review: https://review.openstack.org/310168
Reason: This has had -2s for nearly a year.

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.