code: def get_all(self):
          
  
          clusters = []
          cluster_files = glob.glob("%s/*.%s" % (self.storage_path, self.file_ending))
          for fname in cluster_files:
              try:
                  name = fname[:-len(self.file_ending)-1]
                  clusters.append(self.get(name))
              except (ImportError, AttributeError) as ex:
                  log.error("Unable to load cluster %s: `%s`", fname, ex)
                  log.error("If cluster %s was created with a previous version of elasticluster, you may need to run `elasticluster migrate %s %s` to update it.", cluster_file, self.storage_path, fname)
          return clusters
docs: Retrieves all clusters from the persistent state.
  
          :return: list of :py:class:`elasticluster.cluster.Cluster`