Nullable image description crashes v2 client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Critical
|
Flavio Percoco | ||
Kilo |
Fix Released
|
Critical
|
Flavio Percoco | ||
glance (Ubuntu) |
Fix Released
|
Critical
|
Jorge Niedbalski |
Bug Description
When you somehow set the image description to None the glanceclient v2 image-list crashes (as well as image-show, image-update for this particular image). The only way to show all images now is to use client v1, because it's more stable in this case.
Steps to reproduce:
1. Open Horizon and go to the edit page of any image.
2. Set description to anything eg. "123" and save.
3. Open image edit page again, remove description and save it.
4. List all images using glanceclient v2: "glance --os-image-
5. Be sad, because of raised exception:
None is not of type u'string'
Failed validating u'type' in schema[
{u'type': u'string'}
On instance[
None
During investigating the issue I've found that the additionalPrope
Changed in python-glanceclient: | |
assignee: | nobody → Kamil Rykowski (kamil-rykowski) |
Changed in glance: | |
status: | New → In Progress |
assignee: | nobody → Kamil Rykowski (kamil-rykowski) |
description: | updated |
tags: | added: kilo-backport-potential |
tags: | added: ops |
Changed in python-glanceclient: | |
importance: | Undecided → High |
Changed in glance: | |
importance: | Undecided → Critical |
no longer affects: | python-glanceclient |
Changed in glance: | |
assignee: | Kamil Rykowski (kamil-rykowski) → Flavio Percoco (flaper87) |
milestone: | none → liberty-1 |
Changed in glance (Ubuntu): | |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
Changed in cloud-archive: | |
status: | New → Confirmed |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance (Ubuntu): | |
status: | Confirmed → Fix Released |
no longer affects: | cloud-archive |
Changed in glance (Ubuntu): | |
importance: | Undecided → Critical |
Changed in glance: | |
milestone: | liberty-1 → 11.0.0 |
Fix proposed to branch: master /review. openstack. org/165066
Review: https:/