stage call fails with TypeError
Bug #1711090 reported by
Abhishek Kekane
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
Critical
|
Abhishek Kekane |
Bug Description
glance image-stage <image-id> --file <image-file> fails with below error:
TypeError: stage() takes exactly 3 arguments (4 given)
stage() takes exactly 3 arguments (4 given)
The reason is stage() also accepts image_size which is not provided.
Further it raises 'NoneType' object has no attribute 'headers'. The reason is stage() internally calls upload method which returns a response wrapper and in stage call it again tries to add request_id which requires response object instead it has a wrapper which fails to retrieve headers.
Changed in python-glanceclient: | |
assignee: | nobody → Abhishek Kekane (abhishek-kekane) |
Changed in python-glanceclient: | |
importance: | Undecided → Critical |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/494160
Review: https:/