You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Option to retry failed VM instance deployments #5739
When a user deployment fails, user ends up with an instance with has a status of Error
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.
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.
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
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.
@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.
Activity
DaanHoogland commentedon Dec 2, 2021
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.
nvazquez commentedon Feb 4, 2022
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
1 remaining item
github-actions commentedon May 6, 2026
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.
jmsperu commentedon Nov 23, 2026
@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.