예제 #1
0
 def check_for_setup_error(self):
     """Check that the driver is working and can communicate."""
     ssc_cmode.check_ssc_api_permissions(self.zapi_client)
     ssc_cmode.refresh_cluster_ssc(self, self.zapi_client.get_connection(),
                                   self.vserver, synchronous=True)
     if not self._get_filtered_pools():
         msg = _('No pools are available for provisioning volumes. '
                 'Ensure that the configuration option '
                 'netapp_pool_name_search_pattern is set correctly.')
         raise exception.NetAppDriverException(msg)
     super(NetAppBlockStorageCmodeLibrary, self).check_for_setup_error()
     self._start_periodic_tasks()
예제 #2
0
 def check_for_setup_error(self):
     """Check that the driver is working and can communicate."""
     ssc_cmode.check_ssc_api_permissions(self.zapi_client)
     ssc_cmode.refresh_cluster_ssc(self, self.zapi_client.get_connection(),
                                   self.vserver, synchronous=True)
     if not self._get_filtered_pools():
         msg = _('No pools are available for provisioning volumes. '
                 'Ensure that the configuration option '
                 'netapp_pool_name_search_pattern is set correctly.')
         raise exception.NetAppDriverException(msg)
     super(NetAppBlockStorageCmodeLibrary, self).check_for_setup_error()
     self._start_periodic_tasks()
예제 #3
0
 def check_for_setup_error(self):
     """Check that the driver is working and can communicate."""
     super(NetAppCmodeNfsDriver, self).check_for_setup_error()
     ssc_cmode.check_ssc_api_permissions(self.zapi_client)
     self._start_periodic_tasks()
예제 #4
0
 def check_for_setup_error(self):
     """Check that the driver is working and can communicate."""
     ssc_cmode.check_ssc_api_permissions(self.zapi_client)
     super(NetAppBlockStorageCmodeLibrary, self).check_for_setup_error()
예제 #5
0
 def check_for_setup_error(self):
     """Check that the driver is working and can communicate."""
     ssc_cmode.check_ssc_api_permissions(self.zapi_client)
     super(NetAppBlockStorageCmodeLibrary, self).check_for_setup_error()