Merge "More specific error messages on building BDM"
This commit is contained in:
@@ -2095,7 +2095,9 @@ class ComputeManager(manager.Manager):
|
|||||||
# Make sure the async call finishes
|
# Make sure the async call finishes
|
||||||
if network_info is not None:
|
if network_info is not None:
|
||||||
network_info.wait(do_raise=False)
|
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
|
# Make sure the async call finishes
|
||||||
if network_info is not None:
|
if network_info is not None:
|
||||||
network_info.wait(do_raise=False)
|
network_info.wait(do_raise=False)
|
||||||
|
Reference in New Issue
Block a user