It'd be helpful to log the volume/instance/mount/host
information in attach_volume before calling the volume
driver to do the attachment to know we have the right
values.
Change-Id: I8e1111e900032d19d5c46bad266b79b050b40851
Related-Bug: #
1205344
# and the volume status updated.
utils.require_driver_initialized(self.driver)
+ LOG.debug('Attaching volume %(volume_id)s to instance '
+ '%(instance)s at mountpoint %(mount)s on host '
+ '%(host)s.',
+ {'volume_id': volume_id, 'instance': instance_uuid,
+ 'mount': mountpoint, 'host': host_name_sanitized},
+ resource=volume)
self.driver.attach_volume(context,
volume,
instance_uuid,