Adding IOError in list of catching exceptions in order to
fix behavior when nova-compute wouldn't retry image download
when got "Corrupt image download" error from glanceclient
and had num_retries config option set.
Closes-Bug: #1950657
Change-Id: Iae4fd0579f71d3ba6793dbdb037275352d7e57b0
(cherry picked from commit ce493273b9404530dfa8ecfe3eaa3d6c81a20e39)
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /819179 /opendev. org/openstack/ nova/commit/ b44ec0dc4927046 d15525af78ab9d5 34cea9ce69
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit b44ec0dc4927046 d15525af78ab9d5 34cea9ce69
Author: sdmitriev1 <email address hidden>
Date: Thu Nov 18 22:05:05 2021 -0500
Retry image download if it's corrupted
Adding IOError in list of catching exceptions in order to
fix behavior when nova-compute wouldn't retry image download
when got "Corrupt image download" error from glanceclient
and had num_retries config option set.
Closes-Bug: #1950657 ba6793dbdb03727 5352d7e57b0 0dfa8ecfe3eaa3d 6c81a20e39)
Change-Id: Iae4fd0579f71d3
(cherry picked from commit ce493273b940453