Add node to existing landscape openstack
Update March 7, 2017
Landscape now supports adding a storage/compute node to a running cloud. You can do this through the UI after your cloud is deployed on the Openstack Dashboard.
If you want to know what happens under the covers
Juju underneath supports expanding capacity of services and the nova compute charm also supports expanding capacity, that said, you could run into issues doing this, and it's entirely unsupported, dirty, messy and all that. I would not recommend trying it if you are using the deployed cloud for anything live.
Similar to this question, you need to get access to the underlying openstack juju environment first. After you do that:
# check that everything looks right, you should see a lot of openstack
# services displayed to your screen.
juju status
# Expand compute capacity onto a named node
juju add-unit --to <name-in-maas>.<domain-in-maas> nova-compute
# Or Expand capacity to any free node in maas (note this will not
# check that capacity exists before running, you need to do that
# first)
juju add-unit nova-compute
When the autopilot supports doing this, things will be done in a different way as there are considerations I'm not going into (how to expand storage, how to expand admin services, how to monitor things, etc), but you going in and modifying the environment yourself is of course always an option. It's your hardware, afterall.
BTW, I would recommend reading more on Juju and the way it models services. This will be a good starting point:
- https://jujucharms.com/docs/stable/charms