Destroying models can use juju to consider the controller to already be removed

Bug #1729191 reported by Christopher Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Anastasia

Bug Description

As seen here: http://qa.jujucharms.com/releases/5861/job/deploy-multimodel/attempt/3075

Similar to the bug lp:1721786, it's possible that when destroying models and then attempting to destroy the controller this can fail as juju considers the controller to already be removed:

"Unable to destroy controller through the API: model 4bdbb8af-2a3b-4097-8d2e-106fa502afc2 has been removed (not found)".

This can be seen in this run here: http://qa.jujucharms.com/releases/5861/job/deploy-multimodel/attempt/3075

It appears to be intermittent.

Initial repro steps:

  - Bootstrap
  - Create 3 or so models
  - Deploy something to these models (unsure yet if step is required)
    - Ensure deployed charms are working
  - Destroy each model in turn
  - Attempt to destroy the controller

tags: added: ci
Revision history for this message
Anastasia (anastasia-macmood) wrote :

PR against develop: https://github.com/juju/juju/pull/8006

Although, it is really not simple to repro due to its intermittent nature :(

Hopefully, with CI now closely monitoring it, we'd be in a better position to observe/determine what info we need to eliminate it once and for all...

Changed in juju:
status: New → Triaged
assignee: nobody → Anastasia (anastasia-macmood)
importance: Undecided → Medium
tags: added: intermittent-failure
Revision history for this message
Anastasia (anastasia-macmood) wrote :

The Pr landed but let's monitor CI now that we know we can detect these \o/

Changed in juju:
status: Triaged → Fix Committed
milestone: none → 2.3-beta2
Changed in juju:
status: Fix Committed → Fix Released
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.