How to redeploy a bundle after failure

How can I issue a redeploy command in juju after a bundle failed to deploy and the machines are not starting?

Hi John, assuming you don’t have anything else in the model (highly recommended to dedicate a bundle to a model) the simplest way is to just remove the model.

juju destroy-model <model-name>

This should release/remove any associated machines.

To add to Peter’s answer, you can see all the options for removing things here :wink:

Somewhat related. What about the juju retry-provisioning command? Is it possible to use that to make Juju retry when a machine failed to deploy in MAAS and you have released/fixed it?