I wish to try MaaS, and there's only two machine, could I install one with MaaS service, and use MaaS and juju to deploy the other bare machine with openstack nova-compute?
Thank you so much for answering.
The reason for this is that OpenStack is not really meant for a 2 node cluster. It is meant to scale to thousands of nodes. It has many disconnected components, including mysql, rabbitmq, several API services, etc. For your case of "just trying openstack out" you can simply use the local provider to install everything on one box rather than MaaS which wants to put every component of OpenStack on its own machine (and there are about 9 components, plus 1 for juju/maas).
Have a look at this page to help configure the local provider:
And then follow these instructions:
Except instead of setting up MaaS, and generating/downloading the environments.yaml from MaaS, you just put this in:
All of the services will end up in their own containers on the same box, which will have some limitations (like nova volumes not working right).
You can use community contributed charms where each service like MySQL or RabbitMQ requires dedicated node or write yours where you can combine them.
You can utilize RAID when deploying node into MaaS.
MaaS doesn't provide built in reservation or High Availability for deployed services. If you are talking about OpenStack, the answer is yes: nova-compute can relaunch instances from failed nodes. Best practices for Swift requires 3 copy of your data, so 2 failed nodes is not a problem.
No, this is not required. Probably, you've mentioned this statement from Mark's blog: "Add another node to the Hadoop cluster, and make sure it has at least 16GB RAM”.