Describe harvesting strategy rather than using "safe mode" name

Bug #1345553 reported by Mark Shuttleworth
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Katherine Cox-Buday

Bug Description

Rather than "safe" or "unsafe" mode, we are describing auto-harvesting of machines that are unknown or unused. I would suggest we have:

  harvest: none | all

Later, we can turn that to:

  harvest: none | unknown | destroyed | all

The latter being the distinction between machines which are "unknown" (and have commonly been a sign of a database problem rather than a cloud problem - harvesting those has been "juju tore down all the things") and those which are being explicitly released from service.

When we have the code for the latter I would suggest we move the default to being "destroyed", i.e. harvest machines which have been explicitly released by a user through a destroy of a service / environment / unit.

Let's please get at least the first part of this in before we document it as per #1342729

Tags: config docs
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

fwiw, safe mode's current behavior is that of harvest: destroyed

Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1345553] Re: Describe harvesting strategy rather than using "safe mode" name

Ack, thanks, so we should easily get all three options in the first
round (all, destroyed, none).

Mark

Curtis Hovey (sinzui)
tags: added: docs
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.21-alpha1
tags: added: config
Changed in juju-core:
assignee: nobody → Katherine Cox-Buday (cox-katherine-e)
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
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.