apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
1.98k stars 1.09k forks source link

Option to retry failed VM instance deployments #5739

Open PaulAngus opened 2 years ago

PaulAngus commented 2 years ago
ISSUE TYPE
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
DaanHoogland commented 2 years ago

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 commented 2 years ago

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