Create network spaces on a juju model


I have an OpenStack cluster setup using MaaS and Juju. It was set up without network spaces and hence there is only one network space ‘undefined’. Provisioning and management traffic uses the same network.

$ sudo juju spaces
Space Name Subnets
0 alpha
1 undefined

Is it possible to create network space and add bindings for units once a model has been created?


Yes. If you create the spaces in MAAS, just run juju reload-spaces for each model including the controller.

Then you set model config for default-space, which will use that space as the default binding whenever it is unspecified.