destroy-environment can take forever when it can't connect

Bug #1365604 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Won't Fix
Medium
Unassigned

Bug Description

$ juju --show-log destroy-environment test-final-release-canonistack
2014-09-04 16:55:40 INFO juju.cmd supercommand.go:37 running juju [1.20.6-trusty-amd64 gc]
2014-09-04 16:55:40 INFO juju.provider.openstack provider.go:204 opening environment "test-final-release-canonistack"
WARNING! this command will destroy the "test-final-release-canonistack" environment (type: openstack)
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://10.55.32.8:17070/environment/b4013ca6-a6cb-4e9f-80f6-a65f3fdabff2/api"
2014-09-04 16:55:44 INFO juju.provider.openstack provider.go:204 opening environment "test-final-release-canonistack"
2014-09-04 16:55:46 INFO juju.state.api apiclient.go:242 dialing "wss://10.55.32.8:17070/"
2014-09-04 16:57:49 INFO juju.state.api apiclient.go:242 dialing "wss://10.55.32.8:17070/environment/b4013ca6-a6cb-4e9f-80f6-a65f3fdabff2/api"
2014-09-04 16:57:54 INFO juju.state.api apiclient.go:242 dialing "wss://10.55.32.8:17070/"
2014-09-04 16:59:56 INFO juju.state.api apiclient.go:242 dialing "wss://10.55.32.8:17070/environment/b4013ca6-a6cb-4e9f-80f6-a65f3fdabff2/api"
2014-09-04 17:00:01 INFO juju.state.api apiclient.go:242 dialing "wss://10.55.32.8:17070/"
2014-09-04 17:02:04 INFO juju.state.api apiclient.go:242 dialing "wss://10.55.32.8:17070/environment/b4013ca6-a6cb-4e9f-80f6-a65f3fdabff2/api"
2014-09-04 17:02:08 INFO juju.state.api apiclient.go:242 dialing "wss://10.55.32.8:17070/"
2014-09-04 17:04:11 INFO juju.state.api apiclient.go:242 dialing "wss://10.55.32.8:17070/environment/b4013ca6-a6cb-4e9f-80f6-a65f3fdabff2/api"
2014-09-04 17:04:15 INFO juju.state.api apiclient.go:242 dialing "wss://10.55.32.8:17070/"
2014-09-04 17:06:18 INFO juju.state.api apiclient.go:250 error dialing "wss://10.55.32.8:17070/environment/b4013ca6-a6cb-4e9f-80f6-a65f3fdabff2/api": websocket.Dial wss://10.55.32.8:17070/environment/b4013ca6-a6cb-4e9f-80f6-a65f3fdabff2/api: dial tcp 10.55.32.8:17070: connection timed out
2014-09-04 17:06:23 INFO juju.state.api apiclient.go:250 error dialing "wss://10.55.32.8:17070/": websocket.Dial wss://10.55.32.8:17070/: dial tcp 10.55.32.8:17070: connection timed out
2014-09-04 17:06:23 WARNING juju.conn api.go:176 discarding API open error: unable to connect to "wss://10.55.32.8:17070/environment/b4013ca6-a6cb-4e9f-80f6-a65f3fdabff2/api"
2014-09-04 17:06:23 ERROR juju.cmd.juju destroyenvironment.go:119 failed to destroy environment "test-final-release-canonistack"

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://10.55.32.8:17070/

Changed in juju-core:
status: Triaged → Won't Fix
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.