juju destroy-model should have force option

Bug #1771792 reported by Calvin Hartwell
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Anastasia

Bug Description

Hi all,

I believe that juju destroy-model should have a --force option which forcefully removes a model without attempting to remove the services. According to help, this does not exist.

Imagine your cluster has been destroyed (everything in the model), apart from the controller nodes, so everything in the model no longer exists. If I run juju destroy-model it will attempt to remove these machines and all the services on them but they no longer exist.

So, I need a way to just forcefully remove the model, but not the controller. So I can add a new model and start a new deployment.

I hope this makes sense, feel free to ask questions.

Cheers

tags: added: cpe-onsite
description: updated
Revision history for this message
Anastasia (anastasia-macmood) wrote :

We have discussed a possibility of having a --force option on 'destroy-model' command.

I also believe that it may help resolve situations reported in bug # 1765964

Changed in juju:
status: New → Triaged
importance: Undecided → High
Ian Booth (wallyworld)
tags: added: teardown
Barry Price (barryprice)
tags: added: canonical-is
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Anastasia (anastasia-macmood)
Revision history for this message
Anastasia (anastasia-macmood) wrote :

From Juju 2.6, 'destroy-model' gains a 'force' option as well as 'no-wait' option.

Please read command help carefully and only use 'force' if you are absolutely sure that it is intended.

Changed in juju:
status: In Progress → Fix Committed
milestone: none → 2.6-rc2
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.