openstack storage backend check removed 77/977/1
authoruser.name <endre.nemeth@nokia.com>
Tue, 11 Jun 2019 13:02:57 +0000 (15:02 +0200)
committeruser.name <endre.nemeth@nokia.com>
Tue, 11 Jun 2019 13:07:39 +0000 (15:07 +0200)
Change-Id: I796bbc8fe67336a5690a711a37c55ba24905003d

userconfighandlers/storagehandler/storagehandler.py

index 0269a0a..8d6ad08 100644 (file)
@@ -51,7 +51,7 @@ class storagehandler(cmuserconfig.CMUserConfigPlugin):
         """TODO: Set these dynamically according to user configuration instead."""
         try:
             self._set_handlers(confman)
-            if (self._backend == 'ceph') and ('ceph' in self._storage_backends):
+            if ('ceph' in self._storage_backends):
                 if self.storage_config_handler.is_ceph_enabled():
                     self.storage_config_handler.set_mons(self._managements)
                     self.storage_config_handler.set_ceph_mons(self._managements)