Skip to content

ARO cluster creation fails #109

@plagerweij

Description

@plagerweij

What happened?

The creation of an Azure Red Hat Openshift cluster takes many minutes, around 50 minutes in West Europe with default settings. This causes a timeout after around 40 minutes:

async create failed: failed to create the resource: [{0 creating/updating "Resource: (ResourceId ... / Api Version \"2024-08-12-preview\")": context deadline exceeded  []}]

The provider tries again but is unable to because the initially created Azure resource already exists:

async create failed: failed to create the resource: [{0 A resource with the ID ... already exists - to be managed via Terraform this resource need to be imported into the State. Please see the the resource documentation for "azapi_resource" for more information.  []}]

This last error repeats in an infinite loop and the XR remains unsynced. In the background the Azure resource does get created but is not managed anymore.

Is there a possibility to increase the timeout length?

How can we reproduce it?

Based on this guide.

What environment did it happen in?

Crossplane 1.20.0
Provider AzAPI 1.0.4
Type Microsoft.RedHatOpenShift/openShiftClusters@2024-08-12-preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions