Skip to content

Cluster provision failed with IndexError: list index out of range #654

@dkropachev

Description

@dkropachev

Cluster provision failed:

-------------------------------- live log call ---------------------------------
2025-04-21 12:11:40 ERROR    [ERROR] ERROR:root:could not download relocatable, ex=HTTPError('404 Client Error: Not Found for url: https://s3.amazonaws.com/downloads.scylladb.com/unstable/scylla/master/relocatable/latest/00-Build.txt')
Traceback (most recent call last):
  File "/extra/scylladb/scylla-ccm/ccmlib/scylla_repository.py", line 289, in setup
    build_manifest = read_build_manifest(s3_url)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/extra/scylladb/scylla-ccm/ccmlib/scylla_repository.py", line 192, in read_build_manifest
    res.raise_for_status()
  File "/extra/scylladb/scylla-ccm/.venv/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://s3.amazonaws.com/downloads.scylladb.com/unstable/scylla/master/relocatable/latest/00-Build.txt
Traceback (most recent call last):
  File "/extra/scylladb/scylla-ccm/ccmlib/scylla_repository.py", line 289, in setup
    build_manifest = read_build_manifest(s3_url)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/extra/scylladb/scylla-ccm/ccmlib/scylla_repository.py", line 192, in read_build_manifest
    res.raise_for_status()
  File "/extra/scylladb/scylla-ccm/.venv/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://s3.amazonaws.com/downloads.scylladb.com/unstable/scylla/master/relocatable/latest/00-Build.txt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/extra/scylladb/scylla-ccm/./ccm", line 72, in <module>
    cmd.validate(parser, options, args)
  File "/extra/scylladb/scylla-ccm/ccmlib/cmds/cluster_cmds.py", line 323, in validate
    Cmd.validate(self, parser, options, args, node_name=True, load_cluster=True, load_node=False)
  File "/extra/scylladb/scylla-ccm/ccmlib/cmds/command.py", line 77, in validate
    self.cluster = self._load_current_cluster()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/extra/scylladb/scylla-ccm/ccmlib/cmds/command.py", line 106, in _load_current_cluster
    return ClusterFactory.load(self.path, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/extra/scylladb/scylla-ccm/ccmlib/cluster_factory.py", line 35, in load
    cluster = ScyllaCluster(path, data['name'], install_dir=install_dir, create_directory=False,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/extra/scylladb/scylla-ccm/ccmlib/scylla_cluster.py", line 53, in __init__
    super(ScyllaCluster, self).__init__(path, name, partitioner,
  File "/extra/scylladb/scylla-ccm/ccmlib/cluster.py", line 72, in __init__
    dir, v = self.load_from_repository(version, verbose)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/extra/scylladb/scylla-ccm/ccmlib/scylla_cluster.py", line 74, in load_from_repository
    install_dir, version = scylla_repository.setup(version, verbose)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/extra/scylladb/scylla-ccm/ccmlib/scylla_repository.py", line 310, in setup
    scylla_java_reloc = list(filter(re.compile(f'{scylla_product}-tools-[0-9].*.noarch.tar.gz').match, aws_files))[0]
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
FAILED                                   

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions