Merge "Add exception logging if flow creation fails"
This commit is contained in:
commit
2c76803a63
@ -84,6 +84,7 @@ class SchedulerManager(manager.Manager):
|
|||||||
snapshot_id,
|
snapshot_id,
|
||||||
image_id)
|
image_id)
|
||||||
except Exception:
|
except Exception:
|
||||||
|
LOG.exception(_("Failed to create scheduler manager volume flow"))
|
||||||
raise exception.CinderException(
|
raise exception.CinderException(
|
||||||
_("Failed to create scheduler manager volume flow"))
|
_("Failed to create scheduler manager volume flow"))
|
||||||
flow_engine.run()
|
flow_engine.run()
|
||||||
|
@ -167,6 +167,7 @@ class API(base.Base):
|
|||||||
check_volume_az_zone,
|
check_volume_az_zone,
|
||||||
create_what)
|
create_what)
|
||||||
except Exception:
|
except Exception:
|
||||||
|
LOG.exception(_("Failed to create api volume flow"))
|
||||||
raise exception.CinderException(
|
raise exception.CinderException(
|
||||||
_("Failed to create api volume flow"))
|
_("Failed to create api volume flow"))
|
||||||
|
|
||||||
|
@ -310,6 +310,7 @@ class VolumeManager(manager.SchedulerDependentManager):
|
|||||||
request_spec=request_spec,
|
request_spec=request_spec,
|
||||||
filter_properties=filter_properties)
|
filter_properties=filter_properties)
|
||||||
except Exception:
|
except Exception:
|
||||||
|
LOG.exception(_("Failed to create manager volume flow"))
|
||||||
raise exception.CinderException(
|
raise exception.CinderException(
|
||||||
_("Failed to create manager volume flow"))
|
_("Failed to create manager volume flow"))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user