Merge "More specific error messages on building BDM"

This commit is contained in:
Jenkins
2015-08-13 00:04:46 +00:00
committed by Gerrit Code Review

View File

@@ -2095,7 +2095,9 @@ class ComputeManager(manager.Manager):
# Make sure the async call finishes
if network_info is not None:
network_info.wait(do_raise=False)
except exception.UnexpectedTaskStateError as e:
except (exception.UnexpectedTaskStateError,
exception.VolumeLimitExceeded,
exception.InvalidBDM) as e:
# Make sure the async call finishes
if network_info is not None:
network_info.wait(do_raise=False)