destroy controller should use api, using store should be a fallback

Bug #1785682 reported by Heather Lanigan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

In juju destroy-controller, we should try to get the environ via API first. If that fails, then try by using the client store. Currently the reverse is done.

A quick switch showed tests failing that shouldn't have:
DestroySuite.TestBlockedDestroy
DestroySuite.TestDestroyControllerAliveModels
DestroySuite.TestDestroyControllerReattempt
DestroySuite.TestDestroyListBlocksError
DestroySuite.TestDestroyReturnsBlocks
...

Suggest that a number of the tests are re-writen to run both ways, with the api environ and with the store.

Changed in juju:
status: New → Triaged
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Undecided → Low
tags: added: expirebugs-bot
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.