listing with --human-readable can stack trace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
Medium
|
Stuart McLaren | ||
Liberty |
Fix Committed
|
Medium
|
Stuart McLaren |
Bug Description
If an image is created using the v2 cli targeted at a kilo server:
$ glance --os-image-
+-----
| Property | Value |
+-----
| checksum | None |
| container_format | bare |
| created_at | 2015-09-
| disk_format | raw |
| id | 898cb887-
| min_disk | 0 |
| min_ram | 0 |
| name | None |
| owner | 0d1e2841f77e493
| protected | False |
| size | None |
| status | queued |
| tags | [] |
| updated_at | 2015-09-
| virtual_size | None |
| visibility | private |
+-----
listing with human readable produces the following error
$ glance --os-image-
float argument required, not NoneType
$ glance --debug --os-image-
curl -g -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-
HTTP/1.1 200 OK
date: Mon, 14 Sep 2015 17:14:33 GMT
connection: keep-alive
content-type: application/json; charset=UTF-8
content-length: 897
x-openstack-
{"images": [{"status": "queued", "deleted_at": null, "name": null, "deleted": false, "container_format": "bare", "created_at": "2015-09-
Traceback (most recent call last):
File "/mnt/sam/
args.
File "/mnt/sam/
utils.
File "/mnt/sam/
for o in objs:
File "/mnt/sam/
images = (convert_
File "/mnt/sam/
image.size = utils.make_
File "/mnt/sam/
padded = '%.1f' % size
TypeError: float argument required, not NoneType
float argument required, not NoneType
Changed in python-glanceclient: | |
assignee: | nobody → Stuart McLaren (stuart-mclaren) |
Changed in python-glanceclient: | |
milestone: | none → 1.2.0 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/223231
Review: https:/