Allow way to update application storage (constraint?)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Wishlist
|
Unassigned | ||
2.9 |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
When deploying an application, with say the following defined storage parameters:
$ juju export-bundle
| applications:
| ubuntu-
| storage:
| ubuntu-
Storage volumes are created as follows:
| $ juju list-storage
| Unit Storage id Type Pool Size Status Message
| ubuntu-
| ubuntu-
Unfortunately, there doesn't appear to be a way to change this. Not for existing units nor for new units. In my case, I want to increase this to 256GiB. I understand that you can only increase this via the UI/API for existing units when they are not running/started.
description: | updated |
description: | updated |
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.