Skip to content

Option to retry failed VM instance deployments #5739

Description

@PaulAngus
ISSUE TYPE
  • Feature Idea
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.16+
CONFIGURATION

NA

OS / ENVIRONMENT

NA

SUMMARY

When a user deployment fails, user ends up with an instance with has a status of Error

image

They will usually then report it to the CloudStack administrators.
Often the problem is in the backend/infrastructure. The administrators fix the issue and say 'try now'.

It would be a nice touch to be able to 'retry' the instance deployment, rather than have to start again.

STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

Activity

  1. added this to the 4.17.0.0 milestone on Dec 2, 2021
  2. DaanHoogland commented on Dec 2, 2021

    @DaanHoogland
    Contributor

    If all data from the deployment is still available (and I imagine it is) this should be possible. Not sure if the ui can re-compile the request or if the back-end needs another API for this.

  3. nvazquez commented on Feb 4, 2022

    @nvazquez
    Contributor

    Thanks @PaulAngus great idea!
    @DaanHoogland @PaulAngus IMO it should be back-end handled - once the operation fails, a new work/job must be scheduled after certain configured time with the same parameters as the original job (similar to migration jobs when a host is put into maintenance). Apart from configuring the retry time interval, it could be useful to control the number of retry attempts as well

  4. self-assigned this
    on Feb 10, 2022
  5. modified the milestones: 4.17.0.0, 4.18.0.0 on Mar 21, 2022
  6. modified the milestones: 4.18.0.0, 4.19.0.0 on Jan 12, 2023
  7. removed this from the 4.19.0.0 milestone on Dec 14, 2023
  8. 1 remaining item

  9. modified the milestones: 4.20.0.0, unplanned on Sep 10, 2024
  10. github-actions commented on May 6, 2026

    @github-actions

    This issue is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this.

  11. jmsperu commented on Nov 23, 2026

    @jmsperu
    Collaborator

    @nvazquez @DaanHoogland PR #6062 for this was closed in June 2025 as needing rework. I have a small working prototype of a manual retry for an Instance in Error state (new API, only when nothing was created on storage yet) and would like to pick this issue up. Do you mind if I take it over, and is that direction acceptable before I open a PR? I will post the design and lab results here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions