Can't cancel juju bootstrap
Bug #1887538 reported by
Kenneth Koski
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.
To post a comment you must log in.
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.