Comment 6 for bug 1671733

Revision history for this message
Felipe Reyes (freyes) wrote : Re: [Bug 1671733] Re: harvest mode setting not honoured by destroy-model

On Mon, Mar 13, 2017 at 10:00:45PM -0000, Anastasia wrote:
> I am removing this from "juju-core" as we do not track Juju 2.x bugs
> there. Also, this is not a bug but is an intended behavior. So, I am
> marking this as Invalid for "juju" in agreement with comment # 1.

From the docs[0]:

"""
Juju can be in one of several harvesting modes, in order of most
conservative to most aggressive:

* none: Machines will never be harvested. This is a good choice if
  machines are managed via a process outside of Juju.
...
"""

I understand from this that if it's set to 'none', then it's up to the
user to release the resources, probably (haven't checked) the only thing
that juju should do is remove itself from the machine (uninstall the
agent, remove /var/lib/juju)

[0] https://jujucharms.com/docs/stable/models-config#juju-lifecycle-and-harvesting