Comment 11 for bug 1768308

Revision history for this message
Sandor Zeestraten (szeestraten) wrote :

Just wanted to confirm Peter's point that `juju bootstrap --constraints` only seems to affect the 'controller' and 'default' model. Those constraints were not applied to any other models I created.

Steps on LXD cloud:
* juju bootstrap lxd --constraints mem=768M
* juju deploy ubuntu
* juju add-model test
* juju deploy ubuntu
* lxc config get <instance-id-juju-controller> limits.memory
* lxc config get <instance-id-default-model-ubuntu> limits.memory
* lxc config get <instance-id-test-model-ubuntu> limits.memory # missing memory limit constraint