destroy-environment can take forever when it can't connect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
$ juju --show-log destroy-environment test-final-
2014-09-04 16:55:40 INFO juju.cmd supercommand.go:37 running juju [1.20.6-
2014-09-04 16:55:40 INFO juju.provider.
WARNING! this command will destroy the "test-final-
This includes all machines, services, data and other resources.
Continue [y/N]? y
2014-09-04 16:55:42 INFO juju.conn api.go:270 connecting to API addresses: [10.55.32.8:17070]
2014-09-04 16:55:42 INFO juju.state.api apiclient.go:242 dialing "wss://
2014-09-04 16:55:44 INFO juju.provider.
2014-09-04 16:55:46 INFO juju.state.api apiclient.go:242 dialing "wss://
2014-09-04 16:57:49 INFO juju.state.api apiclient.go:242 dialing "wss://
2014-09-04 16:57:54 INFO juju.state.api apiclient.go:242 dialing "wss://
2014-09-04 16:59:56 INFO juju.state.api apiclient.go:242 dialing "wss://
2014-09-04 17:00:01 INFO juju.state.api apiclient.go:242 dialing "wss://
2014-09-04 17:02:04 INFO juju.state.api apiclient.go:242 dialing "wss://
2014-09-04 17:02:08 INFO juju.state.api apiclient.go:242 dialing "wss://
2014-09-04 17:04:11 INFO juju.state.api apiclient.go:242 dialing "wss://
2014-09-04 17:04:15 INFO juju.state.api apiclient.go:242 dialing "wss://
2014-09-04 17:06:18 INFO juju.state.api apiclient.go:250 error dialing "wss://
2014-09-04 17:06:23 INFO juju.state.api apiclient.go:250 error dialing "wss://
2014-09-04 17:06:23 WARNING juju.conn api.go:176 discarding API open error: unable to connect to "wss://
2014-09-04 17:06:23 ERROR juju.cmd.juju destroyenvironm
If the environment is unusable, then you may run
juju destroy-environment --force
to forcefully destroy the environment. Upon doing so, review
your environment provider console for any resources that need
to be cleaned up.
2014-09-04 17:06:23 ERROR juju.cmd supercommand.go:323 cannot connect to API: unable to connect to "wss://
Changed in juju-core: | |
status: | Triaged → Won't Fix |