Handle failed initialization

Summary

When deploying A first step is to initalize the server If it fails, it goes to a failed state, from which it can be deployed again But in that case, it will skip the initialisation as it would consider the server already deployed

What is the current bug behavior?

Don't reinitalize when failing

What is the expected correct behavior?

To rerun the initalization if the server didn't suceed

Possible fixes

Add failed initialization and initialization state

/cc @project-manager