'Check that the driver is working and can communicate.
Discovers the LUNs on the NetApp server.'

def check_for_setup_error(self):

    if (self.lun_ostype not in self.ALLOWED_LUN_OS_TYPES):
        msg = _('Invalid    value    for    NetApp    configuration    option    netapp_lun_ostype.')
        LOG.error(msg)
        raise exception.NetAppDriverException(msg)
    if (self.host_type not in self.ALLOWED_IGROUP_HOST_TYPES):
        msg = _('Invalid    value    for    NetApp    configuration    option    netapp_host_type.')
        LOG.error(msg)
        raise exception.NetAppDriverException(msg)
    lun_list = self.zapi_client.get_lun_list()
    self._extract_and_populate_luns(lun_list)
    LOG.debug('Success    getting    list    of    LUNs    from    server.')
    self.loopingcalls.start_tasks()
