[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 2/5] Do not shut down zFCP storage in Storage.shutdown() (#612626)



Do not call self.zfcp.shutdown() from Storage.shutdown().  If we do
that, zfcp luns are unnecessarily removed right being brought back
online.
---
 storage/__init__.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index d317169..464eebf 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -342,8 +342,6 @@ class Storage(object):
         except Exception as e:
             log.error("failure tearing down device tree: %s" % e)
 
-        self.zfcp.shutdown()
-
         # TODO: iscsi.shutdown()
 
     def reset(self):
-- 
1.7.3.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]