'Check that the driver is working and can communicate.'

def check_for_setup_error(self):

    self.ssc_library.check_api_permissions()
    if (not self._get_flexvol_to_pool_map()):
        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)
    self._add_looping_tasks()
    super(NetAppBlockStorageCmodeLibrary, self).check_for_setup_error()
