Comment 2 for bug 1899392

Revision history for this message
Haw Loeung (hloeung) wrote : Re: [Bug 1899392] Re: Allow way to update application storage (constraint?)

On Tue, Oct 13, 2020 at 02:57:49AM -0000, Ian Booth wrote:
> This is tricky because you could envisage in the general case that not
> all storage backends would allow the allocated size to be changed post
> deploy. And if they did, could that be done in place or would the volume
> need to be stopped and/or detached first etc. I think for now you'd just
> need to spin up a new unit with the desired storage and run a charm
> action to migrate the data across and then remove the original unit.
>

How about we don't change it for units already deployed but rather an
option to change the storage size used for new units? This saves the
need to tear down the entire juju application to redeploy it with a
larger storage volume size.