Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

canonical/maas-charms-legacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAAS (Metal as a Service) Charms

Juju charms that allow deploying both the MAAS region controller and MAAS rack controller.

The MAAS region controller is the main communication point for MAAS. Users and tools communicate over the API and UI frontend to control machines and devices. The following services are installed and setup with the maas-region charm:

  • bind9
  • maas-proxy
  • maas-regiond
  • ntp

The MAAS rack controller is where BMC's for machines are controller where the machines PXE boot, download images, and contact for DHCP. The following services are installed and setup with the maas-rack charm:

  • bind9 (proxy to region's)
  • maas-dhcpd
  • maas-dhcpd6
  • maas-http (proxy to region's)
  • maas-proxy (proxy to region's)
  • maas-rackd
  • ntp

For more information see MAAS.

Building

Install the pre-requisites.

sudo apt install make
make install-dependencies

Check out the repository and simply run make.

git clone https://github.com/maas/maas-charms
cd maas-charms
make

Deployment

Only external requirement for running MAAS is a PostgreSQL database.

juju deploy postgresql
juju deploy ./builds/maas-region
juju deploy ./builds/maas-rack
juju add-relation maas-region postgesql:db
juju add-relation maas-region maas-rack

A simple bundle is provided in this repository to quickly get a MAAS deployed with 2 units each.

juju deploy ./bundle.yaml

Scale out Usage

MAAS internally handles the HA configuration and strategy so its as simple as scaling out the regions and racks.

juju add-unit maas-region -n 1
juju add-unit maas-rack -n 1

Known Limitations and Issues

Not production ready

Configuration

TODO

About

Juju charms for deploying a Highly Available MAAS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published