Can't cancel juju bootstrap

Bug #1887538 reported by Kenneth Koski
This bug report is a duplicate of:  Bug #1840367: Impossible to cancel bootstrap. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
New
Undecided
Unassigned

Bug Description

If I start a Juju bootstrap, then decide to cancel it with Ctrl+C, the bootstrap process doesn't exit. Instead, it displays this message every time I press Ctrol+C:

    09:35:19 INFO cmd bootstrap.go:798 Interrupt signalled: waiting for bootstrap to exit

The bootstrap doesn't actually exit any faster than if I hadn't tried to cancel it. In particular, if the bootstrapping process is hung, I still have to wait the full timeout period before it exits.

Revision history for this message
Tim McNamara (tim-clicks) wrote :

I believe this is by design as disrupting the client immediately could leave dangling resources in the cloud. And without the bootstrap process in place, Juju doesn't have a mechanism to properly clean up.

Revision history for this message
Heather Lanigan (hmlanigan) wrote :

@tim-clicks, however we do clean up cloud instances etc from a failed bootstrap.

This is by design. I find it highly annoying myself. I've found a few bugs already open. Marking some as duplicate. Keeping 1840367 as it mentions fixing the problem.

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.