commit c077858dd6e0cd827af2418e1a05ca1f27937764
Author: Long Quan Sha <email address hidden>
Date: Wed Jul 8 09:29:53 2015 +0800
Fix the download error when the image locations are blank
When the image locations are blank, glance client will get a http response
with no content, glance client should show user no data could be found,
instead of processing the blank response body that will lead to exception.
Glance client will also get a 204 response when an image is in a queued
state (this is true for 'master' and liberty/kilo/juno based servers).
Closes-Bug: #1472449
Co-Authored-by: Stuart McLaren <email address hidden>
Change-Id: I5d3d02d6aa7c8dd054cd2933e15b4a26e91afea1
(cherry picked from commit 44d0b02c67ce7926f40377d9367a0f61124ed26d)
Reviewed: https:/ /review. openstack. org/290499 /git.openstack. org/cgit/ openstack/ python- glanceclient/ commit/ ?id=c077858dd6e 0cd827af2418e1a 05ca1f27937764
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit c077858dd6e0cd8 27af2418e1a05ca 1f27937764
Author: Long Quan Sha <email address hidden>
Date: Wed Jul 8 09:29:53 2015 +0800
Fix the download error when the image locations are blank
When the image locations are blank, glance client will get a http response
with no content, glance client should show user no data could be found,
instead of processing the blank response body that will lead to exception.
Glance client will also get a 204 response when an image is in a queued
state (this is true for 'master' and liberty/kilo/juno based servers).
Closes-Bug: #1472449
Co-Authored-by: Stuart McLaren <email address hidden> d054cd2933e15b4 a26e91afea1 6f40377d9367a0f 61124ed26d)
Change-Id: I5d3d02d6aa7c8d
(cherry picked from commit 44d0b02c67ce792