コード例 #1
0
ファイル: block_cmode.py プロジェクト: bopopescu/stack
 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
ファイル: block_cmode.py プロジェクト: skw0rm/cinder
 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
ファイル: nfs_cmode.py プロジェクト: whitepages/cinder
 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
ファイル: block_cmode.py プロジェクト: sasimpson/cinder
 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()