Merge "Increase logging for driver initialization"
This commit is contained in:
commit
a36ff17041
@ -244,6 +244,10 @@ class ShareManager(manager.SchedulerDependentManager):
|
|||||||
"""Initialization for a standalone service."""
|
"""Initialization for a standalone service."""
|
||||||
|
|
||||||
ctxt = context.get_admin_context()
|
ctxt = context.get_admin_context()
|
||||||
|
LOG.debug("Start initialization of driver: '%(driver)s"
|
||||||
|
"@%(host)s'",
|
||||||
|
{"driver": self.driver.__class__.__name__,
|
||||||
|
"host": self.host})
|
||||||
try:
|
try:
|
||||||
self.driver.do_setup(ctxt)
|
self.driver.do_setup(ctxt)
|
||||||
self.driver.check_for_setup_error()
|
self.driver.check_for_setup_error()
|
||||||
@ -320,6 +324,10 @@ class ShareManager(manager.SchedulerDependentManager):
|
|||||||
)
|
)
|
||||||
|
|
||||||
self.publish_service_capabilities(ctxt)
|
self.publish_service_capabilities(ctxt)
|
||||||
|
LOG.info(_LI("Finished initialization of driver: '%(driver)s"
|
||||||
|
"@%(host)s'"),
|
||||||
|
{"driver": self.driver.__class__.__name__,
|
||||||
|
"host": self.host})
|
||||||
|
|
||||||
def _provide_share_server_for_share(self, context, share_network_id,
|
def _provide_share_server_for_share(self, context, share_network_id,
|
||||||
share_instance, snapshot=None,
|
share_instance, snapshot=None,
|
||||||
|
Loading…
Reference in New Issue
Block a user