How to fix image issue in cluster creation in azure cycle cloud

ashwin 0 Reputation points
2025-10-06T12:06:41.6733333+00:00

I am using default Centos 7 (OpenLogic:CentOS-HPC:7.7:latest) on cyclecloud 8.3 and Iam getting this error

File "/opt/cycle_server/system/work/.plugins_expanded/.expanded/cloud-54d0ceff-c3e8-4faa-b79f-c320a30f4a1e/lib/python/azurelib/live_handler.py", line 100, in getPlatformImage
    return self.provider.get_platform_image(platform_image_id.location, platform_image_id.publisher, platform_image_id.offer, platform_image_id.sku, platform_image_id.version)
  File "/opt/cycle_server/system/work/.plugins_expanded/.expanded/cloud-54d0ceff-c3e8-4faa-b79f-c320a30f4a1e/lib/python/azurelib/live_handler.py", line 815, in get_platform_image
    version = images[0].name
  File "/opt/cycle_server/system/work/.plugins_expanded/.expanded/cloud-54d0ceff-c3e8-4faa-b79f-c320a30f4a1e/lib/python/azurelib/live_handler.py", line 815, in get_platform_image
    version = images[0].name
IndexError: index out of range: 0
Azure CycleCloud
Azure CycleCloud
A Microsoft tool for creating, managing, operating, and optimizing high-performance computing (HPC) and big compute clusters in Azure.
{count} votes

1 answer

Sort by: Most helpful
  1. Jilakara Hemalatha 5,970 Reputation points Microsoft External Staff Moderator
    2025-10-06T18:20:41.97+00:00

    Hi ashwin,

    The error you are seeing occurs because CycleCloud cannot find the CentOS 7 image specified during cluster creation. When it tries to look up the image version "latest", no matching image is found. So, you are getting the error IndexError: list index out of range1. Ensure that the CentOS image you are trying to use exists and that the correct details publisher, offer, SKU, and version re specified in your cluster configuration. You can validate this in the Azure portal or via the Azure CLI:

    az vm image list --publisher OpenLogic --offer CentOS-HPC --sku 7.7 --all --query '[].{Version:version}' -o table

    Reference: https://learn.microsoft.com/en-us/azure/cyclecloud/images?view=cyclecloud-8

    1. Some marketplace images require acceptance of marketplace terms before they can be used. For guidance on common marketplace image issues, see

    Reference: https://learn.microsoft.com/en-us/azure/cyclecloud/common-issues/marketplace-images?view=cyclecloud-8&viewFallbackFrom=cyclecloud

    1. If you are using a custom image, ensure it meets CycleCloud requirements. Custom images must be generalized to remove machine-specific information.

    Reference: https://learn.microsoft.com/en-us/azure/cyclecloud/how-to/create-custom-image?view=cyclecloud-8

    4.Confirm that your CycleCloud version supports the image features and custom images. Although version 8.3 supports most features, upgrading to a newer release (e.g., 8.7.2 or later) can resolve marketplace image issues and include additional fixes.

    Reference: https://learn.microsoft.com/en-us/azure/cyclecloud/release-notes/8-7-2?view=cyclecloud-8

    5.Additionally, review CycleCloud server logs for more information on image lookup failures. Logs are usually located under /opt/cycle_server/system/logs/.

    Hope this helps! Please let me know if you have any queries.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.