destroy-controller warns about security group in a confusing way

Bug #1563614 reported by Richard Harding
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
New
Undecided
Unassigned

Bug Description

When destroying a controller I get the following output

% juju destroy-controller b3aws
WARNING! This command will destroy the "local.b3aws" controller.
This includes all machines, services, data and other resources.

Continue [y/N]? y
Destroying controller "local.b3aws"
WARNING could not delete security group "juju-5c1653bf-4c8b-400a-8852-405a34ff3073-1": There are active instances using security group 'juju-5c1653bf-4c8b-400a-8852-405a34ff3073-1' (InvalidGroup.InUse)
WARNING could not delete security group "juju-5c1653bf-4c8b-400a-8852-405a34ff3073-1": There are active instances using security group 'juju-5c1653bf-4c8b-400a-8852-405a34ff3073-1' (InvalidGroup.InUse)
WARNING could not delete security group "juju-5c1653bf-4c8b-400a-8852-405a34ff3073-1": There are active instances using security group 'juju-5c1653bf-4c8b-400a-8852-405a34ff3073-1' (InvalidGroup.InUse)
........

This warning isn't helpful and the user can't act upon it. It's working according to plan and the output should be more clear. I'd suggest:

% juju destroy-controller b3aws
WARNING! This command will destroy the "local.b3aws" controller.
This includes all machines, services, data and other resources.

Continue [y/N]? y
Destroying controller "local.b3aws"
Cleaning up services and machines.......(and to do a . for each of these warnings as an attempt at a progress-like meter)

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.