Comment 1 for bug 1742615

Revision history for this message
Andrew Wilkins (axwalk) wrote : Re: Unable to add a unit with fresh, attached storage

> juju deploy cs:postgresql --storage=250G
>
> If I need to add a second unit with 'juju add-unit postgresql', there will be no attached storage > and setup will fail; an attempt will be made to replicate the database, and it will fail due to lack of space.

If you deploy with --storage, then every unit added with add-unit will get the same storage. I've just tested this with 2.3 and verified that it works.

It might still be useful to have a --storage flag on add-unit, though, to override whatever was specified to "juju deploy".