commit 844b627c38bb810abd3ef0b464577191f193ad7d
Author: Brian Rosmaita <email address hidden>
Date: Wed Jan 9 23:37:29 2019 -0500
Pass image_id to ImageDownloadFailed
When an ImageDownloadFailed exception is created in the
GlanceImageService, it's being passed the context whereas what
makes sense for the error message is the image_id. This patch
makes the change and adds a unit test for a previous fix for Bug #1798147 (which was the real point of this patch).
Change-Id: I6d8dedfd056add3414f8f4bf7f7279eae4763286
Closes-bug: #1811184
(cherry picked from commit 16b4346171d2027bb3c2630d5f28f6f002878870)
Reviewed: https:/ /review. openstack. org/631997 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=844b627c38b b810abd3ef0b464 577191f193ad7d
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 844b627c38bb810 abd3ef0b4645771 91f193ad7d
Author: Brian Rosmaita <email address hidden>
Date: Wed Jan 9 23:37:29 2019 -0500
Pass image_id to ImageDownloadFailed
When an ImageDownloadFailed exception is created in the Service, it's being passed the context whereas what
GlanceImage
makes sense for the error message is the image_id. This patch
makes the change and adds a unit test for a previous fix for
Bug #1798147 (which was the real point of this patch).
Change-Id: I6d8dedfd056add 3414f8f4bf7f727 9eae4763286 bb3c2630d5f28f6 f002878870)
Closes-bug: #1811184
(cherry picked from commit 16b4346171d2027