Comment 2 for bug 1855181

Revision history for this message
Dmitrii Shcherbakov (dmitriis) wrote :

Hi Thomas,

Thank you for looking into it.

Is there any way to specify multiple storage constraints, e.g. via multiple --storage arguments, at all?

This logic seems a bit different to how network spaces are handled.

For example, network spaces are possible to specify via --constraints [0][1], but there is also the --bind syntax [2] for them which allows space-separated endpoint bindings:

juju deploy --bind "default-space db=db-space db-admin=admin-space" mysql

Since applications may have storage endpoints it seems worthwhile to support something like this for storage.

It seems like a bigger chunk of work than just error handling so I can create a separate bug or discourse topic if needed.

[0] https://jaas.ai/docs/constraints#heading--setting-constraints-for-the-initial-controller-and-default-models
[1] https://jaas.ai/docs/constraints-reference
[2] https://jaas.ai/docs/deploying-advanced-applications#heading--deploying-to-network-spaces