commit 813cf650c6e25bc59695c5a13fcaa46f76175346
Author: Tom Barron <email address hidden>
Date: Mon Aug 24 13:21:48 2015 -0400
Fix NetApp loop in clone of NFS backed images
If there is a list of locations for glance images and an unsuitable
location is encountered when iterating through the list, current code
breaks out of the loop, failing to find later, valid locations.
Here we fix this issue by ignoring invalid locations and continuing
through the loop rather than breaking out when we find invalid locations.
Closes-bug: 1487074
Change-Id: Id2435ba633629367fa1bd8f339fc283f47eeb012
(cherry picked from commit bb4321c61d40174b7314315568068a213697c370)
Reviewed: https:/ /review. openstack. org/222253 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=813cf650c6e 25bc59695c5a13f caa46f76175346
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 813cf650c6e25bc 59695c5a13fcaa4 6f76175346
Author: Tom Barron <email address hidden>
Date: Mon Aug 24 13:21:48 2015 -0400
Fix NetApp loop in clone of NFS backed images
If there is a list of locations for glance images and an unsuitable
location is encountered when iterating through the list, current code
breaks out of the loop, failing to find later, valid locations.
Here we fix this issue by ignoring invalid locations and continuing
through the loop rather than breaking out when we find invalid locations.
Closes-bug: 1487074
Change-Id: Id2435ba6336293 67fa1bd8f339fc2 83f47eeb012 b7314315568068a 213697c370)
(cherry picked from commit bb4321c61d40174