Skip to content

[bug] azhpc-build script fails but resources are created, leading to unintended charges #717

@negin513

Description

@negin513

I recently encountered an issue while using the AZHPC script (azhpc-build) on Azure. When the script fails to execute due to some error (for example provisioning failed due to invalid parameter), it still creates resources like VM scale sets, vnets, and others. As a result, users are charged for these resources, even though the script execution was unsuccessful. When checking the Azure portal, it does not show any virtual machines running, which can lead users to believe that they are not being charged. As a result, users may incur unexpected costs due to this issue, which can be frustrating and negatively impact their experience.

Expected behavior:

The azhpc-build script should delete the resources created when it fails to execute completely to avoid unintentional charges to the user. The AZHPC script should not create and charge for resources when it fails to execute.

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