From 1314ee08a68e929d87ab5fdbf4cb8c4882bd5bb0 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Sun, 18 Dec 2011 19:26:37 -0800 Subject: create_export and ensure_export should pass up the return value, to update the database Change-Id: I7ddc662dd31266d3724c76f65008071b3006215a --- nova/volume/san.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nova/volume/san.py b/nova/volume/san.py index 490605976..d8c997260 100644 --- a/nova/volume/san.py +++ b/nova/volume/san.py @@ -264,10 +264,10 @@ class SolarisISCSIDriver(SanISCSIDriver): # It then runs ~5 SSH commands for each volume, # most of which fetch the same info each time # This makes initial start stupid-slow - self._do_export(volume, force_create=False) + return self._do_export(volume, force_create=False) def create_export(self, context, volume): - self._do_export(volume, force_create=True) + return self._do_export(volume, force_create=True) def _do_export(self, volume, force_create): # Create a Logical Unit (LU) backed by the zfs volume -- cgit